Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
2 registered members (Quad, AndrewAMD), 1,007 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Migrating to Lite C #142978
07/23/07 18:37
07/23/07 18:37
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline OP
User
Ottawa  Offline OP
User
O

Joined: Apr 2006
Posts: 737
Ottawa, Canada
Hi!
I can’t start my project after migrating the Cscript files to LiteC

I read the notes on “Migrate step by step” and I believe that this part is done.
I’ve also done ReplaceEm (worked very well...thanks)
I’ve searched the manual .

Here’s the message

Compiling MENU.C...
Error in 'MAIN' line 18: 'PATH' undeclared identifier

< PATH "..\\prefabs"; >


Working with ver Pro Edition V7.04.2


Hope this helps!
Ottawa laugh

Ver 7.86.2 Pro and Lite-C
Re: Migrating to Lite C [Re: Ottawa] #142979
07/23/07 18:46
07/23/07 18:46
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
You cannot use the path statement in a .c file. Create a file with the same name as you main .c file and replace the file extension from .c to .wdl. In this file you should place your PATH statements.


Always learn from history, to be sure you make the same mistakes again...
Re: Migrating to Lite C [Re: Uhrwerk] #142980
07/23/07 23:21
07/23/07 23:21
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline OP
User
Ottawa  Offline OP
User
O

Joined: Apr 2006
Posts: 737
Ottawa, Canada
Hi Zeitwerk

Thanks for the information. That was the solution...:)

Do you know of other situations where we have to open a .wdl file.

Presently I am working my way through my scripts and correcting the case-sensitive variables.


Hope this helps!
Ottawa laugh

Ver 7.86.2 Pro and Lite-C
Re: Migrating to Lite C [Re: Ottawa] #142981
07/23/07 23:28
07/23/07 23:28
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Yes, there are even some other cases:
Quote:

In a lite-C project, .wdl files are now only for defining paths, resources, folders, the startup window etc. They can not be used for code, variables, includes, etc. A .wdl file is automatically read at startup if it has the same name as the .c file. For instance, if your project is named "test.c", have your PATH, RESOURCE, SAVEDIR, PLUGINDIR, WINDOW etc. statements in "test.wdl"




This is from http://www.conitec.net/beta/litec_migration.htm. You can find a detailed description of everything you have to change in order to port your scripts to A7.


Always learn from history, to be sure you make the same mistakes again...
Re: Migrating to Lite C [Re: Uhrwerk] #142982
07/23/07 23:40
07/23/07 23:40
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline OP
User
Ottawa  Offline OP
User
O

Joined: Apr 2006
Posts: 737
Ottawa, Canada
Ha That's where I read it!

Thanks again.


Hope this helps!
Ottawa laugh

Ver 7.86.2 Pro and Lite-C
Re: Migrating to Lite C [Re: Ottawa] #142983
07/24/07 00:18
07/24/07 00:18
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
You're welcome!


Always learn from history, to be sure you make the same mistakes again...

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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