Search found 4 matches
- Tue Sep 04, 2018 7:11 am
- Forum: Bugs - Documentation
- Topic: Default ExecutableFormat for the Console example file
- Replies: 0
- Views: 1261
Default ExecutableFormat for the Console example file
In the PureBasic - Console example file, the default ExecutableFormat is Linux instead of Console.
- Thu Jan 04, 2018 12:34 pm
- Forum: Coding Questions
- Topic: Define.<type> with no variables specified (PureBasic 5.61)
- Replies: 1
- Views: 1038
Define.<type> with no variables specified (PureBasic 5.61)
Hi there,
i get a Syntax error, PureBasic 5.61 (Linux - x64), if i try to use Define.<type> with no variables specified :
i get a Syntax error, PureBasic 5.61 (Linux - x64), if i try to use Define.<type> with no variables specified :
Code: Select all
Define.w
All work fine with PureBasic 5.45 LTS (Linux - x64)Line 1: Syntax error.
- Mon Jan 23, 2017 12:01 pm
- Forum: Coding Questions
- Topic: LoadFont() never return zero
- Replies: 3
- Views: 1283
Re: LoadFont() never return zero
Thank you.
I get the same thing under Linux (Lubuntu 16.04.1 LTS, 64-bit)
So, LoadFont() and IsFont() never seem to return zero... Why not !?
I'll take a look at RegisterFontFile() to be sure to have the good Font.
I get the same thing under Linux (Lubuntu 16.04.1 LTS, 64-bit)
So, LoadFont() and IsFont() never seem to return zero... Why not !?
I'll take a look at RegisterFontFile() to be sure to have the good Font.
- Mon Jan 23, 2017 9:36 am
- Forum: Coding Questions
- Topic: LoadFont() never return zero
- Replies: 3
- Views: 1283
LoadFont() never return zero
Hi,
If the font was not loaded successfully, LoadFont() returns nonzero instead of zero.
If OpenWindow(0, 0, 0, 270, 160, "Loading font...", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
r = LoadFont(1, "", 24)
Debug r
r = LoadFont(#PB_Any, "", 24)
Debug r
r = LoadFont(1, "anything", 24 ...
If the font was not loaded successfully, LoadFont() returns nonzero instead of zero.
If OpenWindow(0, 0, 0, 270, 160, "Loading font...", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
r = LoadFont(1, "", 24)
Debug r
r = LoadFont(#PB_Any, "", 24)
Debug r
r = LoadFont(1, "anything", 24 ...