Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
@GET FUNCTION 'M'
Message
From
26/04/2000 10:23:34
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
@GET FUNCTION 'M'
Miscellaneous
Thread ID:
00363563
Message ID:
00363563
Views:
45
Time to dust off the old stuff!!!
FoxPro 2.5 DOS

I have a variable I would like to populate with one of three values

Cont,Undo,Redo

The default is 'Cont'

According to the @ GET help screens, a function clause of M allows a comma delimited list of items. The user can enter the first letter of each item on the list or press spacebar to cycle through. So I tried

cVar = 'Cont'
@ 5,5 GET cVar FUNCTION 'MCont,Redo,Undo'
READ

When the READ is issued, a value of 99/9 shows in the GET field and it is non-responsive to any keyboard input except ESC and ENTER.

I know there are other ways of doing this, but what have I missed in my chosen variation.

Thanks to all
Next
Reply
Map
View

Click here to load this message in the networking platform