I'm getting a warning that c will be declared global with this code:
Is it supposed to do that?
// --------------------------------- //
// Project: Test8
// Start: Monday, July 28, 2008
// IDE Version: 5.337
LOCAL x
x = test(5, 3)
DEBUG "x = " + x + "\n"
END
// ------------------------------------------------------------- //
// --- TEST ---
// ------------------------------------------------------------- //
FUNCTION test: a, b, c = 5
RETURN a * b * c
ENDFUNCTION // TEST
It's a bug in the compiler. Next update, OK?