![]() |
||
| Home | SwiftForth Archive | SwiftX Archive | |

rvn>Inside a definition, use a CASE OF ENDOF ENDCASE
statement to achieve this.
I'm sorry, I use CASE all the time but must be dumb. How does one use
it to test for multiple ANDed and ORed conditions instead of testing a
single number on the stack? Would it be something like
Case drop
n1 n2 = n3 n4 = and IF ...action... ENDOF
.
.
endcase
?
I've never seen anything like this done.
Thanks,
Glenn
*********************************
Get your free E-Mail and Homepage
Go to http://www.networld.com
*********************************
----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and bug
reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Tue Apr 29 2003 - 12:18:50 PDT
This archive was generated by hypermail 2.2.0 : Wed Jan 07 2009 - 03:04:08 PST