[Ohrrpgce] SVN: james/5025 Replace hardcoded instances of 4095 (and one 4096) with the new const ma

James Paige Bob at HamsterRepublic.com
Wed Feb 8 06:50:21 PST 2012


On Wed, Feb 08, 2012 at 07:53:15PM +1300, Ralph Versteegen wrote:
> 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).
> 

I am still confused about how the max global relates to the max tag

---
James



More information about the Ohrrpgce mailing list