Post Reply 
Gentle Reminder: hpprgm
01-20-2023, 02:39 AM
Post: #25
RE: Gentle Reminder: hpprgm
(04-04-2014 09:24 PM)Kevin Ouellet Wrote:  
Also, another issue is when people upload their code on the forums instead of posting a real hpprgm, in many cases the code will not work if copy/pasted into the connectivity kit (or was it when doing so in the emulator?), thanks to the whitespace glitch.

I’m not entirely sure which shaggy shoal the glitch lies on (i.e., what precisely is meant by “whitespace glitch” here), but I did create a ticket (on the bug tracker I’ve set up) involving the handling of whitespace in the HP Prime’s programming language. That ticket has since been addressed; as of revision 14638, other whitespace characters (namely, code points U+00A0, U+1680, U+2000 … U+200A, U+202F, U+205F, and +U3000) are now handled (by the HP Prime language parser) as space itself (code point U+0020) is.

With this change, the meaning of copied & pasted code through web sites / browsers that end up with spaces (U+0020) being converted into non-breaking spaces (U+00A0) is preserved — at the HP Prime programming language level. (If the code contains string literals with modified contents, how the code behaves is then up to the code itself…)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Gentle Reminder: hpprgm - Tim Wessman - 03-28-2014, 10:17 PM
RE: Gentle Reminder: hpprgm - jebem - 03-31-2014, 09:12 PM
RE: Gentle Reminder: hpprgm - jte - 01-20-2023 02:39 AM
RE: Gentle Reminder: hpprgm - eried - 04-04-2014, 10:18 PM
RE: Gentle Reminder: hpprgm - patrice - 04-04-2014, 10:58 PM
RE: Gentle Reminder: hpprgm - debrouxl - 04-05-2014, 08:14 AM
RE: Gentle Reminder: hpprgm - eried - 04-05-2014, 04:11 PM
RE: Gentle Reminder: hpprgm - debrouxl - 04-05-2014, 04:31 PM
RE: Gentle Reminder: hpprgm - eried - 04-05-2014, 04:45 PM
RE: Gentle Reminder: hpprgm - debrouxl - 04-05-2014, 06:42 PM
RE: Gentle Reminder: hpprgm - Tugdual - 04-05-2014, 08:00 PM
RE: Gentle Reminder: hpprgm - Han - 04-05-2014, 11:47 PM
RE: Gentle Reminder: hpprgm - Tim Wessman - 04-06-2014, 01:58 AM
RE: Gentle Reminder: hpprgm - Marcio - 03-10-2015, 03:21 PM
RE: Gentle Reminder: hpprgm - bobkrohn - 03-12-2015, 12:20 AM
RE: Gentle Reminder: hpprgm - Thomas_Sch - 03-12-2015, 07:28 AM
RE: Gentle Reminder: hpprgm - DrD - 03-12-2015, 10:01 AM
RE: Gentle Reminder: hpprgm - Marcio - 03-12-2015, 10:58 AM
RE: Gentle Reminder: hpprgm - DrD - 03-12-2015, 11:23 AM
RE: Gentle Reminder: hpprgm - Marcio - 03-12-2015, 11:32 AM
RE: Gentle Reminder: hpprgm - Marcio - 03-12-2015, 11:35 AM



User(s) browsing this thread: