07-09-2023, 07:43 AM
(07-09-2023, 04:22 AM)PhilOfPerth Wrote: I'm able to see characters for all the Alt values, but I'm unable to produce the Copyright (and some others). The Alt table says it should be Alt 0169,Hi PhilOfPerth,
but Alt + 0169 only produces the ┌ symbol (or something very similar).
When I enter Alt + 0169 here, on the Forum, I get the © ok. Why not in my program?
If you are running windows test this for good measure:
- Here's how to enter ascii characters in the Windows PC
- Put your keyboard in number pad mode
- Then hold down Alt key and type the ascii code
- Then let go of the Alt Key
- Alt + 169: ⌐
- Alt + 0169: ©
If you are on Linux or Mac OS I am not sure of the implications.
When I try to PRINT CHR$(0169) in the QB64pe IDE it removes the leading zero and prints ⌐
I also saved the code as a .bas file with notepad++; and compiled and run from the command line (without the IDE), it also prints out ⌐ and not ©.
My guess is the ALT codes with leading zeros are not part of the QB64pe compilation options.....but someone with much more knowledge can chime in to confirm or not.
Cheers.