Good point, Dar! When it went through my head, I was thinking of (length(what) - 5) and needed the abs() to get a positive 1. However once it went down in email, I forgot to remove it...
Thanks! Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Dar Scott" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 02, 2002 10:24 PM Subject: Re: Convert T/F > > On Tuesday, April 2, 2002, at 08:08 PM, Ken Ray wrote: > > > function ConvertTF what > > return abs(5-length(what)) > > end ConvertTF > > I like this! > > But why abs()? > > If this doesn't need abs(), I think you might have the winning > entry, Ken! > > function ConvertTF what > return 5-length(what) > end ConvertTF > > Dar Scott > > _______________________________________________ > metacard mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/metacard > _______________________________________________ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard