>>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".