Metapost allows you to set a seed for the random number generator, so that you can get a predictable sequence of numbers from uniformdeviate and normaldeviate.
I can set it like this: randomseed := 1234; just like any other parameter or variable. But when I try to query the value, with a simple program like this:
show randomseed;
end.
I get an this error:
! An expression can't begin with `randomseed'.
Is there some other way to query the current value of randomseed?
randomseedis a<command>, not a variable. Page 95 of mpman.pdf (texdoc metapost). Sorry, but I don't have the Metafontbook at hand for checking there. – egreg Aug 20 '15 at 22:40:=after it as if it was a variable, but I guess that's a TeX history question. – Thruston Aug 21 '15 at 14:27day+time*epsilon-- this might provide the basis of an answer. – Thruston Aug 21 '15 at 15:37