⚠️ Warning: This is a draft ⚠️

This means it might contain formatting issues, incorrect code, conceptual problems, or other severe issues.

If you want to help to improve and eventually enable this page, please fork RosettaGit's repository and open a merge request on GitHub.

{{implementation|BASIC}}'''uBasic/4tH''' (not to be confused with [[UBASIC]]) is an integer Basic interpreter in the tradition of Tiny BASIC, with which it is largely compatible. This version is entirely written in [[4tH]], some bugs have been removed and several additional features have been added, like user stack support and structured programming:

*PUSH, POP() and TOS() can be used to emulate DATA statements, pass parameters to subroutines or make recursive subroutines; *DO, LOOP, UNTIL, WHILE, CONTINUE and BREAK supported; *Multi line IF..THEN..ELSE..ENDIF supported; *Parameter passing supported by GOSUB, RETURN and FUNC() extensions; *Local variables supported, both initialized and uninitialized; *Alphanumeric labels supported; *"Structured Basic" commenting style.

==See also:==

  • [http://sourceforge.net/p/forth-4th/wiki/uBasic%20and%20Tiny%20BASIC/ uBasic and Tiny BASIC]
  • [http://sourceforge.net/p/forth-4th/wiki/Basically%20a%20touch%20of%20Forth/ Basically a touch of Forth]