Page 1 of 1

PostPosted: Mon Feb 07, 2005 6:48 pm
by r2k
<font face="Trebuchet MS">i have another problem pocketC report me this error "Array of 0 [zero] size" and "division by zero" in the follow line any suggestion?</font id="Trebuchet MS">

Code: Select all
if(limit2>0 && groupID>-1) peopleArr=Array("s,"+limit2);


PostPosted: Tue Feb 08, 2005 2:30 am
by jstadolnik
I suspect you have a bug in your code. Maybe limit2 is a string or may peopleArr is not a pointer type?

I tested the following code, and it ran fine for me with PocketC v6.6 & PToolbox 7.6.2beta9.

library "PToolboxLib"

main() {
int value=5;
pointer ptr;
int i;


for(i=0;i<5;i++) {


The PToolboxLib guy.