Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - pnunbe

#1
GLBasic - en / Strange error
2013-Mar-06
Hi, when running the attached code, I get the following error:
C:\Users\Paolo\AppData\Local\Temp\glbasic\gpc_temp0.cpp: In function `int __GLBASIC__::__MainGameSub_()':
C:\Users\Paolo\AppData\Local\Temp\glbasic\gpc_temp0.cpp:243: error: a function-definition is not allowed here before '{' token
*** FATAL ERROR - Please post this output in the forum
#2
Hi,
I downloaded DDgui.zip.
The sample executable runs all right, but if I try to compile the GBAS file the FILLRECTsub is not recognized.
What did I miss?
Best regards
#3
Hi,
Is there a GLBasic compatible library of UI controls (radiobuttons, listboxes,...)?
Best regards
#4
 Hi,
I have a program where, before the game loop, there is the following statement:
DIM classe$[2][2]
When I compile the program the following message appears:
----------------------------------------
Random.gbas"(32) error : variable is not explicitly defined : classe$
----------------------------------------
The strangest thing is that in one of the sample programs (The First Game) the same structure does not give rise to any problem.
What did I miss?
Best regards

#6
Hi,
I tried to change font size and color by means of the tool built-in in GLB in a sample game: "The first game" in GLB Help, which contains some print statements.
I added the two statements:
   LOADFONT "largefont.png",2
   SETFONT 2
but nothing changed although the font was much larger and red.
May this be due to the fact that I have the free version of GLB or did I miss some step?