Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
@GET FUNCTION 'M'
Message
De
26/04/2000 10:23:34
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
@GET FUNCTION 'M'
Divers
Thread ID:
00363563
Message ID:
00363563
Vues:
44
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform