Page 2 of 2

Posted: Sat 07 Jan, 2006 2:31 pm
by Spellshaper
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

Posted: Sat 07 Jan, 2006 3:03 pm
by kalan_vod
Thanks, but I rather not have a pic set to the side just for using his little program :P as I have plenty of people to thank already. Also welcome to the boards!

Posted: Mon 09 Jan, 2006 2:17 am
by necro
...actualy, only the shell maker would have to put that in their credits and use room on their flash page...but it seems like it be better to make a new prgram for it that'd be a little faster than 5-10 minutes on occasion.

Re: A way to test for xlib instalation? What about a shell?

Posted: Mon 06 Feb, 2006 4:38 pm
by threefingeredguy
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
I now use this in every xLIB program. VERY good idea.

Re: A way to test for xlib instalation? What about a shell?

Posted: Mon 06 Feb, 2006 10:23 pm
by kalan_vod
threefingeredguy wrote:
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
I now use this in every xLIB program. VERY good idea.
You might want to do

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

Posted: Tue 07 Feb, 2006 12:30 am
by threefingeredguy
Actually I do

Code: Select all

:1 
:real(0 
:If not(Ans 
:Then
:Output(1,1,"*--------------*-PLEASE INSTALL--     xLIB     -*--------------*
:Stop
:End 
The Stop won't cause a memory leak there since it restores the program stack and exits. I think it also doesn't display Done.

Posted: Tue 07 Feb, 2006 12:55 am
by kalan_vod
threefingeredguy wrote:Actually I do

Code: Select all

:1 
:real(0 
:If not(Ans 
:Then
:Output(1,1,"*--------------*-PLEASE INSTALL--     xLIB     -*--------------*
:Stop
:End 
The Stop won't cause a memory leak there since it restores the program stack and exits. I think it also doesn't display Done.
Correct, and thats what I do just wasn't sure if the leak was there or not thanks for confirming that.

Posted: Thu 09 Feb, 2006 3:13 am
by katmaster
Quick question, what's the point of the :1 at the beginning?

Posted: Thu 09 Feb, 2006 3:15 am
by kalan_vod
I believe that real is affected by Ans if xlib isn't installed.

Posted: Thu 09 Feb, 2006 6:09 pm
by necro
that is indeed the principal on which I based that