Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,397 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Help... Converting from C -to- Lite #340763
09/07/10 14:54
09/07/10 14:54
Joined: May 2009
Posts: 439
T
TerraSame Offline OP
Senior Member
TerraSame  Offline OP
Senior Member
T

Joined: May 2009
Posts: 439
Hi,
I am once again continuing the conversion process of my base code template system from C to Lite-C.
I have managed to convert about half of the code. I have yet to convert the menu system and the movement code.
So, I am working on the menu system first.
The system that I use is originally from the "Free Resources" page and the system is called "Super Menu".
There are only three .wdl's that need converting and I have about 1000 of the 1700 lines of the "Controls.wdl done.
Buy I have run into a snag...
Could someone please answer me this...
There is a function that has a group of lines that are all similar...
I am getting a syntax error message from the engine.
Here is the first line in the function that I not been able to figure out what to change...

my_key_up==get_key(up_key_var);

Any suggestions will be greatly appreciated...
Thanks...

Re: Help... Converting from C -to- Lite [Re: TerraSame] #340766
09/07/10 15:03
09/07/10 15:03
Joined: Dec 2008
Posts: 271
Saturnus Offline
Member
Saturnus  Offline
Member

Joined: Dec 2008
Posts: 271
Probably
my_key_up = get_key(up_key_var);

Re: Help... Converting from C -to- Lite [Re: Saturnus] #340769
09/07/10 15:07
09/07/10 15:07
Joined: May 2009
Posts: 439
T
TerraSame Offline OP
Senior Member
TerraSame  Offline OP
Senior Member
T

Joined: May 2009
Posts: 439
Hi Saturnus, that was a fast response... thanks...
I already tried that and I get the same syntax error...

Re: Help... Converting from C -to- Lite [Re: TerraSame] #340771
09/07/10 15:20
09/07/10 15:20
Joined: Sep 2009
Posts: 496
P
Progger Offline
Senior Member
Progger  Offline
Senior Member
P

Joined: Sep 2009
Posts: 496
Hi perhaps this can help you its from the forum
http://www.opserver.de/ubb7/ubbthreads.p...true#Post166784


asking is the best Way to get help laugh laugh laugh
Re: Help... Converting from C -to- Lite [Re: Progger] #340772
09/07/10 15:25
09/07/10 15:25
Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
Tobias Offline

Moderator
Tobias  Offline

Moderator

Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
Check where you've defined my_key_up, get_key, and up_key_var.

When you have a syntax error in that line, obviously one of the three is wrong defined.

Re: Help... Converting from C -to- Lite [Re: Tobias] #340808
09/07/10 18:41
09/07/10 18:41
Joined: May 2009
Posts: 439
T
TerraSame Offline OP
Senior Member
TerraSame  Offline OP
Senior Member
T

Joined: May 2009
Posts: 439
I want to thank you guys.
I think that I found a solution.
And, that solution will help me in many ways...
You guys are awesome!
Thanks...


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