Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Kickin around memory variables?
Message
From
24/05/2001 12:49:16
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, United States
 
 
To
24/05/2001 11:50:32
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00510941
Message ID:
00511033
Views:
21
Hi Cetin,

>2)Yes you should. If you don't use m. and same name exists in current alias it takes precedence. ie:
>m.employeename = 'me'
>would work while :
>employeename = 'you'
>would fail if current table had a field named employeename.

employeename = 'you' is just fine. EmployName becomes a variable if it wasn't already. It's the only when ambiguity exists, as it does here on the right side of these assignments->
CREATE CURSOR This (You C(15))
INSERT INTO This (You) VALUES ("Charlie")

You = "Cetin"
EmployName = m.You
vs.
EmployName = You
vs.
EmployName = This.You
vs.
EmployName = m.This.You && Assuming a property named You.
Charlie
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform