Post Reply 
Null character not correctly managed (bug)
11-19-2017, 06:23 PM (This post was last modified: 11-19-2017 06:28 PM by salvomic.)
Post: #2
RE: Null character not correctly managed (bug)
(11-18-2017 11:36 PM)Dimitri Wrote:  Hello,

The null character in a string is not correctly managed.
...
SIZE("A\0BC"+"D") returns 2. So '+' doesn't managed characters after '\0'.
...

not only: SIZE("A\0BC") returns 4 (A, \0, B, C?)...
And after the Enter it is visualised SIZE("A"). Only if re-edited it contains still ("A\0BC"), as if \0 "would absorb" BC...

EDIT:
SIZE(\04875) returns 5
SIZE(77\04875) returns 7
as \0 computed as 1 char

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Null character not correctly managed (bug) - salvomic - 11-19-2017 06:23 PM



User(s) browsing this thread: 2 Guest(s)