Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple question
Message
 
To
25/07/2006 12:39:11
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01139788
Message ID:
01139884
Views:
9
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform