Returns name of the DLL, which contains compiled code from #Compiled / #EndCompiled sections, if any.
s = Compiled_DLL_FileName
String, full path and file name of the DLL
Your code needs to contain #Compiled / #EndCompiled in order to create the DLL.
sub SayHelloFromFreeBasic cdecl (byref sDLLFileName as zstring) Export
Print "Hi there. I'm a compiled code."
print "I'm a FreeBasic Sub compiled inside " & sDLLFileName
printl "Now I'm printing from thinBasic script"
' -- You can use it in function declarations just in case you need
' -- Notice FreeBASIC zstring is thinBASIC asciiz
'declare sub SayHelloFromFreeBasic LIB Compiled_DLL_FileName ALIAS "SayHelloFromFreeBasic" (byref sMessage as asciiz)