Post Reply 
REPEAT . . . UNTIL loop problem
01-20-2023, 02:57 AM
Post: #24
RE: REPEAT . . . UNTIL loop problem
(02-16-2021 12:08 PM)Albert Chan Wrote:  I noticed HP Prime allow invisible hard-space characters in code.

Replacing “ UNTIL exit == 1;” with “ UNTIL exit == 1;”, I can cause a syntax error

This might be a good practical joke for messing up other people’s code Big Grin

Pasting this above into a Unicode viewer, I see a U+FEFF just before “UNTIL”. The handling of this code point (U+FEFF) is not affected by the recent change I’ve mentioned (https://www.hpmuseum.org/forum/thread-99...#pid168514 , https://www.hpmuseum.org/forum/thread-80...#pid168515).

For this (U+FEFF), I’m thinking that hidden characters should not be so (so hidden, that is). (U+FEFF’s use as a zero-width non-breaking space is deprecated [U+FEFF is also used as a byte-order mark], so having it visible seems reasonable — and preferable to its current handling.)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
REPEAT . . . UNTIL loop problem - cahlucas - 02-13-2021, 10:50 PM
RE: REPEAT . . . UNTIL loop problem - jte - 01-20-2023 02:57 AM



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