| 1236 | | Eval() works the same way as xget(), except that it performs %-substitutions |
|---|
| 1237 | | and function evaluation on the attribute before returning the value. eval() |
|---|
| 1238 | | does not modify the stack (%0-%9), so the attribute being evaled sees the |
|---|
| 1239 | | same values for them that the calling code does. Unless you need this behavior, |
|---|
| 1240 | | it is better to use u() instead, which hides the caller's stack. |
|---|
| | 1236 | Eval() works the same way as xget(), except that it performs |
|---|
| | 1237 | %-substitutions and function evaluation on the attribute before |
|---|
| | 1238 | returning the value. eval() changes the enactor (%#) to the object |
|---|
| | 1239 | executing the eval (%!). It does not modify the stack (%0-%9), so |
|---|
| | 1240 | the attribute being evaled sees the same values for them that the |
|---|
| | 1241 | calling code does. Unless you need this behavior, it is better to |
|---|
| | 1242 | use u() instead, which hides the caller's stack. |
|---|