Natural Number Parameters
Posted: Tue Mar 12, 2013 1:35 pm
So, I have the following code in something I'm working on.
When I set INSERT_NATURAL_NUMBER_HERE to 0, 1 or 2, it works.
It doesn't work for anything above 3: "Error - Expression does not evaluate to a legal natural number"
Also, I tried using a static random integer there too by the form of floor(rand_static(0,8)), and that didn't work either.
I'm using Context Free 3.0.5 (v34) 64-bit for Windows
Code: Select all
shape A(natural n){
base(n)[b 1 sat 1]
A(n+INSERT_NATURAL_NUMBER_HERE)[s .99 y 2 r 15]
}
It doesn't work for anything above 3: "Error - Expression does not evaluate to a legal natural number"
Also, I tried using a static random integer there too by the form of floor(rand_static(0,8)), and that didn't work either.
I'm using Context Free 3.0.5 (v34) 64-bit for Windows