Archive: variables to alter DM-gridsize, between(x,y,z)


19th August 2004 15:56 UTC

variables to alter DM-gridsize, between(x,y,z)
What I would like to see are two things:
Two variables for altering the gridsize in a DM (say, gridx and gridy), so you can alter the gridsize dynamic.

An between(x,y,z) function. for obvious reasons where:
x must be between y and z to give 1 and 0 if x is no between y and z.
y and z must be able to be switched if pleased.


19th August 2004 17:08 UTC

Okay I understand your first request, good idea, would be a really handy feature.

that second one took me a long time to work out what the hell you meant but I see now. Still I dont really think its necessary, I mean would:

between(x,y,z);

really be much quicker and/or easier than:

band(above(x,y),below(x,z));

:confused:


19th August 2004 18:07 UTC

i'm betting no, since implementing it would require essentially the same code. it'd pretty much only be a typing shortcut.

unless by "y and z must be able to be switched if pleased" you mean something like
between(x,y,z)==if(above(y,z),band(below(x,y),above(x,z)),band(above(x,y),below(x,z)))


20th August 2004 09:39 UTC

Being able to switch them is just adding a catch for lazy coders... which is not good.


20th August 2004 09:49 UTC

Hmm, i think the dynamic gridsize has been requested many many many times before.

The second idea... i concur with PAK-9 & atero on that. You rarely get to see new features on avs that can be already be done (if in a longer way, but still (like my fps variable request :p))


20th August 2004 09:52 UTC

I meant that if y>z it would make no difference with y<z. Problem might be that the delta would be negative... that's all.. sorry to make it sound complex.

Okay. opinions are clear. Let's drop this (= between(x,y,z)) into the well of oblivion now...