The manual (p. 58) claims it's permitted to omit any of the 3 extra parameters of a scalar, but taking out the default one something goes wrong.
The following example does NOT produces an error, while it supposed to.
function foo( scalar a[0:2:])
a = 3000
Log in to post a comment.