BASIC256
This programming language may be used to instruct a computer to perform a task.
Listed below are all of the tasks on Rosetta Code which have been solved using BASIC256.
This programming language may be used to instruct a computer to perform a task.
Official website |
---|
Lang tag(s): | BASIC256 |
---|---|
See Also: |
|
Your Help Needed
If you know BASIC256, please write code for some of the tasks not implemented in BASIC256.
If you know BASIC256, please write code for some of the tasks not implemented in BASIC256.
BASIC256 is an implementation of BASIC.
Other implementations of BASIC.
BASIC-256 is an easy to use version of BASIC designed to teach anybody (especially middle and high-school students) the basics of computer programming. It uses traditional control structures like gosub, for/next, and goto, which helps kids easily see how program flow-control works. It has a built-in graphics mode which lets them draw pictures on screen in minutes, and a set of detailed, easy-to-follow tutorials that introduce programming concepts through fun exercises.
- Features
- fast graphics suitable for animation
- native speech synthesis
- mouse and keyboard events
- graphic files manipulation (saving, retrieving)
- playing sounds from WAV files
- sprites handling
- database functions
- socket networking
- error handling
- files I/O
- true functions/subroutines (version 0.9.9.1 and later)
- Disadvantages
- BASIC-256 does not support three- and N-dimensional arrays in general (N>2)
BASIC256 is open source and available for Linux, Windows and Mac.
For more information see basic256.org or to download and install sourceforge.
Pages in category "BASIC256"
The following 359 pages are in this category, out of 359 total.
A
- A+B
- Abundant odd numbers
- Ackermann function
- Additive primes
- Air mass
- Aliquot sequence classifications
- Almost prime
- Amicable pairs
- Angle difference between two bearings
- Animation
- Anonymous recursion
- Anti-primes
- Archimedean spiral
- Arithmetic-geometric mean
- Arithmetic/Integer
- Array concatenation
- Array length
- Arrays
- Assertions
- Associative array/Creation
- Associative array/Iteration
B
C
- Caesar cipher
- Calculating the value of e
- Call a function
- Cantor set
- Carmichael 3 strong pseudoprimes
- Case-sensitivity of identifiers
- Catalan numbers
- Catamorphism
- Chaos game
- Character codes
- Chebyshev coefficients
- Check that file exists
- Chinese zodiac
- Circles of given radius through two points
- Closest-pair problem
- Code Golf: Code Golf
- Color of a screen pixel
- Colour pinstripe/Display
- Combinations with repetitions
- Comments
- Compare length of two strings
- Concatenate two primes is also prime
- Conditional structures
- Constrained random points on a circle
- Conway's Game of Life
- Copy a string
- Count in factors
- Count in octal
- Count occurrences of a substring
- Create a two-dimensional array at runtime
- Create an object/Native demonstration
- Cullen and Woodall numbers
D
E
F
- Factorial
- Factors of an integer
- Farey sequence
- FASTA format
- Feigenbaum constant calculation
- Fibonacci n-step number sequences
- Fibonacci sequence
- File extension is in extensions list
- File input/output
- Find common directory path
- Find first and last set bit of a long integer
- Find limit of recursion
- Find minimum number of coins that make a given value
- Find square difference
- Find the intersection of two lines
- First 9 prime Fibonacci number
- First power of 2 that has leading decimal digits of 12
- FizzBuzz
- FizzBuzz/Basic
- Flatten a list
- Flow-control structures
- Floyd's triangle
- Forest fire
- Fractal tree
- Frobenius numbers
- Function definition
- Fusc sequence
G
- Galton box animation
- Gamma function
- Gapful numbers
- Generate Chess960 starting position
- Generate lower case ASCII alphabet
- Generate random numbers without repeating a value
- Generic swap
- Grayscale image
- Greatest common divisor
- Greatest element of a list
- Greyscale bars/Display
- Guess the number
- Guess the number/With feedback
H
- Hamming numbers
- Happy numbers
- Harmonic series
- Harshad or Niven series
- Hash from two arrays
- Haversine formula
- Hello world/Graphical
- Hello world/Line printer
- Hello world/Newbie
- Hello world/Newline omission
- Hello world/Standard error
- Hello world/Text
- Here document
- Hofstadter Q sequence
- Hofstadter-Conway $10,000 sequence
- Horizontal sundial calculations
I
K
L
- Largest number divisible by its digits
- Largest proper divisor of n
- Last letter-first letter
- Leap year
- Least common multiple
- Leonardo numbers
- Literals/Integer
- Literals/String
- Logical operations
- Long literals, with continuations
- Long year
- Longest common subsequence
- Longest common substring
- Look-and-say sequence
- Loop over multiple arrays simultaneously
- Loops/Break
- Loops/Continue
- Loops/Do-while
- Loops/Downward for
- Loops/For
- Loops/For with a specified step
- Loops/Foreach
- Loops/Increment loop index within loop body
- Loops/Infinite
- Loops/N plus one half
- Loops/Nested
- Loops/While
- Loops/With multiple ranges
- Loops/Wrong ranges
- Luhn test of credit card numbers
M
- Mad Libs
- Magic 8-ball
- Magic constant
- Mandelbrot set
- Map range
- Matrix transposition
- Maximum difference between adjacent elements of list
- Maze generation
- MD5
- Mersenne primes
- Minesweeper game
- Minimum multiple of m where digital sum equals m
- Minimum number of cells after, before, above and below NxN squares
- Minimum primes
- Monte Carlo methods
- Monty Hall problem
- Motzkin numbers
- Multiplication tables
- Musical scale
- Mutual recursion
- Möbius function
N
P
- Palindrome dates
- Pangram checker
- Penney's game
- Perfect numbers
- Perfect totient numbers
- Periodic table
- Permutations
- Permutations by swapping
- Permutations with repetitions
- Pi
- Pick random element
- Pig the dice game
- Piprimes
- Population count
- Price fraction
- Primality by trial division
- Primality by Wilson's theorem
- Prime numbers which contain 123
- Prime triplets
- Primes whose sum of digits is 25
- Primes with digits in nondecreasing order
- Probabilistic choice
- Problem of Apollonius
- Product of divisors
- Program termination
- Proper divisors
- Pythagoras tree
R
- Ramsey's theorem
- Random numbers
- Rate counter
- Read a file character by character/UTF8
- Read a file line by line
- Read a specific line from a file
- Read entire file
- Real constants and functions
- Reduced row echelon form
- Remove duplicate elements
- Remove vowels from a string
- Repeat a string
- Reverse the order of lines in a text file while preserving the contents of each line
- Reverse words in a string
- Roman numerals/Decode
- Roman numerals/Encode
- Rot-13
- RPG attributes generator
- Run-length encoding
- Runge-Kutta method
S
- Safe and Sophie Germain primes
- Safe primes and unsafe primes
- Semiprime
- Sequence of non-squares
- Sequence of primes by trial division
- Shift list elements to left by 3
- Shoelace formula for polygonal area
- Sierpinski carpet
- Sierpinski triangle
- Sieve of Eratosthenes
- Sine wave
- Sleep
- Sleeping Beauty problem
- Smallest multiple
- Smallest square that begins with n
- Smarandache prime-digital sequence
- Snake and Ladder
- Solve equations with substitution method
- Solve hanging lantern problem
- Sort primes from list to a list
- Sorting algorithms/Bubble sort
- Sorting algorithms/Counting sort
- Special divisors
- Speech synthesis
- Split a character string based on change of character
- Start from a main routine
- Stern-Brocot sequence
- String append
- String comparison
- String concatenation
- String interpolation (included)
- String prepend
- Strip a set of characters from a string
- Substring
- Substring primes
- Sum and product of an array
- Sum digits of an integer
- Sum multiples of 3 and 5
- Sum of a series
- Sum of divisors
- Sum of elements below main diagonal of matrix
- Sum of first n cubes
- Sum of squares
- Sum of two adjacent numbers are primes
- Sylvester's sequence
- System time
T
- Tau function
- Tau number
- Temperature conversion
- Terminal control/Clear the screen
- Terminal control/Display an extended character
- Ternary logic
- The Name Game
- The Twelve Days of Christmas
- Thue-Morse
- Tic-tac-toe
- Time a function
- Tokenize a string
- Topic variable
- Towers of Hanoi
- Trabb Pardo–Knuth algorithm
- Trigonometric functions
- Triplet of three numbers
- Twin primes
- Two identical strings