12-19-2005, 08:44 AM
A function returns an argument, a sub doesn't.
Like so:
PRINT hrmthis%(5, 6)
FUNCTION hrmthis%(a%, b%)
hrmthis% = a% + b% * a%
END FUNCTION
Like so:
PRINT hrmthis%(5, 6)
FUNCTION hrmthis%(a%, b%)
hrmthis% = a% + b% * a%
END FUNCTION
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."
Visit www.neobasic.net to see rubbish in all its finest.
Visit www.neobasic.net to see rubbish in all its finest.