Gamestudio Links
Zorro Links
Newest Posts
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
2 registered members (AndrewAMD, dr_panther), 1,282 guests, and 4 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
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