Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use of reserved words
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00680191
Message ID:
00680236
Views:
23
>Answer me this please. I know it is ill-advised to use reserved words as functions and variables, but what are the consequences of say creating a procedure called 'refresh' or declaring 'isreadonly' as a private variable?

The majority of the problems I've run into are with fields using SQL keywords -- they cause a SQL SELECT statement to fail with syntax errors. For example, one system I worked with had a field called DESC (short for "description"). SELECT DESC FROM TABLE gives an error because DESC is a SQL keyword (short for "descending").

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform