Cloneindex Problem

Hi. I have a little problem with the cloneindex.
What is the correct form of this?:
and this:
What is the correct form of this?:
- Code: Select all
int i;
i=cloneindex-1;
block.i.type=0;
and this:
- Code: Select all
int i;
i=cloneindex-1;
if(block.i.type==0){
...
}