Picking up old project again after long delay..

Discussion of issues related specifically to writing code for native mode devices. This includes ZBasic code as well as assembly language code and C code, both inline and standalone.
Post Reply
ndudman
Posts: 79
Joined: 25 December 2008, 14:00 PM

Picking up old project again after long delay..

Post by ndudman »

Hi

Just getting back into this old project after a house moving which has, well distracted me :)

Anyway I've had a few computer re-installs in the last 8 months or so so everything is fresh install and I'm a little rusty on how I left things.

I'm just getting compile errors, which I don't believe I was getting before

Code: Select all

guicmd.c:1058: error: expected ';' before '(' token
guicmd.c:1058: error: expected ';' before '}' token
guicmd.c:1058: error: expected statement before ')' token
guicmd.c:1062: error: expected ')' before 'else'
guicmd.c:1088: error: expected ';' before '}' token
guicmd.c:1090: error: expected expression before 'else'
The snipet starting on line 1058 from generated file guicmd.c is below

Code: Select all

IC0((void (*)(String))(uint16_t)(mzv_wait4userInputAddr), mzv_inputStr);
						zv_waiting4UserInput = 0;
						strCopy(&mzv_inputStr, STRTBL(0));
Seems to me all the () match up, the wait4userInput is a Based sub, which is currently working on the last uploaded version of uP that was compiled and running before I paused on the project.

Thanks for any help
Neil
mikep
Posts: 796
Joined: 24 September 2005, 15:54 PM

Post by mikep »

This should be in a new thread. It would help if you can post a small test example of ZBasic code that exhibits the problem (in a new thread). You can do this by methodically deleting code until you get something that shows this problem.
Mike Perks
ndudman
Posts: 79
Joined: 25 December 2008, 14:00 PM

Post by ndudman »

Ok I made a new topik

Thanks
Neil
Post Reply