Is there no way to make forward declaration in BlitzMax?
i.e., something like:
'BEGIN CODE:
Type thingy
Function dothis(that, what)
Function dothat(hut, hat)
End Type
Function thingy.dothis(that, what)
' Some code
End Function
Function thingy.dothat(hut, hat)
' Some other code
End Function
'END CODE
I'm asking because I run into problems with the order of my functions descriptions. Function A is declared before function B and function A uses function B, so I get an error...
(Oh, and where can I find the specifications for the codes used in this forum for inserting screenshots and code boxes and stuff?)
i.e., something like:
'BEGIN CODE:
Type thingy
Function dothis(that, what)
Function dothat(hut, hat)
End Type
Function thingy.dothis(that, what)
' Some code
End Function
Function thingy.dothat(hut, hat)
' Some other code
End Function
'END CODE
I'm asking because I run into problems with the order of my functions descriptions. Function A is declared before function B and function A uses function B, so I get an error...
(Oh, and where can I find the specifications for the codes used in this forum for inserting screenshots and code boxes and stuff?)