Hi, is there anyway to avoid the warning when I use an IFF without bothering
to pass it an ELSE statement?  This is probably not a problem or anything,
but just curious.

Thanks

Warning --> hello.PRG(4) Warning W0027  Meaningless use of expression
'Logical'

---- code ---

FUNC MAIN()

  LOCAL xSDate
  Eval({|| iif(Empty(xSDate),xSDate:=date(),.t.),.t.})

  ? xSDate

RETURN

-- 
smu johnson <[email protected]>
_______________________________________________
Harbour-users mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour-users

Reply via email to