PowerBASIC
'''PowerBASIC''' is a small family of compilers for DOS and Windows by PowerBASIC, Inc. Its main selling point is the efficiency of the compiler and its ease of use. (The "easy" part is debatable; working with windows is not as easy as Visual Basic, but then, almost nothing is.) For a brief history of PowerBASIC, read its Wikipedia entry.
Code example
Many of the BASIC examples listed on Rosetta Code will work unchanged in PowerBASIC -- especially the DOS version -- although there are often enough differences between PB and the various other BASICs (especially the Windows versions) to warrant PB-specific examples.
Tasks
- ABC Problem
- Ackermann function
- Address of a variable
- Binary digits
- Boolean values
- CRC-32
- Call a function in a shared library
- Chowla numbers
- Command-line arguments
- Count occurrences of a substring
- Discordian date
- Enforced immutability
- Factorial
- Fibonacci sequence
- Find common directory path
- Globally replace text in several files
- Gray code
- Greatest element of a list
- Hello world!
- Hello world/Graphical
- Hello world/Standard error
- Hello world/Text
- Hostname
- Include a file
- Introspection
- Look-and-say sequence
- Loop over multiple arrays simultaneously
- Luhn test of credit card numbers
- Matrix transposition
- Munchausen numbers
- N-queens problem
- Number names
- Palindrome detection
- Permutations
- Program name
- Quine
- Remove lines from a file
- Repeat a string
- Reverse a string
- Roman numerals/Encode
- Rot-13
- Run-length encoding
- Search a list
- Shoelace formula for polygonal area
- Sort an integer array
- Sort using a custom comparator
- Sorting algorithms/Gnome sort
- Sorting algorithms/Stooge sort
- Text between
- Tokenize a string
- Truncate a file