
how about using regex to match your strings? On Thu, May 26, 2011 at 10:19 AM, aki <aki275@gmail.com> wrote:
@solomon, @Steve, @chris. Thanks guys for the help. :-)
@chris, that's correct i.e I'm evaluating strings. And I can get it to work fine on true but not false because the string inputs vary i.e not a constant. Also, if I use a null on the input, the false is still not triggered. Strings can only use these operators == and != so I thought of trying to use a bool value somewhere to create the trigger, but no success.
Basically, I've created a web app user interface which carried some intelligence i.e does not use any validation rules or code. With the else code, I've got various other things happening like e.g. a progress and status bar, a "file stream " diagnostic ( which am still to work on ), and disbaling features that block the interface after a few tries.
On Thu, May 26, 2011 at 9:45 AM, Chris Mwirigi <mwirigic@gmail.com> wrote:
i still do not understand the boolean relevance in the pseudo code. it would seem that you are trying to evaluate strings.
String ske = "i Love Skuks"; String ske2 = "i dislike Skunks";
if(ske.equals("i Love Skunks")) { //run ske; } else { // run ske2; }
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke