true
'''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:
Tasks
- AKS test for primes
- Abundant, deficient and perfect number classifications
- Almost prime
- Apply a callback to an array
- Arrays
- Binary digits
- Binary search
- Boolean values
- Box the compass
- Bulls and cows
- Calendar
- Character codes
- Chinese remainder theorem
- Convert seconds to compound duration
- Count the coins
- Digital root
- Dinesman's multiple-dwelling problem
- Evolutionary algorithm
- Factors of a Mersenne number
- Five weekends
- Forest fire
- Function definition
- Generate lower case ASCII alphabet
- Generic swap
- Greatest element of a list
- Hamming numbers
- Happy numbers
- Harshad or Niven series
- Haversine formula
- Hofstadter Figure-Figure sequences
- Hofstadter Q sequence
- Knuth shuffle
- Leap year
- Least common multiple
- Linear congruential generator
- Logical operations
- Loops/Break
- Lucas-Lehmer test
- Magic squares of odd order
- Mandelbrot set
- Modular inverse
- Multifactorial
- Multiplication tables
- Mutual recursion
- N'th
- Pascal's triangle
- Primality by trial division
- Rock-paper-scissors
- Roman numerals/Encode
- Sailors, coconuts and a monkey problem
- Sierpinski carpet
- Sierpinski triangle
- Sorting Algorithms/Circle Sort
- Sorting algorithms/Bubble sort
- Sorting algorithms/Cocktail sort
- Sorting algorithms/Comb sort
- Sorting algorithms/Gnome sort
- Sorting algorithms/Heapsort
- Sorting algorithms/Insertion sort
- Sorting algorithms/Pancake sort
- Sorting algorithms/Quicksort
- Sorting algorithms/Selection sort
- Sorting algorithms/Shell sort
- Sorting algorithms/Stooge sort
- Spiral matrix
- Stem-and-leaf plot
- Subleq
- Subtractive generator
- Thue-Morse
- Twelve statements
- Variables
- Variadic function
- Vector products
- Zeckendorf number representation
- Zero to the zero power
- Zig-zag matrix