Gamestudio Links
Zorro Links
Newest Posts
Trades during a running bar
by Martin_HH. 09/21/26 12:03
Zorro tutorial ideas?
by mistery. 09/19/26 17:09
Capital slider is not saving in Z12
by frutza. 09/17/26 13:36
Avoiding pop-up training parameter results
by Martin_HH. 09/16/26 21:31
What are you working on?
by rayp. 09/16/26 20:20
Future of ZorroHFT
by TipmyPip. 09/16/26 09:28
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (lopezsergio07, Martin_HH, 3run), 1,918 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
lopezsergio07, mistery, lokkalyansamiti, rahulbuilds, speedx
19237 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 | 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