No replies
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// type with some functions
TYPE Dialogos
FUNCTION Iniciar:
// some code...
ENDFUNCTION
// more functions...
ENDTYPE
*** Configuration: WIN32 ***
precompiling:
GPC - GLBasic Precompiler V.14.721
Wordcount:877 commands
compiling:
In file included from C:\Users\FJMONT~1\AppData\Local\Temp\glbasic\gpc_temp0.cpp:1:
C:\Users\FJMONT~1\AppData\Local\Temp\glbasic\gpc_temp.h: In constructor `__GLBASIC__::Dialogos::Dialogos()':
C:\Users\FJMONT~1\AppData\Local\Temp\glbasic\gpc_temp.h:54: error: expected identifier before '{' token
C:\Users\FJMONT~1\AppData\Local\Temp\glbasic\gpc_temp.h:54: error: expected `(' before '{' token
(Many error lines like the last three....)
class Dialogos
{
GLB_DECLARE_TYPE_DEBUGGER;
public:
// some code here ...
Dialogos(): // <--- this is bad
{
GLB_IMPLEMENT_TYPE_DEBUGGER;
}
// more code here...
}
TYPE Dialogos
dummy% // fix glb15 fail
// class with some functions and no variables
FUNCTION Iniciar:
// some code...
ENDFUNCTION
// more functions...
ENDTYPE
class Dialogos
{
GLB_DECLARE_TYPE_DEBUGGER;
public:
Dialogos(): // <-- this is ok now
REGISTER_MEMBER_DEF(dummy,0)
{
GLB_IMPLEMENT_TYPE_DEBUGGER;
}
}
FUNCTION Constructor:
DEBUG "Constructor: " + "\n"
ENDFUNCTION
FUNCTION Destructor:
DIM self.axis[0]
DEBUG "Memory Free: " + "\n"
DEBUG "LEN : " + LEN(self.axis) + "\n"
ENDFUNCTION
int edad;
char nombre[100];
printf("Dime tu nombre:");
scanf("%s", nombre); // <-- no va con &
printf("Dime tu edad:");
scanf("%d", &numero); // <-- si va con &
printf("Hola %s", nombre);
Quote from: spacefractal on 2015-Sep-20It was free??? OMG I cancelled the reserve!!!
As some of your have spotted, im got a free Apple TV Dev Kit and have finally got Greedy Mouse running on it (but is totally unplayable yet, but its launched and do display the graphics correctly).
So glbasic next new platform will been TVos.
Also tvOS xCode project is NOT compatible with iOS, but most of the code base is the same.