Witango-Talk: Exact Numeric Character IFs

2011-08-15 Thread WebDude
This has never come up before and I know it's probably a stupid question, but I am trying to write an IF statement where I need to compare characters rather then numbers. I went through the manual and I am a bit confused. I thought that if you used single quotes, it would look at the expression as

Re: Witango-Talk: Exact Numeric Character IFs

2011-08-15 Thread Bill Downall
John, It seems to me like you should reverse your TRUE and FALSE values. Bill On Monday, August 15, 2011, WebDude webd...@cipromo.com wrote: This has never come up before and I know it's probably a stupid question, but I am trying to write an IF statement where I need to compare characters

RE: Witango-Talk: Exact Numeric Character IFs

2011-08-15 Thread WebDude
=false @IF EXPR=0 = 0 TRUE =true FALSE=false @IFEQUAL 00 true@ELSEfalse/@IF @IFEQUAL 0 0true@ELSEfalse/@IF _ From: Bill Downall [mailto:bdown...@downallconsulting.com] Sent: Monday, August 15, 2011 9:24 AM To: Witango-Talk@witango.com Subject: Re: Witango-Talk: Exact Numeric Character

RE: Witango-Talk: Exact Numeric Character IFs

2011-08-15 Thread WebDude
Any ideas? _ From: WebDude [mailto:webd...@cipromo.com] Sent: Monday, August 15, 2011 9:39 AM To: Witango-Talk@witango.com Subject: RE: Witango-Talk: Exact Numeric Character IFs This is what I need... 0 = 0 True 00 = 0 False Simply changing the TRUE and FALSE values does not work

Re: Witango-Talk: Exact Numeric Character IFs

2011-08-15 Thread Anthony Humphreys
I meant: ... } else { server.assignVariable('tmpFlag','0'); } ... On Mon, Aug 15, 2011 at 11:45 AM, Anthony Humphreys anth...@humphreys.orgwrote: In a case like this, where @IF is not precise enough, I would bring that into JavaScript and let it do a string comparison, ie something *like

RE: Witango-Talk: Exact Numeric Character IFs

2011-08-15 Thread Robert Shubert
of these short-comings are issues that should be corrected. I’ll add them to my to-do list. From: WebDude [mailto:webd...@cipromo.com] Sent: Monday, August 15, 2011 11:31 AM To: Witango-Talk@witango.com Subject: RE: Witango-Talk: Exact Numeric Character IFs Any ideas? _ From: WebDude

RE: Witango-Talk: Exact Numeric Character IFs

2011-08-15 Thread WebDude
Minneapolis, MN 55408-4552 612.822. webd...@cipromo.com http://cipromo.com/ http://cipromo.com _ From: Robert Shubert [mailto:rshub...@tronics.com] Sent: Monday, August 15, 2011 10:52 AM To: Witango-Talk@witango.com Subject: RE: Witango-Talk: Exact Numeric Character IFs I have two

RE: Witango-Talk: Exact Numeric Character IFs

2011-08-15 Thread Robert Shubert
, 2011 12:16 PM To: Witango-Talk@witango.com Subject: RE: Witango-Talk: Exact Numeric Character IFs Appreciate the help from both Robert and Anthony. I did get it to work using Robert's method. I also came up with @IF EXPR='000' = '0' AND 'len(000)' = 'len(0)' TRUE =true FALSE=false which

Re: Witango-Talk: Exact Numeric Character IFs

2011-08-15 Thread Mark Weiss
Mark On Aug 15, 2011, at 9:31 AM, WebDude wrote: Any ideas? From: WebDude [mailto:webd...@cipromo.com] Sent: Monday, August 15, 2011 9:39 AM To: Witango-Talk@witango.com Subject: RE: Witango-Talk: Exact Numeric Character IFs This is what I need... 0 = 0 True 00 = 0 False Simply

Re: Witango-Talk: Exact Numeric Character IFs

2011-08-15 Thread Mark Weiss
-Talk: Exact Numeric Character IFs John, It seems to me like you should reverse your TRUE and FALSE values. Bill On Monday, August 15, 2011, WebDude webd...@cipromo.com wrote: This has never come up before and I know it's probably a stupid question, but I am trying to write an IF statement

RE: Witango-Talk: Exact Numeric Character IFs

2011-08-15 Thread WebDude
: Robert Shubert [mailto:rshub...@tronics.com] Sent: Monday, August 15, 2011 11:22 AM To: Witango-Talk@witango.com Subject: RE: Witango-Talk: Exact Numeric Character IFs I doubt that this would be an issue in your case, but your method using len() doesn't force an actual string comparison, so you