RCRPG/uBasic-4tH: Difference between revisions
m
→Implementation
(Some minor cleanups in the code - spelling, long lines, etc.) |
m (→Implementation) |
||
Line 25:
6 bits = directions (udsnew)
</pre>
The "player" structure was crammed in an integer as well - but that wasn't really required. It's just neat since it makes the code
This implementation really uses [[uBasic/4tH]] strengths. The <code>NAME()</code> function converts an ordinary string to a label, while <code>LINE()</code> returns true when the label has been defined. The <code>PROC</code> keyword can call a procedure directly by using an expression.
|