Re: testing an argument's type

2003-07-05 Thread David Storrs
On Sat, Jul 05, 2003 at 12:29:46PM -0400, Bob Showalter wrote: > David Storrs wrote: > > I've got a function that takes several arguments, the first of which > > should be a scalar (specifically, a string). I'd like to have a > > precondition to verify that the argument is, in fact, a scalar. Is

RE: testing an argument's type

2003-07-05 Thread Charles K. Clarkson
David Storrs <[EMAIL PROTECTED]> wrote: : : I was trying to avoid prototypes, because I wanted : people to be able to pass the arguments in as : function(@args), but maybe this is the way to go. : Or maybe I just won't worry about it. From your other posts it seems like your trying to avoid a

Re: testing an argument's type

2003-07-05 Thread David Storrs
On Fri, Jul 04, 2003 at 06:03:55PM -0400, Casey West wrote: > It was Friday, July 04, 2003 when David Storrs took the soap box, saying: > : I've got a function that takes several arguments, the first of which > : should be a scalar (specifically, a string). I'd like to have a > : precondition to v

Re: testing an argument's type

2003-07-05 Thread David Storrs
On Fri, Jul 04, 2003 at 06:02:21PM -0400, Steve Grazzini wrote: > On Fri, Jul 04, 2003 at 02:18:40PM -0700, David Storrs wrote: > > I've got a function that takes several arguments, the first of > > which should be a scalar (specifically, a string). I'd like to > > have a precondition to verify

Re: testing an argument's type

2003-07-05 Thread Bob Showalter
David Storrs wrote: > I've got a function that takes several arguments, the first of which > should be a scalar (specifically, a string). I'd like to have a > precondition to verify that the argument is, in fact, a scalar. Is > there a way to do that (preferably without using modules--I'm trying

Re: testing an argument's type

2003-07-05 Thread david
"David Storrs" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I've got a function that takes several arguments, the first of which > should be a scalar (specifically, a string). I'd like to have a > precondition to verify that the argument is, in fact, a scalar. Is > there a way to

Re: testing an argument's type

2003-07-04 Thread John W. Krahn
David Storrs wrote: > > I've got a function that takes several arguments, the first of which > should be a scalar (specifically, a string). I'd like to have a > precondition to verify that the argument is, in fact, a scalar. Is > there a way to do that (preferably without using modules--I'm tryi

Re: testing an argument's type

2003-07-04 Thread Steve Grazzini
On Fri, Jul 04, 2003 at 02:18:40PM -0700, David Storrs wrote: > I've got a function that takes several arguments, the first of > which should be a scalar (specifically, a string). I'd like to > have a precondition to verify that the argument is, in fact, a > scalar. I'll recommend that you *do

Re: testing an argument's type

2003-07-04 Thread Casey West
It was Friday, July 04, 2003 when David Storrs took the soap box, saying: : I've got a function that takes several arguments, the first of which : should be a scalar (specifically, a string). I'd like to have a : precondition to verify that the argument is, in fact, a scalar. Is : there a way to

testing an argument's type

2003-07-04 Thread David Storrs
I've got a function that takes several arguments, the first of which should be a scalar (specifically, a string). I'd like to have a precondition to verify that the argument is, in fact, a scalar. Is there a way to do that (preferably without using modules--I'm trying to write an entirely self-co