Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filling a text variable with lines ending with cr/lf.
Message
From
04/04/2000 01:16:08
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00354764
Message ID:
00354831
Views:
24
>I am creating a text variable and filling it with lines of text for later display in an edit box.
>Here is a quick look at what I am doing. Is this the best way to accomplish what I am
>trying to do?
>
>textvar = "Line one"+chr(13)+chr(10)+
> "Line two"+chr(13)+chr(10)+
> "Line three"+chr(13)+chr(10)
>
>Thanks for any input!
>Joe


Joe,
Only chr(13) would be sufficient.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform