programming tools for Windows applications development
  Home  |   SwiftForth Archive  |   SwiftX Archive  |

Re: Improvements

From: Glenn Dixon <dixong_at_networld.com>
Date: Tue, 29 Apr 2003 12:53:24 -0600

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