|
|
Compiling error with max(), min()
#153839
09/13/07 08:10
09/13/07 08:10
|
Joined: Aug 2005
Posts: 1,558 HK
vlau
OP
Serious User
|
OP
Serious User
Joined: Aug 2005
Posts: 1,558
HK
|
I've got the compiling error with the following codes: Code:
// main.c #include <acknex.h> #include <default.c>
var aa; var bb; var cc;
void main() { level_load(""); bb = 10; cc = 20; aa = max(bb,cc); }
Compiling MAIN.c........ Error in 'MAIN' line 14 : 'max' undeclared identifier <aa = max(bb,cc);> Can't compile MAIN.c Startup failure - any key to abort Same with aa = min(bb,cc);
|
|
|
Re: Compiling error with max(), min()
[Re: jcl]
#153841
09/13/07 15:49
09/13/07 15:49
|
Joined: Aug 2005
Posts: 1,558 HK
vlau
OP
Serious User
|
OP
Serious User
Joined: Aug 2005
Posts: 1,558
HK
|
|
|
|
Re: Compiling error with max(), min()
[Re: FBL]
#153843
09/13/07 20:03
09/13/07 20:03
|
Joined: Aug 2005
Posts: 1,558 HK
vlau
OP
Serious User
|
OP
Serious User
Joined: Aug 2005
Posts: 1,558
HK
|
uh not yet I think, cos I can't found any info about maxv and minv from the manual, even the migration page too! 
|
|
|
|