Posted: Tue Dec 31, 2002 12:26 pm
Restored from previous forum. Originally posted by stfighter.
i need a command to mirror the content of a linked list to another linked list
i need to make 2 or more selections in the list at the same time (to compare 2 parts of the list )
i thought about something like this :
Newlist objekte.objekt() ;Create a linked list
addelement(objekte.objekt())
addelement(objekte.objekt())
.
.
;---- fill list with something ----
Newlist temp.objekt() ; create a 2nd list
Mirrorlist(objekte(),temp())
;make a mirror form the objekte list to the temp list
;but don't copy the content
selectelement(objekte(),4)
selectelement(temp(),2)
if temp()\x= objekte()\x and temp()\y=objekte()\y
makebigbigexplosion()
endif
P.S.: sorry because my english ist very bad
i need a command to mirror the content of a linked list to another linked list
i need to make 2 or more selections in the list at the same time (to compare 2 parts of the list )
i thought about something like this :
Newlist objekte.objekt() ;Create a linked list
addelement(objekte.objekt())
addelement(objekte.objekt())
.
.
;---- fill list with something ----
Newlist temp.objekt() ; create a 2nd list
Mirrorlist(objekte(),temp())
;make a mirror form the objekte list to the temp list
;but don't copy the content
selectelement(objekte(),4)
selectelement(temp(),2)
if temp()\x= objekte()\x and temp()\y=objekte()\y
makebigbigexplosion()
endif
P.S.: sorry because my english ist very bad