Error Testing a List on input
- To: mathgroup at smc.vnet.net
- Subject: [mg37685] Error Testing a List on input
- From: "flip" <flip_alpha at safebunch.com>
- Date: Fri, 8 Nov 2002 02:16:06 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Hello, I was wondering if there is an easy way to do this. I want to input a list of nine numbers. I would like to test each element in the list prior to acting upon it. This ends up being a sort of error check on the list prior to manipulating it, if it is wrong, produce an error message or do nothing with the module. So, I would like to test each element to be a. an integer, b. >= 0, c. <= 9. Is there a way to test this list at the input prior to acting upon it? Thanks, Flip
- Follow-Ups:
- Re: Error Testing a List on input
- From: Tomas Garza <tgarza01@prodigy.net.mx>
- Re: Error Testing a List on input