The else clause is never executed because you unconditionally assign
counters 1 through 5 at the beginning of each cycle. Perhaps you should
delete the first five assignments. Or use if first() to initialise
counters.
On 11/26/22 14:44, a.benveni...@free.fr wrote:
The last test I did do not send any error message but £4 and £5 are not
incremented as it is supposed based on the if :
From the q da details command :
a is the cyls value
b is the serial number value
c is the ssid value
"! SPECs",
" a: 54.5 .",
" b: 67.10 .",
" c: 85.4 .",
" set £1:=a",
" set £2:=b",
" set £3:=c",
" set £4:=0",
" set £5:=0",
" if (£1==a & £2==b & £3==c) then",
" set £4+=1",
" set £5:=1",
" else",
" set £1:=a",
" set £2:=b",
" set £3:=c",
" set £4:=1",
" set £5+=1",
" endif",
" 1-* 1",
" print £4 picture 99999 nextword",
" print £5 picture 99999 next",
"!01:"
De : CMS/TSO Pipelines Discussion List <cms-pipeli...@listserv.meduniwien.ac.at> de
la part de John P. Hartmann <m...@jphartmann.eu>
Date : samedi, 26 novembre 2022 à 14:15
À : cms-pipeli...@listserv.meduniwien.ac.at
<cms-pipeli...@listserv.meduniwien.ac.at>
Objet : Re: IF testing characters
! is the vertical bar (|) on most European terminals. It would have
been nice to know the actual error message.
On 11/26/22 12:14, Kris Buelens wrote:
I don't understand what these
!!!! are supposed to do