vector ptNum[];
int npoint = @numpt;
// remplir un tableau
for (int i=0;i<npoint;i++){
vector pos = point(0,"P",i);
append(ptNum,pos);
}
v[]@myArray=ptNum;
//lire un tableau
foreach(vector singlePos;ptNum){
v@x = singlePos[0];
}
//syntaxeFonction
float div(float a;float b){
float c = a/b;
return c;
}
f@myDiv = div(4,2);
int maxIt = chi("maxIt");
for (int i=0; i<maxIt; i++) {
}
int my_array[];
foreach( int val; my_array){
}
foreach( int index; int val; my_array){
}
if (x>y){
}
int i = 0;
int condition = 10;
while( i < condition){
i++;
}
VEX