FAQ1

last edited byusericonjongl@safisystems.com on 02-Dec-2009

One of the frequent questions is when user use choice or ifthen action step,comparision seems not to work correctly.

In saflet, user getDigits and this gets stored in Text variable. In comparision action step, user often forgot to quote value in dynamic script editor("blue color field"). This results into comparision between Text and Number. So "1"==1 is always false because user is comparing between text and integer value. If you type any string value in dynamic value editor(blue color),you have to use quotation symbol. In dynamic editor (blue color), 1 means integer value 1. if you want string value 1, you must write it as "1".

In variable editor, user can just write string value without quote and it will accept as it is.

Related forum topic

 
Download in other Formats:
markup Markup | pdf PDF | swf SWF | html HTML | word Word

comments Comments (0)