Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Uniqueness of index PRIMARY is violated
Message
From
15/10/1998 17:33:05
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00144393
Message ID:
00147271
Views:
43
>>I have tried to find the VFP reserved/restricted words list in the online help (index) for VFP 6, but I came up dry.
>
>It's easy enough to generate. Simply open an edit window and type in every word. The ones in blue are reserved.
>
>:)

Not that easy - some of the reserved words are just clauses, i.e. reserved words of second kind, function names, things that exist only in scope descriptions, where clauses etc. For one, "window" is not a command, but it's a reserved word. Take a look at this sentence in a .prg editing window:

"wait a moment is this a window or not right on by thisform create otherwise do while".

You'd be surprised to see which words are marked and which are not. Some of them are marked only when they are at the beginning of the line, while others are highlighted everywhere, and some not, and some never. So, the method is not safe... besides, it's just way too manual... did you think of possible ways to automate the process? :))

p.s. Listen very carefully, I will say this only once: sneak into the command window and type "help reserved words".

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform