04-18-2010, 10:07 AM
That's right. The compiler should issue also a warning.
Regarding to the forward function declaration, I think it's much more elegant to let the compiler to guess the function type instead of letting the user to declare it in advance. But if it's required I will also put it. The idea is that your first program MUST also work since it's a valid ZX BASIC program. :wink:
Regarding to the forward function declaration, I think it's much more elegant to let the compiler to guess the function type instead of letting the user to declare it in advance. But if it's required I will also put it. The idea is that your first program MUST also work since it's a valid ZX BASIC program. :wink: