Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple question
Message
 
À
25/07/2006 12:39:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01139788
Message ID:
01139884
Vues:
11
>hi
>a simple one..
>i have al very long instruction line and i get an error cause line i too long, how can i have an instrucion in two lines

Silvano,
I prefer to use:
TEXT TO lcVeeryLongCommandLine NOSHOW PRETEXT (see hgelp for PRETEXT value, it depends of version of VFP)
     Long command
        another long command
     additional long command
     etc
ENDTEXT
IF LEN(lcVeeryLongCommandLine) < 8192
   &lcVeeryLongCommandLine
ELSE
   IF Version(5) > 700
      EXECSCRIPT(lcVeeryLongCommandLine)
   ELSE
      lcFileName = SYS(2015)
      STRTOFILE(lcVeeryLongCommandLine, lcFileName+[.PRG])
      COMPILE (lcFileName+[.Prg])
      DO (lcFileName+[.fxp])
      ERASE (lcFileName+[.*])
   ENDIF
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform