[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Re Comparing array element



Your problem lies in the way you have used "not" :

>   while camp_code(#j) not = $cmp_code and (#j < 19 )
>     add  1  to #arr_idx
>   end-while

This is an example that I have used :

if not ( #true = #true )
  print 'a'  (2,1)
end-if

Also check the example at the bottom of p. 224 of user guide !!

--
Xavier K. Lau
SQRiBE Technologies Asia Pacific
Technical Support Engineer

E-Mail : xavier.lau@miti.com.au OR support@miti.com.au