Category:PureBasic
PureBasic
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 PureBasic.
This programming language may be used to instruct a computer to perform a task.
Official website |
---|
Execution method: | Compiled (machine code) |
---|---|
See Also: |
|
PureBasic is an implementation of BASIC.
Other implementations of BASIC.
PureBasic is an "high-level" programming language based on "BASIC" rules. PureBasic has been created for beginners and experts alike.
PureBasic is a portable programming language with current up to date implementations on Windows, Linux, and MacOS. The same code can be compiled and run natively on each OS. An older version for the Amiga platform is no longer maintained.
PureBasic was first released by Fantaisie Software purebasic.com in 2001. Since then the language is being improved and expanded continuously.
Features
- x86, x64, 680x0 and PowerPC support
- Built-in arrays, dynamic linked lists, complex structures, pointers and variable definitions
- Supported types: Byte (8 bits), Word (16 bits), Long (32 bits), Quad (64 bits), Float (32 bits), Double (64 bits) and Characters
- User defined types (structures)
- Built-in string types (characters), including ascii and unicode
- Powerful macro support
- Constants, binary and hexadecimal numbers supported
- Expression reducer by grouping constants and numeric numbers together
- Standard arithmetic support in respect of sign priority and parenthesis: +, -, /, *, and, or, <<, >>
- Extremely fast compilation
- Procedure support for structured programming with local and global variables
- All Standard BASIC keywords: If-Else-EndIf, Repeat-Until, etc
- Specialized libraries to manipulate BMP pictures, windows, gadgets, DirectX, etc
- Specialized libraries are very optimized for maximum speed and compactness
- The Win32 API is fully supported as if they were BASIC keywords
- Inline Assembler
- Precompiled structures with constants files for extra-fast compilation
- Configurable CLI compiler
- High productivity, comprehensive keywords, online help
- System friendly, easy to install and easy to use
Subcategories
This category has the following 3 subcategories, out of 3 total.
@
- PureBasic Implementations (empty)
- PureBasic User (8 P)
Pages in category "PureBasic"
The following 200 pages are in this category, out of 708 total.
(previous page) (next page)F
- Factors of an integer
- Farey sequence
- FASTA format
- Fibonacci n-step number sequences
- Fibonacci sequence
- Fibonacci word
- File input/output
- File modification time
- File size
- Filter
- Find common directory path
- Find limit of recursion
- Find square difference
- Find the last Sunday of each month
- Find the missing permutation
- First 9 prime Fibonacci number
- Five weekends
- FizzBuzz
- Flatten a list
- Flow-control structures
- Floyd's triangle
- Forest fire
- Formatted numeric output
- Forward difference
- Four bit adder
- Fractal tree
- Frobenius numbers
- Function composition
- Function definition
- Function prototype
G
- Galton box animation
- Gamma function
- Gapful numbers
- Generate lower case ASCII alphabet
- Generic swap
- Get system command output
- Giuga numbers
- Globally replace text in several files
- Go Fish
- Golden ratio/Convergence
- Gray code
- Grayscale image
- Greatest common divisor
- 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)
- GUI component interaction
- GUI enabling/disabling of controls
- GUI/Maximum window dimensions
H
- Hailstone sequence
- Hamming numbers
- Handle a signal
- Happy numbers
- Harshad or Niven series
- Hash from two arrays
- Hash join
- Haversine formula
- Hello world/Graphical
- Hello world/Line printer
- Hello world/Newline omission
- Hello world/Standard error
- Hello world/Text
- Hello world/Web server
- Higher-order functions
- History variables
- Hofstadter Q sequence
- Hofstadter-Conway $10,000 sequence
- Holidays related to Easter
- Honeycombs
- Horizontal sundial calculations
- Horner's rule for polynomial evaluation
- Host introspection
- Hostname
- HTTP
- Huffman coding
I
K
L
- Langton's ant
- Largest five adjacent number
- Largest proper divisor of n
- Last Friday of each month
- Leap year
- Least common multiple
- Leonardo numbers
- Letter frequency
- Levenshtein distance
- Linear congruential generator
- Literals/Floating point
- Literals/Integer
- Literals/String
- Logical operations
- Long literals, with continuations
- Long multiplication
- Long primes
- Long stairs
- Long year
- Longest common subsequence
- Longest common substring
- Longest string challenge
- 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/Infinite
- Loops/N plus one half
- Loops/Nested
- Loops/While
- Loops/With multiple ranges
- Lucas-Lehmer test
- Ludic numbers
- Luhn test of credit card numbers
- LZW compression
M
- Machine code
- Mad Libs
- Magic 8-ball
- Magic constant
- Magic squares of doubly even order
- Magic squares of odd order
- Mandelbrot set
- Map range
- Matrix multiplication
- Matrix transposition
- Maximum triangle path sum
- Mayan numerals
- Maze generation
- Maze solving
- McNuggets problem
- MD5
- Meissel–Mertens constant
- Memory allocation
- Menu
- Merge and aggregate datasets
- Mertens function
- Metered concurrency
- Metronome
- Middle three digits
- Miller–Rabin primality test
- Minesweeper game
- Minimum multiple of m where digital sum equals m
- Minimum numbers of three lists
- Modular inverse
- Monte Carlo methods
- Monty Hall problem
- Morse code
- Mouse position
- Multiple distinct objects
- Multiplication tables
- Multiplicatively perfect numbers
- Munchausen numbers
- Munching squares
- Mutex
- Mutual recursion
- Möbius function