Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/06/23 11:29
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
7 registered members (fairtrader, Quad, miwok, Martin_HH, AndrewAMD, alibaba, dpn), 581 guests, and 0 spiders.
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 2 1 2
Re: problem with my code, warlock staff attached to warlock [Re: Lecithin] #319506
04/15/10 13:27
04/15/10 13:27
Joined: Oct 2009
Posts: 49
L
Lecithin Offline OP
Newbie
Lecithin  Offline OP
Newbie
L

Joined: Oct 2009
Posts: 49
figures I would get some confidence and then get another problem. This one doesn't seem to make sense to me since the coding is so simple...

I get the following error....
Error in 'MAIN' line 5: 'PATH' undeclared identifier < PATH "models"; >

What gives?!

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

PATH "models";



Re: problem with my code, warlock staff attached to warlock [Re: Lecithin] #319536
04/15/10 17:10
04/15/10 17:10
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
Use PRAGMA_PATH instead of PATH.

Example:
#define PRAGMA_PATH "Modelle\\Animiert";

Last edited by Widi; 04/15/10 17:11.
Re: problem with my code, warlock staff attached to warlock [Re: Widi] #319554
04/15/10 19:53
04/15/10 19:53
Joined: Oct 2009
Posts: 49
L
Lecithin Offline OP
Newbie
Lecithin  Offline OP
Newbie
L

Joined: Oct 2009
Posts: 49
works fine but did they change PATH? I've seen other projects use PATH just fine, what gives?

PRAGMA is a way for each OS/Computer to have control over certain features while still being compatible w/C-lite.... correct?

Re: problem with my code, warlock staff attached to warlock [Re: Lecithin] #319564
04/15/10 20:24
04/15/10 20:24
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
PATH "models";

is C-Script

#define PRAGMA_PATH "Modelle\\Animiert";

is Lite-C

Re: problem with my code, warlock staff attached to warlock [Re: Pappenheimer] #319650
04/16/10 12:07
04/16/10 12:07
Joined: Oct 2009
Posts: 49
L
Lecithin Offline OP
Newbie
Lecithin  Offline OP
Newbie
L

Joined: Oct 2009
Posts: 49
ah ok, I really wish they would update the manual. A lot of this stuff could be averted with some updates. It's tough for new people to figure out the differences, even a simple note in the remarks would work.

I also wish they'd include all the other variables that are often missing like some of the EVENT_ s

Page 2 of 2 1 2

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