Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / function declaration error

Author
Message
James Bond
22
Years of Service
User Offline
Joined: 20th Jul 2004
Location:
Posted: 15th Aug 2004 18:25
hmzzzzzzzzzzzzzzzzzzzzzzzzzzz why this dark basic gives this function declaration error????????????????????????????? ...... PROGRAM RAN INTO A FUNCTION DECLARATION
Emperor Baal
22
Years of Service
User Offline
Joined: 1st Dec 2003
Location: The Netherlands - Oudenbosch
Posted: 15th Aug 2004 19:47
It's when DarkBASIC jumps into a function when you didn't call it.

wrong:
sync on
sync rate 0

function lol
endfunction

do
sync
loop


right:
sync on
sync rate 0

do
sync
loop

function lol
endfunction



Login to post a reply

Server time is: 2026-07-21 18:52:47
Your offset time is: 2026-07-21 18:52:47