05-03-2005, 10:29 PM
It seems that in FB 0.13b a function returning an integer value can be called like a subroutine, i. e. ignoring the returned value:
This does not work if the returned value is not an integer type.
Code:
function func(n as integer) as integer
func = n * n
print "done"
end function
func 2
ean Debord
----------------
Math library for FreeBasic:
http://www.unilim.fr/pages_perso/jean.de...fbmath.zip
----------------
Math library for FreeBasic:
http://www.unilim.fr/pages_perso/jean.de...fbmath.zip