You need to call it at least once, as SpiderBasic automatically remove unused procedures (so you can have big includes without using all the functions). But It can be referenced in an unused function, as it does not remove it recursively:
Procedure MyProcedure()
Debug "Hello world"
EndProcedure
!f_myprocedure();
; This one will be stripped from the output
Procedure ReferenceProcedures()
MyProcedure()
EndProcedure
Hi Fred,
Does PureBasic also remove unreferenced Procedures?
When working toward the solution of a problem, it always helps if you know the answer. ~ ?
An expert is one who knows more and more about less and less until he knows absolutely everything about nothing. ~ Weber