Jump to content

RCRPG/uBasic-4tH: Difference between revisions

m
(Some minor cleanups in the code - spelling, long lines, etc.)
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 muchmore harder to understandinteresting.
 
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.
374

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.