Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A Newbie Question, I guess...
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00443741
Message ID:
00443755
Views:
7
Now there's a blast from the past. Note however that this is not the reccomended form of input, but is included for backward compatibility.

>>I am very new at working with VFP and I have a question, which probably stams from the fact that I come from a C and Pascal background. The question is: is there anyway to make a .prg file interactive? Just a simple .PRG file, nothing fancy. What I want to do is, to ask the user to insert a number (just like cin>>variable in C) and store that number in a variable.
>>Thank you.
>
>How about:
>
>ACCEPT "What do you want? " TO cvar
>? cVar
kenweber
GCom2 Solutions
Microsoft Certified Professional

Previous
Reply
Map
View

Click here to load this message in the networking platform