#PB_Default Constant? [Solved]
Posted: Sun Oct 15, 2023 11:06 am
The help file refers to a #PB_Default constant (eg.DrawingFont())
Every PB code I have ever seen where this constant has been used fails to compile at the line where it is used.
Is this a genuine in-built constant and how can it be used without a compiler error?
My searches have failed to turn up any other references to this constant.Syntax: DrawingFont(FontID)
Description: Sets the font to be used for text rendering on the current output.
Parameters: FontID The font to be used. The FontID can be easily obtained with the FontID() function from the font library.
To restore the default system font, #PB_Default can be used as FontID.
Every PB code I have ever seen where this constant has been used fails to compile at the line where it is used.
Is this a genuine in-built constant and how can it be used without a compiler error?