UPDATE PROBLEM

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
ALAN_26
Posts: 84
Joined: Sat Apr 29, 2006 3:36 pm
Location: MALTA

UPDATE PROBLEM

Post by ALAN_26 »

HI STEVE

After I installed the last update I can’t compile my program it giving me this error .


Flowcode1.c(6617:18): error: unknown identifier 'MSZ_String'
Flowcode1.c(6617:18): error: invalid operand 'MSZ_String'
Flowcode1.c(6617:17): error: failed to generate expression
Flowcode1.c(6617:17): internal error: failed to generate 'for' expression
Flowcode1.c(6617:2): error: error in 'for' loop statement


NOW THIS IS LINE 6617

for (idx=0; idx<MSZ_String; idx++)



It’s PART OF THE CODE BELOW.

void FCD_LCDDisplay0_PrintString(char* String)
{
char idx;
for (idx=0; idx<MSZ_String; idx++) // ( LINE 6617 )
{
if (String[idx]==0)
{
break;
}
FCD_LCDDisplay0_RawSend(String[idx], 0x10);


PLEASE HELP

THANKS IN ADVANCE

REGARDS

ALAN CILIA

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Post by Steve »

Hello Alan,

Please email your FCF and C file to me asap and I'll have a look at them

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Post by Steve »

Alan,

It looks like your LCD component may not have updated for some reason. Please check that is displays "v1.3".

If the component does not update ok, you may need to download and install the full update.

Please let me know if you get any joy - if not, I'll have to try something else.

ALAN_26
Posts: 84
Joined: Sat Apr 29, 2006 3:36 pm
Location: MALTA

Post by ALAN_26 »

the lcd component is v1.3 but the program was created with v1.2 than when i installed the update it came this problem .

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Post by Steve »

Alan,

I've just received your program and it compiles without a problem here.

Can you please send the C file that is generated as well, and I will look for any differences. Also, what is the version number of Flowcode as shown in the "About" box?

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Post by Steve »

To update other users on this issue, Alan and I have been in contact with each other and the problem has been resolved.

During the patch installation, Flowcode was running and needed to be shut down before the installation could complete. At the end of the installation, the Flowcode exe had not been updated - and this was the cause of the problems.

The solution was a simple one. Restarting Windows allowed the installation to complete (behind the scenes) and now all of the files are up-to-date.

Post Reply