1. use a program code containing e.g. WLOG CHR$(248)
2. Lookup a variable that contains ASCII 248 with the editor's variable watch
Came to this result when my original code used CHR$(248) to show the Celsius symbol behind a temperature value on a MAX7219-matrix. a I just wanted to look at the variable containing this code by WLOG or with the variable watch.
Here my test code that should simply WLOG the time once per second, but produces a connection error of the IDE.
Code: [Local Link Removed for Guests]
' TEST.BAS
'###########################################
While 1
T$ = TIME$
TEXT$ = str$(RND(200)) + chr$(248) + "C"
WLOG "TIME$=",T$
WLOG "TEXT$=", TEXT$
PAUSE 1000
wend
Code: [Local Link Removed for Guests]
28/01/2025 15:53:30 -> Program Running
TIME$= 15:53:30
28/01/2025 15:53:30 => Connection Error
28/01/2025 15:53:30 => Connection OFF
28/01/2025 15:53:34 => Connection ON
TIME$= 15:53:34
28/01/2025 15:53:34 => Connection Error
28/01/2025 15:53:34 => Connection OFF
28/01/2025 15:53:44 => Connection ON
TIME$= 15:53:44
28/01/2025 15:53:44 => Connection Error
28/01/2025 15:53:44 => Connection OFF
28/01/2025 15:53:54 => Connection ON
TIME$= 15:53:54
28/01/2025 15:53:54 => Connection Error
28/01/2025 15:53:54 => Connection OFF
28/01/2025 15:54:04 => Connection ON
TIME$= 15:54:04
28/01/2025 15:54:05 => Connection Error
28/01/2025 15:54:05 => Connection OFF
28/01/2025 15:54:14 => Connection ON
TIME$= 15:54:14
28/01/2025 15:54:14 => Connection Error
28/01/2025 15:54:14 => Connection OFF
28/01/2025 15:54:24 => Connection ON
28/01/2025 15:54:24 -> Program Stopped
Looks like this on my desktop:
This behavior might be unwanted as it produces a problem if you look at or use WLOG with variables containing special white characters.