Hi there:
Here goes a newbie's question.
I was playing around with rnd function and randomize statement and noticed that seed values may be entered without the parentheses.
I was wondering why such behavior is possible since my understanding was that any paramenters (for functions, at least) should ALWAYS be given between parentheses.
The help file shows the following:
Rnd[(number)]
The optional number argument is a Single or any valid numeric expression
Randomize [number]
The optional number argument is a Variant or any valid numeric expression.
Notice that for the rnd function the parentheses are there (eventhough it works without them).
Any comments/ideas?
Tks.
Here goes a newbie's question.
I was playing around with rnd function and randomize statement and noticed that seed values may be entered without the parentheses.
I was wondering why such behavior is possible since my understanding was that any paramenters (for functions, at least) should ALWAYS be given between parentheses.
The help file shows the following:
Rnd[(number)]
The optional number argument is a Single or any valid numeric expression
Randomize [number]
The optional number argument is a Variant or any valid numeric expression.
Notice that for the rnd function the parentheses are there (eventhough it works without them).
Any comments/ideas?
Tks.