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 - Jonás Perusquía

#166
for a faster test, i disabled explicit variables, but at compiling it says:
Code (glbasic) Select

_______________________________________
*** Configuration: WIN32 ***
precompiling:
GPC - GLBasic Precompiler V.9.829 SN:71fa70a5 - 3D, NET
"Ditrabox.gbas"(8) warning : probably unassigned variable : varnombre$
"Ditrabox.gbas"(19) warning : probably unassigned variable : x$
Wordcount:30 commands
compiling:
C:\Users\JonasPm\AppData\Local\Temp\glbasic\gpc_temp0.cpp: In function `int __GLBASIC__::__MainGameSub_()':
C:\Users\JonasPm\AppData\Local\Temp\glbasic\gpc_temp0.cpp:24: error: no matching function for call to `GETFONTSIZE(int, int)'
C:/Program Files (x86)/GLBasic/Compiler/platform/Include/glb.h:1323: note: candidates are: void __GLBASIC__::GETFONTSIZE(DGInt&, DGInt&)
C:/Program Files (x86)/GLBasic/Compiler/platform/Include/glb.h:1324: note:                 void __GLBASIC__::GETFONTSIZE(DGNat&, DGNat&)
C:\Users\JonasPm\AppData\Local\Temp\glbasic\gpc_temp0.cpp:40: error: no matching function for call to `GETFONTSIZE(int, int)'
C:/Program Files (x86)/GLBasic/Compiler/platform/Include/glb.h:1323: note: candidates are: void __GLBASIC__::GETFONTSIZE(DGInt&, DGInt&)
C:/Program Files (x86)/GLBasic/Compiler/platform/Include/glb.h:1324: note:                 void __GLBASIC__::GETFONTSIZE(DGNat&, DGNat&)
*** FATAL ERROR - Please post this output in the forum
_______________________________________
*** Finished ***
Elapsed: 1.5 sec. Time: 15:45
Build: 0 succeeded.
*** 1 FAILED ***

it does display an error... maybe there´s a problem with the directory where the project is located?
#167
kanonet, yeah that should be the right question :)
#168
Hi people, i would really like to ask:

¿When will be released the new GLBasic version?

hope Kitty Hello see this :D
if someone knows, please tell me :)

thank you!
#169
These are the errors i am getting:

Code (glbasic) Select
precompiling:
GPC - GLBasic Precompiler V.9.829 SN:71fa70a5 - 3D, NET
"Ditrabox.gbas"(9) warning : probably unassigned variable : varnombre$
"Ditrabox.gbas"(20) warning : probably unassigned variable : x$
"Ditrabox.gbas"(9) error : variable is not explicitly defined : varnombre$
#170
I can´t find the errors in my code... can you please help me?

Code (glbasic) Select
// ***** Included Source File *****
GETFONTSIZE 30,30
PRINT 100,200, "Presiona una tecla para comenzar"
KEYWAIT
CLEARSCREEN
GETFONTSIZE 28,28
RGB (255,0,0)
PRINT "Bienvenido aventurero! Dime, ¿Cual es tu nombre?", 100,100
INPUT varnombre$, 100,104
PRINT "Excelente! Bienvenido a PRUEBA " + varnombre$, 100, 108
KEYWAIT
CLEARSCREEN
PRINT "Estas solo en tu casa, ¿Que deseas hacer?", 100, 50
PRINT "a) Comer palomitas", 100, 55
PRINT "b) Bailar", 100, 60
PRINT "c) Salir del juego", 100, 65
a$= "a"
b$= "b"
c$= "c"
INPUT x$, 100, 70
IF x$ = a$ THEN PRINT "*Chomp, chomp, chomp*",100, 79
INPUT x$, 100, 70
IF x$ = b$ THEN PRINT "*zap, zappa, zap*", 100, 85
INPUT x$, 100, 70
IF x$ = c$ THEN CLEARSCREEN
PRINT "Estas a punto de salir de PRUEBA", 100, 100
KEYWAIT
CLEARSCREEN
END