Text to Number

new topic     » topic index » view thread      » older message » newer message

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.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu