Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Syntax Conundrum single quotes, double quotes, brackets
Message
From
18/05/2007 11:26:00
 
 
To
18/05/2007 11:12:02
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01226752
Message ID:
01226789
Views:
25
This message has been marked as a message which has helped to the initial question of the thread.
>Works like a charm. Thanks Yuri! :o)

if
>>>lnBytes = thisform.zOcx.Send([! U1 GETVAR "bluetooth.authentication"]+CHR(13)+CHR(10))
and
>>lnBytes = thisform.zOcx.Send("["+alltr(thisform.text1.value)+"]"+CHR(13)+CHR(10))
works, then zOcx must ignore [ and ].

In the first case you used [] as delimiters to be able to have "" within the string. Now you really inclucde the brackets in the string...

So it doesn't seem to matter if you send
! U1 GETVAR "bluetooth.authentication"
or
[! U1 GETVAR "bluetooth.authentication"]
plus a CRLF.
thisform.zOcx.Send(alltr(thisform.text1.value)+CHR(13)+CHR(10))
should work

Bye, Olaf.
Previous
Reply
Map
View

Click here to load this message in the networking platform