Hi,

I try to compare characters fields (a, b and c) in the if using this way and 
the !!!! concatenation. 
Both cases send me a error msg.
The sets seem ok, but when testing them in the if it looks to me I use a wrong 
syntax...

"! SPECs",
"  a: 54.5 .",
"  b: 67.10 .",
"  c: 85.4 .",
"  set £1!!!!=''",
"  set £2!!!!=''",
"  set £3!!!!=''",
"  set £4:=0",
"  set £5:=0",
"  if (£1=a & £2=b & £3=c) then",
"     set £4+=1",
"     set £5:=1",
"                          else",
"     set £4:=1",
"     set £5+=1",
"     set £1!!!!=a",
"     set £2!!!!=b",
"     set £3!!!!=c",
"  endif",
"  1-* 1",
"  print £4 picture 99999 nextword",
"  print £5 picture 99999 next",

Alain
 

Reply via email to