Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Integer from Dialog Box

Status
Not open for further replies.

dmelle

Technical User
Jan 26, 2002
14
US
I have recently been trying to teach myself Aspect with great success. However I am currently having a difficult time trying to get an integer value from a dialog box. I.E. I am trying to have a dia log box open with something like an edit box that you can put a number in and use that variable in a later calculation. Right now the only thing that I can get the string translated to is an ASCII value. If anyone can help I would greatly appriciate it....Thanks in advance..
 
You can use the atoi command to convert a string value to an integer value. That should do the trick for you. You could also use the atof command in case the input might be a number which is not an integer.

 
Thanks Knob!!!!!!! Worked perfectly. You are the man!!!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top