MaxStudio Posted August 20, 2013 Share Posted August 20, 2013 Item is an integer that can be 1,2,3,4,5 or 6 If I want items 1 through 3 and item 6 to do the same thing how can I write that? I know I can use 1..3 for items 1 through 3, but how do I also include item 6 so i can condense the following code? CASE item OF 1..3: BEGIN { do procedure A } END; 4..5: BEGIN { do procedure B } END; 6: BEGIN { do procedure A } END; END; Thanks Quote Link to comment
MaxStudio Posted August 20, 2013 Author Share Posted August 20, 2013 that simple... thanks! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.