I thought I would be reporting a bug, but it looks as if the following code
just demonstrates something I thought FB was missing--boolean expressions in
the parameter list of a function.
Maybe others didn't realize FB could handle this either.
Anders
LOCAL MODE
LOCAL FN TestFN(i as LONG)
PRINT i
END FN
DIM gTestVar as LONG
gTestVar = 1
PRINT "Testing equal (gTestVar = 1) -> -1"
FN TestFN(gTestVar = 1)
PRINT "Testing not equal (gTestVar = 99) -> 0"
FN TestFN(gTestVar = 99)
-----------------------------------------------------------
Anders Karl Keller
anderskarlkeller@...
Mac Computer Technical Consultant
Hilltribes Project, International Co-operation for Cambodia
Banlung, Rattanakiri Province, Kingdom of Cambodia
--
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com