When I try to tailbite this code
Code: Select all
ProcedureDLL MyDiv(a, b)
ProcedureReturn a/b
EndProcedure
ProcedureCDLL MyDiv_DEBUG(a, b)
If b=0
TB_DebugError("Division by zero!")
EndIf
EndProcedure
Code: Select all
PBCompiler : /COMMENTED /DEBUGGER
******************************************************
PureBasic 4.30 (Windows - x86)
******************************************************
Compiling : C:\Documents and Settings\franklin\Bureau\Sample_DEBUG\Sample_DEBUG.pb
Loading external libraries...
Starting compilation...
Error: Line 7 - Bad parameter type, number expected instead of string.
bye