20,741
edits
m (→The SymbolCache: oops) |
|||
Line 749: | Line 749: | ||
* color | * color | ||
Otherwise, everything else can be considered to be "hard-coded". The only other thing worth keeping in mind here is that Nasal will implicitly return the last expression to the caller absent any explicit return statements - i.e. the group will be returned to the caller. | Otherwise, everything else can be considered to be "hard-coded". The only other thing worth keeping in mind here is that Nasal will implicitly return the last expression to the caller absent any explicit return statements - i.e. the group will be returned to the caller (for the sake of clarity, you could also add an explicit return statement here). | ||
However, the code snippet above is just a drawing routine that is still unknown to the system, so that needs to be done is to set up a corresponding cache entry, which can be seen below: | However, the code snippet above is just a drawing routine that is still unknown to the system, so that needs to be done is to set up a corresponding cache entry, which can be seen below: |