Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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;






}

0 votes



One answer

Permanent link
Hi Mounir,

int i=0
int k=0
i[0]=co


What are you trying to do?

i is declared as an integer, not an object array so you cannot put an object in it at position 0

This is the Jazz forum.

For DOORS Classic questions the forum is over here:-


Old DXL Reference manual


DXL online help

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: May 07 '20, 8:06 a.m.

Question was seen: 1,267 times

Last updated: May 07 '20, 8:47 a.m.

Confirmation Cancel Confirm