Text to Number
- Posted by Chris <c319chris at aol.com> Jan 26, 2002
- 436 views
How does one convert a text sequence to a number in Euphoria? In working with EX07.EXW in the Win32 examples, text entered by the user in the dialog box Sle1 is retrieved using the function getText(). I assume this returns a sequence of ASCII characters. If I want to confine the user's input to a numeric range from 0 to n, how do I do this? In BASIC we would use a = VAL(x$). Thank you.