Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by AndrewAMD. 12/05/23 10:56
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
6 registered members (AndrewAMD, alibaba, fairtrader, ozgur, TipmyPip, Quad), 622 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 3 1 2 3
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 Online
Senior Expert
Quad  Online
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: Quad] #317941
04/03/10 18:59
04/03/10 18:59
Joined: Apr 2010
Posts: 11
R
rekore Offline OP
Newbie
rekore  Offline OP
Newbie
R

Joined: Apr 2010
Posts: 11
Thats what I though but then I did what they said and it worked. so you guys are awesome and thank you, by the way I loaded some of the tutorial scripts later on and it had the #include command and they work to.

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 Online
Senior Expert
Quad  Online
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: Quad] #317948
04/03/10 19:32
04/03/10 19:32
Joined: Apr 2010
Posts: 11
R
rekore Offline OP
Newbie
rekore  Offline OP
Newbie
R

Joined: Apr 2010
Posts: 11
oh... I don't know I just started this.

Re: Cant compile script01.c ??? HELP [Re: rekore] #317955
04/03/10 20:47
04/03/10 20:47
Joined: Apr 2010
Posts: 11
R
rekore Offline OP
Newbie
rekore  Offline OP
Newbie
R

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: rekore] #317957
04/03/10 21:06
04/03/10 21:06
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Online
Expert
alibaba  Online
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
which version of gamestudio do you have?


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: Cant compile script01.c ??? HELP [Re: alibaba] #317958
04/03/10 21:12
04/03/10 21:12
Joined: May 2009
Posts: 5,367
Caucasus
3run Online
Senior Expert
3run  Online
Senior Expert

Joined: May 2009
Posts: 5,367
Caucasus
I've tried the script, there is no problem, works just perfect


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Cant compile script01.c ??? HELP [Re: 3run] #317964
04/03/10 21:53
04/03/10 21:53
Joined: Apr 2010
Posts: 11
R
rekore Offline OP
Newbie
rekore  Offline OP
Newbie
R

Joined: Apr 2010
Posts: 11
I have game studio a7 and windows 7 32 bit incase that matters.

Re: Cant compile script01.c ??? HELP [Re: 3run] #317965
04/03/10 21:57
04/03/10 21:57
Joined: Apr 2010
Posts: 11
R
rekore Offline OP
Newbie
rekore  Offline OP
Newbie
R

Joined: Apr 2010
Posts: 11
Originally Posted By: 3run
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.

Re: Cant compile script01.c ??? HELP [Re: rekore] #317967
04/03/10 22:00
04/03/10 22:00
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
please go to WED -> help -> about and tell us your version number wink

Page 2 of 3 1 2 3

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1