Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing a text file from within VFP
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00200878
Message ID:
00201389
Views:
28
Hi Simon,

>>>I use the ??? command.

In that case you must use ??? STRTRAN(cString,"{","{{}"). Otherwise you get a syntax error when VFP encounters a "{" in your string. For VFP this token means that the next paert of th string is a code to interpret, eg:

??? "{9}{9}Hello World{Enter}"

is the same as

??? Chr(9)+Chr(9)+"Hello World"+Chr(13)

Christof
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform