4,577
edits
mNo edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
[[System variable]]s like <source lang=apl inline>⎕TS</source> ([[time stamp]]) might be considered instances of niladic functions but are usually not described this way. | [[System variable]]s like <source lang=apl inline>⎕TS</source> ([[time stamp]]) might be considered instances of niladic functions but are usually not described this way. | ||
In most dialects, a niladic function cannot be created as a [[derived function]] or [[dfn]]. However, an APL programmer can define a [[tradfn]] which takes no arguments: | |||
<source lang=apl> | <source lang=apl> | ||
∇ res←set_a | ∇ res←set_a |