Code: Select all
startshape begin
shape circular (number radius) {
CIRCLE [ s radius ]
}
shape forbidden (number minrad, number maxrad) {
circular(rand(minrad, maxrad)) [ ]
}
shape begin {
forbidden(10, 20) [ ]
}
Code: Select all
Error in restrict.cfdg at line 8 - This expression does not satisfy the number parameter requirement
Code: Select all
startshape begin
shape circular (number radius) {
CIRCLE [ s radius ]
}
shape allowed (number minrad, number maxrad) {
circular(rand(maxrad)) [ ]
}
shape begin {
allowed(10, 20) [ ]
}
— Scott