Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Intellisense Script
Message
From
14/11/2002 16:25:03
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Project manager
Title:
Intellisense Script
Miscellaneous
Thread ID:
00722948
Message ID:
00722948
Views:
49
Hi all,

When using Intellisense, if I try to both add a new Script or run an existing one, I get an "Unrecognized command verb" error message.

I can see that in my Foxcode.dbf table, I have 12 Scripts already defined. For example, I have the 'picture', 'setmenu' and 'onkeymenu' scripts defined (those are their names in the Abbrev column). Well, if I try to type any of those names in the Command Window or in a program file, I get the "Unrecognized command verb" error message.

I also tried adding my own Script (a new one) using the example from the MS help files:


LPARAMETER oFoxcode
LOCAL lcPicture
oFoxcode.valuetype="V"
lcPicture = getpict()
IF LEN(lcPicture) > 0
lcPicture = ['] + lcPicture+ [']
ENDIF
RETURN lcPicture


I called it 'PP' (again, in the Abbrev column) and I can't seem to run it because I am still getting the same error message.

Plus, anytime I type 'USE (_FoxCode) EXCLUSIVE', I get a "File is in use" message and I need to use the 'Cleanup FoxCode' button in the Intellisense manager to be able to browse the table (it's not shown when I use the 'SET' command).

Anyway, my question really is how can I run some scripts using Intellisense? What I was trying to do was to replace 'x++' into 'x=x+1' but with 'x' being any string whatsoever.

Thanks in advance, Stephane.
Next
Reply
Map
View

Click here to load this message in the networking platform