Spot the bug...

Discuss PocketC for Palm OS (including Desktop Edition)

Postby Thad on Mon Mar 12, 2001 7:50 am

The following code compiles, but causes a:

Virtual Maschine Error
ByterCode: 53
Undefined opcode



foo(int a, int b, int c, int d,
int e, int f, int g, int h, int i)

foo(1,2,3,4,5, 6,7,8,9);

Hint: I think its in the VM or the compiler...

Posts: 33
Joined: Thu Feb 22, 2001 10:27 am
Location: United Kingdom

Postby artosoft on Tue Mar 13, 2001 1:10 am


Maybe I am wrong.
But, I think PocketC can not take more than 8 passing variable to function/subprogram.

Best regards, Dian Suharto.
Posts: 207
Joined: Sat Dec 09, 2000 12:57 am
Location: Indonesia

Postby samps on Fri Mar 16, 2001 6:30 am

It compiles and runs pefectly (starts and exits normally) on my Palm. OS is 3.5 and PocketC is 3.92.

The way i tried to replicate the problem was to copy your code (including the extraneous 'space')from this messageboard and paste it to a new memo. Compile d and ran it on my Palm Vx, no prob. Sorry, I wasn't much help to you.
Ubuntu user #82
Posts: 143
Joined: Tue Feb 20, 2001 12:33 am
Location: Australia

Return to PocketC for Palm OS

Who is online

Users browsing this forum: No registered users and 4 guests