[Ohrrpgce] SVN: james/5025 Replace hardcoded instances of 4095 (and one 4096) with the new const ma
Ralph Versteegen
teeemcee at gmail.com
Tue Feb 7 22:53:15 PST 2012
On 8 February 2012 15:19, <subversion at hamsterrepublic.com> wrote:
> james
> 2012-02-07 18:19:44 -0800 (Tue, 07 Feb 2012)
> 402
> Replace hardcoded instances of 4095 (and one 4096) with the new const maxScriptGlobals
> Taking care to only update the ones that are actually relevant to globals ;)
>
> There is one 4095 in customsubs.bas in cond_grabber()
> that I was a little puzzled about, so I left it unchanged with a comment,
> I would appreciate it if you could take a look at it, tmc, since you
> know cond_grabber so much better than I
The "future proofing" refers to raising the maximum tag number above
(max global) 4095 in the future. Conditions can test global variable
values (not used anywhere yet, of course ... I think).
> ---
> U wip/const.bi
> U wip/customsubs.bas
> U wip/game.bas
> U wip/hsinterpreter.bas
> U wip/hspeak.exw
> U wip/moresubs.bas
> U wip/savegame.rbas
> U wip/yetmore.bas
More information about the Ohrrpgce
mailing list