Anyway, marking this as Solved because I think there must be a thread calling the variable before the Global line for it was reached.
[Solved] Global Chr() problem
Re: Global Chr() problem
The Global is outside of any conditional statements. The folding lines drawn are a bug that I've never reported. 
Anyway, marking this as Solved because I think there must be a thread calling the variable before the Global line for it was reached.
Anyway, marking this as Solved because I think there must be a thread calling the variable before the Global line for it was reached.
Re: Global Chr() problem
This is not always true. Particularly if you place a set of instructions inside the folding pair ";{" and ";}".TassyJim wrote: Looking at the image of your source, the 'folding line' beside the line numbers suggest that the Global has been declared within a conditional statement of some sort.
Code: Select all
;{ Procedures
Procedure A()
[...]
EndProcedure
Global Variable
Procedure A()
[...]
EndProcedure
;}
If my English syntax and lexicon are incorrect, please bear with Google translate and DeepL. They rarely agree with each other!
Except on this sentence...
Except on this sentence...
-
DarkDragon
- Addict

- Posts: 2347
- Joined: Mon Jun 02, 2003 9:16 am
- Location: Germany
- Contact:
Re: Global Chr() problem
BarryG wrote: Sat Mar 23, 2024 12:13 am The Global is outside of any conditional statements. The folding lines drawn are a bug that I've never reported.
Anyway, marking this as Solved because I think there must be a thread calling the variable before the Global line for it was reached.
Code: Select all
Debug Len(extdot$)bye,
Daniel
Daniel
Re: [Solved] Global Chr() problem
I have never seen your screenshot, as it is apparently removed. [Edit: they appeared suddenly later
]
My thought:
If the debug uses a different font than your program, then chances are big that the debug font does not have the shape for that character, hence the emptiness.
My thought:
If the debug uses a different font than your program, then chances are big that the debug font does not have the shape for that character, hence the emptiness.
- Windows 11 Home 64-bit
- PureBasic 6.10 LTS (x64)
- 64 Gb RAM
- 13th Gen Intel(R) Core(TM) i9-13900K 3.00 GHz
- 5K monitor with DPI @ 200%
- PureBasic 6.10 LTS (x64)
- 64 Gb RAM
- 13th Gen Intel(R) Core(TM) i9-13900K 3.00 GHz
- 5K monitor with DPI @ 200%
Re: [Solved] Global Chr() problem
I used a MessageRequester too, and I tested with Len() for it. Null and 0 were the results. 
