Re: PurePDF Version 2.0
Posted: Thu Aug 04, 2011 10:22 pm
Yep - I'd misread the code - sorry.
Overloading - With TailBite when i did XConsole I had this bit of code:
Look at console 3 and 4 parameters - they are different types - yet it worked! With the correct one being selected. It is like overloading on other systems.
Overloading - With TailBite when i did XConsole I had this bit of code:
Code: Select all
ProcedureDLL XOpenConsole()
Flags=#PB_Window_TitleBar|#PB_Window_SystemMenu|#PB_Window_BorderLess|#PB_Window_SizeGadget|#PB_Window_MaximizeGadget|#PB_Window_MinimizeGadget
CX=80
CY=25
FontH=24
Intensity=128
result=XGlobalOpenConsole(50,50,640,480,"ConsoleX")
XGlobalConsoleColor(#MyWhite,#MyBlack)
XGlobalClearConsole()
ProcedureReturn result
EndProcedure
ProcedureDLL XOpenConsole2(sizex,sizey)
Flags=#PB_Window_TitleBar|#PB_Window_SystemMenu|#PB_Window_BorderLess|#PB_Window_SizeGadget|#PB_Window_MaximizeGadget|#PB_Window_MinimizeGadget
CX=sizex
CY=sizey
FontH=24
Intensity=128
result=XGlobalOpenConsole(50,50,640,480,"ConsoleX")
XGlobalConsoleColor(#MyWhite,#MyBlack)
XGlobalClearConsole()
ProcedureReturn result
EndProcedure
ProcedureDLL XOpenConsole3(sizex,sizey,sized,fontname$,fontsize,title$)
Itensity=128
result=XFullOpenConsole(sizex,sizey,sized,fontname$,fontsize,title$)
XGlobalConsoleColor(#MyWhite,#MyBlack)
XGlobalClearConsole()
ProcedureReturn result
EndProcedure
ProcedureDLL XOpenConsole4(sizex,sizey,x,y,w,h,title$)
Flags=#PB_Window_TitleBar|#PB_Window_SystemMenu|#PB_Window_BorderLess|#PB_Window_SizeGadget|#PB_Window_MaximizeGadget|#PB_Window_MinimizeGadget
CX=sizex
CY=sizey
FontH=24
Intensity=128
result=XGlobalOpenConsole(x,y,w,h,title$)
XGlobalConsoleColor(#MyWhite,#MyBlack)
XGlobalClearConsole()
ProcedureReturn result
EndProcedure
ProcedureDLL XOpenConsole5(sizex,sizey,x,y,w,h,title$,Flgs)
Flags=Flgs
CX=sizex
CY=sizey
FontH=24
Intensity=128
result=XGlobalOpenConsole(x,y,w,h,title$)
XGlobalConsoleColor(#MyWhite,#MyBlack)
XGlobalClearConsole()
ProcedureReturn result
EndProcedure