Page 1 of 1

PostPosted: Thu Sep 19, 2002 9:44 pm
by design4use
Is there a way to obtain the ASCII integer value of a given character in a string? I haven't found anything in the docs or in the sample code available...Thanks,
d4u

PostPosted: Thu Sep 19, 2002 11:48 pm
by samps
Try this one:


// mainform.oc
// Created for mainForm

handler mainForm.onopen() {
char a;
a="a";
label101.text=(int)a;
}

cheers

Samps