Liberty BASIC
Liberty BASIC is a procedural programming language for Windows PCs, created by Shoptalk Systems. It was intended as a simple way to create professional programs, with full GUI ability, while still keeping a very simple BASIC syntax. While the current version only supports Windows, the next major release will support Mac OS X and Linux as well. Liberty BASIC runs under Wine on Linux at present.
All tasks on this page are completed by the wonderful Liberty BASIC Community, at the Liberty BASIC Rosetta Code Project
Tasks
- 100 doors
- 15 Puzzle Game
- 24 game
- 24 game/Solve
- A+B
- ABC Problem
- AKS test for primes
- Abundant, deficient and perfect number classifications
- Ackermann function
- Align columns
- Aliquot sequence classifications
- Almost prime
- Anagrams
- Anagrams/Deranged anagrams
- Animate a pendulum
- Animation
- Arbitrary-precision integers (included)
- Arithmetic evaluation
- Arithmetic-geometric mean
- Arithmetic/Complex
- Arithmetic/Integer
- Arithmetic/Rational
- Array concatenation
- Array length
- Arrays
- Assertions
- Associative array/Creation
- Associative array/Iteration
- Average loop length
- Averages/Arithmetic mean
- Averages/Mean angle
- Averages/Mean time of day
- Averages/Median
- Averages/Mode
- Averages/Pythagorean means
- Averages/Root mean square
- Averages/Simple moving average
- Babbage problem
- Balanced brackets
- Balanced ternary
- Benford's law
- Best shuffle
- Binary digits
- Binary search
- Binary strings
- Bitmap/Flood fill
- Bitwise operations
- Boolean values
- Box the compass
- Brownian tree
- Bulls and cows
- Bulls and cows/Player
- CSV to HTML translation
- Caesar cipher
- Call a function
- Case-sensitivity of identifiers
- Catalan numbers
- Character codes
- Check that file exists
- Circles of given radius through two points
- Closest-pair problem
- Color of a screen pixel
- Colour bars/Display
- Comma quibbling
- Command-line arguments
- Comments
- Constrained random points on a circle
- Convert decimal number to rational
- Convert seconds to compound duration
- Copy a string
- Count in factors
- Count in octal
- Count occurrences of a substring
- Create a file
- Create a two-dimensional array at runtime
- Create an HTML table
- Cumulative standard deviation
- Date format
- Day of the week
- Delete a file
- Detect division by zero
- Determine if a string is numeric
- Determine if only one instance is running
- Dot product
- Doubly-linked list/Traversal
- Dragon curve
- Draw a clock
- Draw a cuboid
- Draw a sphere
- Empty directory
- Empty program
- Empty string
- Entropy
- Environment variables
- Equilibrium index
- Ethiopian multiplication
- Evaluate binomial coefficients
- Even or odd
- Evolutionary algorithm
- Execute HQ9+
- Execute a system command
- Exponentiation operator
- Factorial
- Factors of an integer
- Fast Fourier transform
- Fibonacci sequence
- Filter
- Find common directory path
- Find limit of recursion
- Find the last Sunday of each month
- FizzBuzz
- Formatted numeric output
- Fractal tree
- Function definition
- GUI component interaction
- GUI enabling/disabling of controls
- Globally replace text in several files
- Gray code
- Greatest element of a list
- Greatest subsequential sum
- Greyscale bars/Display
- Guess the number
- Guess the number/With feedback
- Guess the number/With feedback (player)
- HTTP
- Hamming numbers
- Happy numbers
- Haversine formula
- Hello world!
- Hello world/Graphical
- Hello world/Newline omission
- Hello world/Text
- Hello world/Web server
- Honeycombs
- Horizontal sundial calculations
- Horner's rule for polynomial evaluation
- Hostname
- Image convolution
- Image noise
- Increment a numerical string
- Input loop
- Integer comparison
- Integer sequence
- Joystick position
- Kaprekar numbers
- Keyboard input/Obtain a Y or N response
- Knuth shuffle
- LZW compression
- Langton's ant
- Leap year
- Least common multiple
- Letter frequency
- Levenshtein distance
- Linear congruential generator
- Literals/String
- Logical operations
- Long multiplication
- Longest common subsequence
- Loop over multiple arrays simultaneously
- Loops/Break
- Loops/Do-while
- Loops/Downward for
- Loops/For
- Loops/For with a specified step
- Loops/Foreach
- Loops/Infinite
- Loops/N plus one half
- Loops/Nested
- Loops/While
- Luhn test of credit card numbers
- MD5
- MD5/Implementation
- Mad Libs
- Magic squares of odd order
- Mandelbrot set
- Matrix multiplication
- Matrix transposition
- Matrix-exponentiation operator
- Miller–Rabin primality test
- Monte Carlo methods
- Morse code
- Multiplication tables
- Munching squares
- Mutual recursion
- N'th
- N-queens problem
- Narcissist
- Non-decimal radices/Convert
- Nth root
- Numerical integration
- Old lady swallowed a fly
- One of n lines in a file
- One-dimensional cellular automata
- OpenGL
- Ordered words
- Palindrome detection
- Pangram checker
- Parsing/RPN calculator algorithm
- Parsing/Shunting-yard algorithm
- Pascal's triangle
- Percentage difference between images
- Perfect numbers
- Permutations
- Pi
- Pick random element
- Pinstripe/Display
- Pinstripe/Printer
- Play recorded sounds
- Playing cards
- Plot coordinate pairs
- Price fraction
- Primality by trial division
- Probabilistic choice
- Problem of Apollonius
- Program name
- Program termination
- Pythagorean triples
- Quaternion type
- Quine
- Random numbers
- Range expansion
- Range extraction
- Rate counter
- Ray-casting algorithm
- Read a configuration file
- Read a file line by line
- Read a specific line from a file
- Read entire file
- Real constants and functions
- Record sound
- Remove duplicate elements
- Rename a file
- Repeat a string
- Return multiple values
- Reverse a string
- Reverse words in a string
- Rock-paper-scissors
- Roman numerals/Decode
- Roman numerals/Encode
- Roots of a function
- Roots of a quadratic function
- Roots of unity
- Rosetta Code/Run examples
- Rot-13
- Run-length encoding
- Runge-Kutta method
- Runtime evaluation
- Runtime evaluation/In an environment
- SEDOLs
- SHA-1
- Scope modifiers
- Search a list
- Semordnilap
- Send email
- Sequence of non-squares
- Sequence of primes by trial division
- Set
- Seven-sided dice from five-sided dice
- Shell one-liner
- Short-circuit evaluation
- Sierpinski carpet
- Sierpinski triangle
- Sierpinski triangle/Graphical
- Sieve of Eratosthenes
- Simple windowed application
- Sleep
- Sort an array of composite structures
- Sort an integer array
- Sort stability
- Sorting algorithms/Bubble sort
- Sorting algorithms/Comb sort
- Sorting algorithms/Heapsort
- Sorting algorithms/Insertion sort
- Sorting algorithms/Merge sort
- Sorting algorithms/Selection sort
- Sorting algorithms/Shell sort
- Speech synthesis
- Spiral matrix
- Stack
- Stair-climbing puzzle
- Statistics/Basic
- Statistics/Normal distribution
- String case
- String concatenation
- String length
- String matching
- Strip a set of characters from a string
- Strip block comments
- Strip comments from a string
- Strip control codes and extended characters from a string
- Strip whitespace from a string/Top and tail
- Substring
- Substring/Top and tail
- Sum and product of an array
- Sum of a series
- Sum of squares
- System time
- Terminal control/Cursor positioning
- Ternary logic
- Tokenize a string
- Trigonometric functions
- Truncate a file
- Truth table
- URL decoding
- URL encoding
- Variables
- Vector products
- Verify distribution uniformity/Naive
- Vigenère cipher
- Web scraping
- Window creation
- Wireworld
- Xiaolin Wu's line algorithm
- Yin and yang