What am I missing?
sarahr at genesearch.com.au
Thu Feb 3 22:51:02 CST 2005
> if tSSPC = tSSSN77 then
> put tDHSSR into field "DSS"
> put "Sorry, That isn't correct" into field "DSS"
> end if
> I have the above code in a Rev stack
> tSSPC & tSSSN77 are 2 numbers I'm comparing. I have put them both in
> a field and can see that they are the same in my test.
> tDHSSR holds information *IF* the above 2 are the same
> field "DSS" is the field the information (good or bad) is put in.''
> But I'm getting "Sorry, That isn't correct" no matter what.
Maybe there is some white space before or after the numbers. Try this:
if word 1 of tSSPC = word 1 of tSSSN77 then
More information about the use-livecode