PureBasic User Guide: Full Contents

(Note that this is the contents of the User Guide, and may not contain information about every single aspect of PureBasic. The Reference section of the manual has a complete listing and explanation of everything.)

Part I - Internal and important basic commands

  1. Getting Started
    1. Introduction
    2. About PureBasic
    3. User Guide overview
    4. Conventions used in this guide
    5. How to get PureBasic
    6. Installing and running PureBasic
    7. Using the editor
  2. Your first PureBasic program
    1. Introduction and Requirements
    2. Fundamentals of the PureBasic language
    3. Your first program!
    4. Breakdown and explanation of the program
    5. Summary
  3. Variables
    1. Introduction and Requirements
    2. What are variables?
    3. Variable types
    4. Creating variables
    5. Summary
  4. Simple processing of variables
    1. Introduction and Requirements
    2. Equals
    3. Addition
    4. Subtraction
    5. Multiplication and Division
    6. Operator precedence
    7. Expressions
    8. Summary
    9. Practise exercises
  5. Loops and decisions
    1. Introduction
    2. Comparison operators
    3. Choosing to execute some instructions (If...Else...EndIf)
    4. Choosing one set of instructions from a set (Select...Case...EndSelect)
    5. Repeating instructions a set number of times (For...Next)
    6. Repeating instructions while something is happening (While...Wend)
    7. Repeating instructions until something happens (Repeat...Until)
    8. Exiting loops early (Goto, FakeEndSelect)
    9. Summary
    10. Exercises
  6. Interacting with the user
    1. Introduction
    2. Creating text displays
    3. Displaying text
    4. Reading values from the user
    5. Changing the appearance of the display
    6. Summary
    7. Exercises
  7. String manipulation
    1. Introduction
    2. Conversions between numbers, strings and vice versa
    3. Text searching commands
    4. Cutting up and selecting parts of strings
    5. Character manipulation commands
    6. Summary
    7. Exercises
  8. Working with lots of data
    1. Introduction
    2. Creating arrays
    3. Accessing arrays
    4. Sorting arrays
    5. Creating lists
    6. Accessing lists
    7. Navigating lists
    8. Summary
    9. Exercises
  9. Advanced variable types
    1. Introduction
    2. User defined types (Structure...EndStructure)
    3. (Unions)
    4. (SizeOf)
    5. Summary
    6. Exercises
  10. Structuring code for re-usability
    1. Introduction
    2. (Gosub...Return)
    3. (Procedures)
    4. (Global, Shared, Protected)
    5. Summary
    6. Exercises
  11. Compiler commands
    1. Constants
    2. Including data in your program
    3. Including multiple files in your program
    4. Selective compiling
    5. Summary
  12. Memory access
    1. Introduction
    2. Pointers
    3. Poking and peeking
    4. Addresses of procedures
    5. Label addresses
    6. (Memory library)
    7. Summary
    8. Exercises
  13. Advanced mathematical operations
    1. Introduction
    2. (Math library)
    3. (Bitwise operators)
    4. Summary
    5. Exercises
  14. Debugging your programs
    1. Introduction
    2. The debugger window
    3. Controlling the debugger from your program
    4. Summary
    5. Exercises
  15. Further reading
    1. Hints for further development
    2. Useful online resources
    3. Brief library descriptions