04-20-2005, 05:51 AM
Declaring as a proc will be enough:
END() has to be explicitly called or the proc would return to nowhere..
Code:
sub foo cdecl alias "foo"
print "no std entry-point called!"
end 0
end sub
Code:
fbc test.bas -entry _foo
END() has to be explicitly called or the proc would return to nowhere..
ew FreeBASIC forums: http://www.freebasic.net/forum/index.php