Un-Dimming an Array [message #199551] |
Wed, 15 April 2009 15:08 |
JB
Messages: 42 Registered: January 2013
Karma: 0
|
Member |
|
|
Is it possible? Well in some form it is possible. Image BBS somehow
does this. For those who do not know, Image is made up of a main
module and it loads in smaller modules for different commands, games,
etc. In each of those modules its possible to DIM an array and it can
be re-dimmed (i guess for lack of a better word) every time that
module is ran.
Any ideas how this is accomplished?
Its one of those things that just really bugs me that I cant figure
out. haha
|
|
|
Re: Un-Dimming an Array [message #199552 is a reply to message #199551] |
Wed, 15 April 2009 15:22 |
|
Originally posted by: lyricalnanoha
On Wed, 15 Apr 2009, JB wrote:
> Is it possible? Well in some form it is possible. Image BBS somehow
> does this. For those who do not know, Image is made up of a main
> module and it loads in smaller modules for different commands, games,
> etc. In each of those modules its possible to DIM an array and it can
> be re-dimmed (i guess for lack of a better word) every time that
> module is ran.
>
> Any ideas how this is accomplished?
>
> Its one of those things that just really bugs me that I cant figure
> out. haha
Might've gone into variable space and deleted the entry for the array?
I think I've heard of people doing it on Applesoft BASIC which shares a
large part of its code with the C64's BASIC.
-uso.
|
|
|
Re: Un-Dimming an Array [message #199559 is a reply to message #199551] |
Wed, 15 April 2009 22:12 |
Alan Jones
Messages: 70 Registered: January 2012
Karma: 0
|
Member |
|
|
On Wed, 15 Apr 2009 12:08:47 -0700 (PDT), JB <jbrown1289@gmail.com>
wrote:
> Is it possible? Well in some form it is possible. Image BBS somehow
> does this. For those who do not know, Image is made up of a main
> module and it loads in smaller modules for different commands, games,
> etc. In each of those modules its possible to DIM an array and it can
> be re-dimmed (i guess for lack of a better word) every time that
> module is ran.
>
> Any ideas how this is accomplished?
>
> Its one of those things that just really bugs me that I cant figure
> out. haha
If i understand your question, COMAL can do that, and C64 Basic does
not. I do not know whatImage BBS does.
Alan
|
|
|
Re: Un-Dimming an Array [message #199569 is a reply to message #199559] |
Fri, 17 April 2009 19:02 |
Groepaz
Messages: 640 Registered: December 2011
Karma: 0
|
Senior Member |
|
|
Alan Jones wrote:
> On Wed, 15 Apr 2009 12:08:47 -0700 (PDT), JB <jbrown1289@gmail.com>
> wrote:
>
>> Is it possible? Well in some form it is possible. Image BBS somehow
>> does this. For those who do not know, Image is made up of a main
>> module and it loads in smaller modules for different commands, games,
>> etc. In each of those modules its possible to DIM an array and it can
>> be re-dimmed (i guess for lack of a better word) every time that
>> module is ran.
>>
>> Any ideas how this is accomplished?
>>
>> Its one of those things that just really bugs me that I cant figure
>> out. haha
>
> If i understand your question, COMAL can do that, and C64 Basic does
> not. I do not know whatImage BBS does.
CLR is the way to do it. (delete all variables, then DIM then again) or use
some ml trickery :)
--
http://www.hitmen-console.org http://magicdisk.untergrund.net
http://www.pokefinder.org http://ftp.pokefinder.org
It is essential to understand that everybody sucked in the beginning.
<Kristofer Dahl>
|
|
|
Re: Un-Dimming an Array [message #199571 is a reply to message #199569] |
Fri, 17 April 2009 21:04 |
JB
Messages: 42 Registered: January 2013
Karma: 0
|
Member |
|
|
On Apr 17, 7:02 pm, Groepaz <groe...@gmx.net> wrote:
> Alan Jones wrote:
>> On Wed, 15 Apr 2009 12:08:47 -0700 (PDT), JB <jbrown1...@gmail.com>
>> wrote:
>
>>> Is it possible? Well in some form it is possible. Image BBS somehow
>>> does this. For those who do not know, Image is made up of a main
>>> module and it loads in smaller modules for different commands, games,
>>> etc. In each of those modules its possible to DIM an array and it can
>>> be re-dimmed (i guess for lack of a better word) every time that
>>> module is ran.
>
>>> Any ideas how this is accomplished?
>
>>> Its one of those things that just really bugs me that I cant figure
>>> out. haha
>
>> If i understand your question, COMAL can do that, and C64 Basic does
>> not. I do not know whatImage BBS does.
>
> CLR is the way to do it. (delete all variables, then DIM then again) or use
> some ml trickery :)
>
> --
>
> http://www.hitmen-console.org http://magicdisk.untergrund.nethttp://www.pokefinder.org http://ftp.pokefinder.org
>
> It is essential to understand that everybody sucked in the beginning.
> <Kristofer Dahl>- Hide quoted text -
>
> - Show quoted text -
Thats the thing, I dont want to delete all the variables. Plus
executing a CLR also clears out gosub pointers so if you are in a sub
routine you will get a return without gosub error.
|
|
|