|
|
Re: Cant compile script01.c ??? HELP
[Re: rekore]
#317935
04/03/10 18:28
04/03/10 18:28
|
Joined: Oct 2007
Posts: 5,209 İstanbul, Turkey
Quad
Senior Expert
|
Senior Expert
Joined: Oct 2007
Posts: 5,209
İstanbul, Turkey
|
it actually works right away. And the online guide is to teach you stuff, so you learn by editing, and following the tutorial. You do not need any more editing than explained in the tutorial.
3333333333
|
|
|
Re: Cant compile script01.c ??? HELP
[Re: rekore]
#317946
04/03/10 19:27
04/03/10 19:27
|
Joined: Oct 2007
Posts: 5,209 İstanbul, Turkey
Quad
Senior Expert
|
Senior Expert
Joined: Oct 2007
Posts: 5,209
İstanbul, Turkey
|
it could be related to your version, since newer versions does not necessarily need includes.
3333333333
|
|
|
Re: Cant compile script01.c ??? HELP
[Re: rekore]
#317955
04/03/10 20:47
04/03/10 20:47
|
Joined: Apr 2010
Posts: 11
rekore
OP
Newbie
|
OP
Newbie
Joined: Apr 2010
Posts: 11
|
Why does it tell me main script not found check preferences and yes i have checked the "use current file as the test run" option. I apologize for being a noob...
//////////////////////////////////////////////////////////////////// #include <acknex.h> #include <default.c> var my_age = 33; var days_a_year = 365; var number_of_days; // we need to calculate this value /////////////////////////////////////////////////////////////////// PANEL* pDisplay = { digits (10, 10, 5, *, 1, number_of_days); flags = SHOW; } /////////////////////////////////////////////////////////////////// function compute_days() { number_of_days = my_age * days_a_year; }
function main() { screen_size.x = 800; screen_size.y = 600; screen_color.blue = 150; compute_days(); }
I'm going to change the topic to "help this poor sad noob get it right"
Last edited by rekore; 04/03/10 20:52.
|
|
|
Re: Cant compile script01.c ??? HELP
[Re: 3run]
#317965
04/03/10 21:57
04/03/10 21:57
|
Joined: Apr 2010
Posts: 11
rekore
OP
Newbie
|
OP
Newbie
Joined: Apr 2010
Posts: 11
|
I've tried the script, there is no problem, works just perfect so my game studio is just sucking... Its acting as if I don't have the "use current file for test run" checked but I do. I don't know.
|
|
|
|