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

[sqr-users] evaluate... array



<code>
  create-array
    name=week
    size=8
    field=day:number
</code>
this array gets filled with calendar month numbers like 25, 26, 27, etc.  
This much I know works because I've printed the array.  Here is my problem.
<code>
  evaluate #some_number !this number is equal to 26
    when = 26
      ! this gets evaluated just fine
      break
    when = #week.day(2) ! this number is equal to 26
      ! this doesn't get evaluated
      break
    !when = week.day(2) ! this gives me an error
    !  break
  end-evaluate
</code>

Hopefully I just have a syntax problem here.  Sorry if this is simple - I 
don't have a manual.  From looking through the archives it seems I may be 
using the array incorrectly.
Thanks,
Ben Anderson







_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users