>I want to build a long command line.
>
>This works OK:
>
>TEXT TO dothis
>cmsg = 'A' + 'B'+ 'C'
>ENDTEXT
>
>&dothis
>?cmsg
>
>
>Now trying to build a multi-line command:
>
>
>
>TEXT TO dothis
>cmsg = 'A' + ;
>'B'+ 'C'
>ENDTEXT
>
>&dothis
>?cmsg
>
>
>This gives an error (with or without the semi-colon). Is there a way to build up a command over more than one line?
>Cyril
Don't use macro substitution. Use EXECSCRIPT() instead:
TEXT TO lcDoThis NOSHOW
cmsg = 'A' + 'B'+ 'C'
MessageBox(cmsg)
ENDTEXT
EXECSCRIPT(lcDoThis)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.