"Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.at> writes:
> Would we be happy with the following, which would work ?
> } while (z <= 0 || z == MAX_RANDOM_VALUE);
I suppose this doesn't?
} while (z <= 0 || z >= MAX_RANDOM_VALUE);
regards, tom lane