Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 20:05
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,438 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
I dont understand why this is not working #255941
03/13/09 19:10
03/13/09 19:10
Joined: Mar 2009
Posts: 16
X
xxGOTARxx Offline OP
Newbie
xxGOTARxx  Offline OP
Newbie
X

Joined: Mar 2009
Posts: 16
Why does this not test run? Are my includes not working properly, or do I have something setup wrong?

#include <acknex.h>
#include <default.c>

STRING* str_Title = "Test";

TEXT* txt_Title =
{
string(str_Title);
flags = Visible;
}

function main()
{
var video_mode = 7; //sets video mode to 800x600
var video_screen = 2; //set video mode to Windowed
return;
}


When I run i get the following error:

<STRING* str_Title = ^Test";>
MAIN.WDL 4:3():String - Test

Script Error

Re: I dont understand why this is not working [Re: xxGOTARxx] #255942
03/13/09 19:14
03/13/09 19:14
Joined: May 2008
Posts: 331
Lithuania, Vilnius
Jaxas Offline
Senior Member
Jaxas  Offline
Senior Member

Joined: May 2008
Posts: 331
Lithuania, Vilnius
hmm, i think your file name is wdl, whitch is the problem..it should be .c wink


The smaller the bug, the harder it is to kill.
_________________________________________
Forklift DEMO (3dgs)
Re: I dont understand why this is not working [Re: xxGOTARxx] #255943
03/13/09 19:15
03/13/09 19:15
Joined: Nov 2006
Posts: 19
Bursa, TR
deathknt Offline
Newbie
deathknt  Offline
Newbie

Joined: Nov 2006
Posts: 19
Bursa, TR
because your file is WDL


One ring to rule them all
Re: I dont understand why this is not working [Re: deathknt] #255944
03/13/09 19:19
03/13/09 19:19
Joined: Mar 2009
Posts: 16
X
xxGOTARxx Offline OP
Newbie
xxGOTARxx  Offline OP
Newbie
X

Joined: Mar 2009
Posts: 16
oh dear.... Thanks. I am used to using C# express so this is all a bit new to me. That solved it.


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