Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
@ SAY chr(9)
Message
From
18/01/2010 09:03:49
 
 
To
18/01/2010 08:15:03
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01444479
Message ID:
01444543
Views:
32
>>>>In an old piece of a program certain text is still displayed using @ SAY.
>>>>
>>>>There is a text that contains a tab character. I have seen that it was nicely extended to some spaces, but now it isn't. Instead, it displays a square character.
>>>>
>>>>There must be some SETting that causes this, but I can't find it. Who has a clue?
>>>
>>>you have to use "?" command if you want to see tabs. With @say that's impossible (I know so) .
>>>
>>>
>>>@10,1 say ""
>>>?"fkdfks"+chr(9)+"vkxmvkxcmvkcvmk"
>>>
>>>
>>>that works...
>>
>>It is a message, including tabs, for an error handler I wrote some days ago. When testing it, it displayed well. Yesterday it didn't. I'm inclined to say you're right, but it would also imply that I was seeing wrong that first time.
>
>Was it late Friday night, after a few beers maybe? :-)

Was it friday night? Can't remember anymore. :-)

>A solution is
>#define chr(9) replicate(chr(32),3)
The character was supposed to indent to a certain column. Anyway, I have decided to adjust the message and remove the tabs.
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Previous
Reply
Map
View

Click here to load this message in the networking platform