NewsArchive
06-01-2009, 01:43 AM
Friedrich,
The docs state:
If the function succeeds, the %_SB_ERRORCODE% return value is nonzero.
If the function fails, the return value is zero.
Going by other script functions that test the error code, it appears a zero
is success, otherwise it's the error code raised if a function fails. Are
the docs backwards here?
--
Russell B. Eggen
www.radfusion.com
Clarion developers: www.radfusion.com/dev.htm
The docs state:
If the function succeeds, the %_SB_ERRORCODE% return value is nonzero.
If the function fails, the return value is zero.
Going by other script functions that test the error code, it appears a zero
is success, otherwise it's the error code raised if a function fails. Are
the docs backwards here?
--
Russell B. Eggen
www.radfusion.com
Clarion developers: www.radfusion.com/dev.htm