Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memvars not concatenating correctly
Message
 
To
02/09/1998 14:40:06
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00132475
Message ID:
00132495
Views:
16
John,

That was my hunch as well but I guess I don't know quite enough to sort it out yet. In one case, I tried to add a field value to a public memvar where the public memvar is a directory path read from an INI file and the field value is in the current datatable. All that was returned was the public memvar.
I even tried passing both as parameters to a udf which did the concatenation and it still bombed.
Puzzling part is that in debug, all values, except the result, look ok.

--Carl

>Carl ---
>
>Sounds like a scope issue....are there PUBLIC memvars or created in the method and *only* in the method???
>
>
>>I've had cases in a Method where trying to concatenate two character memvars or properties does not work. Instead, I get the value of the first memvar only. The result is the same in the debug watch window when I create a watch from the concatenation expression.
>>
>>Concatenting two literal strings works and concatenating a memvar onto the end of a literal string also works. But concatenating a literal string to a memvar or property does not work.
>>
>>I've only had this problem in Methods - not PRG files.
>>
>>Any advice is appreciated.
>>Carl
Carl Chambers
Cardol Data Systems
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform