[HP71B] ASCII codes; where it is?
|
07-20-2023, 01:55 PM
(This post was last modified: 07-20-2023 01:56 PM by Martin Hepperle.)
Post: #5
|
|||
|
|||
RE: [HP71B] ASCII codes; where it is?
(07-20-2023 01:30 PM)KeithB Wrote: If you are more familiar with C, CHR$() is really just a cast to make the HP71 think the integer is a character, or like the C idiom '\27'. Just a small clarification: CHR$() is much more than a cast - it is actually a function, which composes and returns a String containing one character. This requires memory and time. So one should not over-use it. A cast in "C" is ... just a cast - the resulting character is encoded by the compiler and directly embedded in the generated code and no time is lost at runtime. Martin |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
[HP71B] ASCII codes; where it is? - floppy - 07-20-2023, 10:11 AM
RE: [HP71B] ASCII codes; where it is? - Maximilian Hohmann - 07-20-2023, 11:14 AM
RE: [HP71B] ASCII codes; where it is? - Sylvain Cote - 07-20-2023, 12:16 PM
RE: [HP71B] ASCII codes; where it is? - KeithB - 07-20-2023, 01:30 PM
RE: [HP71B] ASCII codes; where it is? - Martin Hepperle - 07-20-2023 01:55 PM
|
User(s) browsing this thread: 1 Guest(s)