Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (AndrewAMD, TipmyPip), 16,005 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
missing bracket #169171
11/24/07 03:28
11/24/07 03:28
Joined: Sep 2007
Posts: 80
R
ruchen Offline OP
Junior Member
ruchen  Offline OP
Junior Member
R

Joined: Sep 2007
Posts: 80
when I run my script,the engine tell me that the script missing a bracket in the last line,but I don't miss it.And it aslo say unknown all the strings that I defined,why?

Re: missing bracket [Re: ruchen] #169172
11/24/07 03:35
11/24/07 03:35
Joined: Apr 2006
Posts: 1,551
Netherlands
D3D Offline
Serious User
D3D  Offline
Serious User

Joined: Apr 2006
Posts: 1,551
Netherlands
Without some code it's impossible to say what could be wrong. For now I suppose the compiler is correct.


smile
Re: missing bracket [Re: D3D] #169173
11/24/07 05:04
11/24/07 05:04
Joined: Sep 2007
Posts: 80
R
ruchen Offline OP
Junior Member
ruchen  Offline OP
Junior Member
R

Joined: Sep 2007
Posts: 80
the first .wdl include the second .wdl,the engine say the second .wdl missing a bracket on the last line,and the unknown the strings defined in the first .wdl.
If I use the third .wdl include the second one,then the engine say the second one missing the bracket,but say unknown the strings defined in the third one.

Re: missing bracket [Re: ruchen] #169174
11/24/07 07:17
11/24/07 07:17
Joined: Apr 2006
Posts: 1,551
Netherlands
D3D Offline
Serious User
D3D  Offline
Serious User

Joined: Apr 2006
Posts: 1,551
Netherlands
main.wdl Code:
include "second.wdl";

TEXT myText
{
layer = 1;
pos_x = 10;
pos_y = 10;
string = firstString;
flags = VISIBLE;
}

function main()
{
level_load("");
wait(1);
}


second.wdl Code:
STRING firstString = "Some string";


No problem. Anyways, unless you show your code it's not possible to help.


smile

Gamestudio download | 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