kalan_vod wrote:Also we could make it where it creates a appvar for savegames!
found something for that, actually it can be used with any game you´re making :
http://www.ticalc.org/archives/files/fi ... 34443.html
Moderator: tr1p1ea
kalan_vod wrote:Also we could make it where it creates a appvar for savegames!
I now use this in every xLIB program. VERY good idea.necro wrote:Code: Select all
:1 :real(0 :If not(Ans :Then :ClrHome :Disp "PLEASE INSTAL XLIB BEFORE TRYING TO RUN THIS GAME :Pause :End :If not(Ans :Stop
You might want to dothreefingeredguy wrote:I now use this in every xLIB program. VERY good idea.necro wrote:Code: Select all
:1 :real(0 :If not(Ans :Then :ClrHome :Disp "PLEASE INSTAL XLIB BEFORE TRYING TO RUN THIS GAME :Pause :End :If not(Ans :Stop
Code: Select all
:1
:real(0
:If not(Ans
:Then
:ClrHome
:Output(1,1,"PLEASE INSTAL XLIB BEFORE TRYING TO RUN THIS GAME
:Pause
:End
:If not(Ans
:Stop
Code: Select all
:1
:real(0
:If not(Ans
:Then
:Output(1,1,"*--------------*-PLEASE INSTALL-- xLIB -*--------------*
:Stop
:End
Correct, and thats what I do just wasn't sure if the leak was there or not thanks for confirming that.threefingeredguy wrote:Actually I doThe Stop won't cause a memory leak there since it restores the program stack and exits. I think it also doesn't display Done.Code: Select all
:1 :real(0 :If not(Ans :Then :Output(1,1,"*--------------*-PLEASE INSTALL-- xLIB -*--------------* :Stop :End