ASC only converts the FIRST character (see http://documentation.xojo.com/index.php/Asc) not the entire string. to convert the entire string you need a loop that does each character in it
“numeric string” ? a string that holds numbers ? an example of what you mean would be good
ah … as you wrote bin(val(field))
since what you want is the binary representation of the NUMERIC value 1 not the string that contains the character “1”
[quote=132579:@Richard Summers]So does that mean that this would be correct:
textfield2.text = Bin(Val(textfield1.text))[/quote]
I believe you’d have to convert that to a string value if you’re placing it back in a text field, so: