I wanted to turn an algorithm into a dxl fomrat, but I've got errors.
I'm still a beginner on dxl language and I can't run this script, surely there are errors on the implementation, below is the script and the original algorithm before I convert it to dxl format.
Object o =current
Object co = first o
string ID = "ID"
string ParaSty = "Paragraph Style"
string UR = "Change Requests"
int i=0
int k=0
i[0]=co
while(!null o[i].ID){
k=i+1
while(o[k].TisID==null && o[k].ParaSty=="Req_Text"){
o[i].UR= "o[i].UR" "o[k].UR";
k++;
}
i=k;
original algorithme :
type pointeurparcou;
type pointeurfixe;
while(pointeurfixe[i][1] !=NULL ){
k=i+1
while(pointeurparcou[k][1]==empty && pointeurparcou[k][2]==^arg && pointeurparcou[k]==NULL){
pointeurfix[i][3]= pointeurfix[i][3]+" "+pointeurfix[k][3];
k++;
}
i=k;
}