Cancel
Showing results for 
Search instead for 
Did you mean: 

what's wrong with my method.

Valued Contributor
Valued Contributor

please help me what's going wrong in my method.

2 REPLIES

Re: what's wrong with my method.

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

Hi ibrahim,

 

Return value of attribute '.name' is string , so you will have to use string to compare as shown.

is
do
	if @.name="part1" then
		@.move (singleproc1);
	else
		@.move (singleproc2);
	end;
end;

 

Re: what's wrong with my method.

Valued Contributor
Valued Contributor
Thank you so much @learner