HP Forums
FYI on values in strings... - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: FYI on values in strings... (/thread-8994.html)



FYI on values in strings... - webmasterpdx - 09-06-2017 11:34 AM

When you have a string such as s:="ABC"
s(1) returns the ASCII value for the letter A, 65. Likewise, a newline if reading a program for example, will be the NL ascii value of 10.
i.e. The characters use ASCII.


RE: FYI on values in strings... - Tim Wessman - 09-06-2017 02:28 PM

UTF16 actually...

NL for line termination only. No 13 here.