Post Reply 
CAS: overriding HOME variables, bug or feature? (for me, a feature!)
01-20-2023, 03:10 AM (This post was last modified: 01-20-2023 03:16 AM by jte.)
Post: #6
RE: CAS: overriding HOME variables, bug or feature? (for me, a feature!)
(07-11-2021 02:05 PM)Albert Chan Wrote:  
It might be safer to add a character before capitalized name.

We could use hard-space, " ", but that is just asking for trouble ...
On HP Prime emulator, I use "%". (maxima also use %, %i = √-1, %e = 2.718281828...)

I've added a few posts recently regarding the handling of invisible characters by the HP Prime's parser for its built-in language (https://www.hpmuseum.org/forum/thread-99...#pid168514 , https://www.hpmuseum.org/forum/thread-80...#pid168515 , https://www.hpmuseum.org/forum/thread-16...#pid168516).

When I copied and pasted a chunk of the post I'm replying to, the Unicode viewer I used reported a standard space (U+0020) as being what was within the quotes; I'm guessing another code point was intended.

The recent change (that of revision 14638) rules out the use of typical whitespace code points (namely, code points U+00A0, U+1680, U+2000 … U+200A, U+202F, U+205F, and +U3000) from being used in identifiers — just as the standard space (U+0020) itself is. So, yes: “that is just asking for trouble”.

% can still be used as the first letter of an identifier.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: CAS: overriding HOME variables, bug or feature? (for me, a feature!) - jte - 01-20-2023 03:10 AM



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