blitz_bbdoc.bmx 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. 'BlitzMax keyword definitions
  2. Rem
  3. keyword: Strict
  4. bbdoc: Use strict mode
  5. about: Strict mode advises the compiler to report as errors all auto defined variables. #Strict should appear
  6. at the top of your source code before any program code.
  7. keyword: End
  8. bbdoc: End program execution
  9. keyword: "Rem"
  10. bbdoc: Begin a remark block
  11. about: All code between #Rem and #EndRem is ignored by the BlitzMax compiler.
  12. keyword: "EndRem"
  13. bbdoc: End a remark block
  14. about:All code between #Rem and #EndRem is ignored by the BlitzMax compiler.
  15. keyword: True
  16. bbdoc: Constant integer of value 1
  17. keyword: False
  18. bbdoc: Constant integer of value 0
  19. keyword: Pi
  20. bbdoc: Constant double of value 3.1415926535897932384626433832795
  21. keyword: Null
  22. bbdoc: Get Default value
  23. about: #Null returns a different value depending on context. When used in a numeric context, the value 0 is
  24. returned. When used in a string or array context, an empty string or array is returned. When used in an
  25. object context, the 'null object' is returned.
  26. keyword: Byte
  27. bbdoc: Unsigned 8 bit integer type
  28. keyword: Short
  29. bbdoc: Unsigned 16 bit integer type
  30. keyword: Int
  31. bbdoc: Signed 32 bit integer type
  32. keyword: Long
  33. bbdoc: Signed 64 bit integer type
  34. keyword: Float
  35. bbdoc: 32 bit Floating point type
  36. keyword: Double
  37. bbdoc: 64 bit floating point type
  38. keyword: String
  39. bbdoc: String type
  40. keyword: Object
  41. bbdoc: Object type
  42. keyword: Var
  43. bbdoc: Composite type specifier for 'by reference' types
  44. keyword: Ptr
  45. bbdoc: Composite type specifier for pointer types
  46. keyword: If
  47. bbdoc: Begin a conditional block.
  48. keyword: Then
  49. bbdoc: Optional separator between the condition and associated code in an If statement.
  50. keyword: Else
  51. bbdoc: Else provides the ability for an If Then construct to execute a second block of code when the If condition is false.
  52. keyword: ElseIf
  53. bbdoc: ElseIf provides the ability to test and execute a section of code if the initial condition failed.
  54. keyword: EndIf
  55. bbdoc: Marks the end of an If Then block.
  56. keyword: For
  57. bbdoc: Marks the start of a loop that uses an iterator to execute a section of code repeatedly.
  58. keyword: To
  59. bbdoc: Followed by a constant which is used to calculate when to exit a For..Next loop.
  60. keyword: Step
  61. bbdoc: Specifies an optional constant that is used to increment the For iterator.
  62. keyword: Next
  63. bbdoc: End a for block
  64. keyword: EachIn
  65. bbdoc: Iterate throough and array or collection
  66. keyword: While
  67. bbdoc: Execute a block of close while a condition is true
  68. keyword: Wend
  69. bbdoc: End a while block
  70. keyword: Repeat
  71. bbdoc: Execute a block of code until a termination condition is met, or forever
  72. keyword: Until
  73. bbdoc: End a repeat block
  74. keyword: Forever
  75. bbdoc: End a repeat block
  76. keyword: Select
  77. bbdoc: Begin a select block
  78. keyword: EndSelect
  79. bbdoc: End a select block
  80. keyword: Case
  81. bbdoc: Conditional code inside a select block
  82. keyword: Default
  83. bbdoc: Default code inside a select block
  84. keyword: Exit
  85. bbdoc: Exit enclosing loop
  86. keyword: Continue
  87. bbdoc: Continue execution of enclosing loop
  88. keyword: Const
  89. bbdoc: Declare a constant
  90. keyword: Local
  91. bbdoc: Declare a local variable
  92. keyword: Global
  93. bbdoc: Declare a global variable
  94. keyword: Field
  95. bbdoc: Declare a field variable
  96. keyword: Function
  97. bbdoc: Begin a function declaration
  98. keyword: EndFunction
  99. bbdoc: End a function declaration
  100. keyword: Return
  101. bbdoc: Return from a function
  102. keyword: Type
  103. bbdoc: Begin a user defined type declaration
  104. keyword: EndType
  105. bbdoc: End a user defined type declaration
  106. keyword: Extends
  107. bbdoc: Specify user defined type supertype
  108. keyword: Method
  109. bbdoc: Begin a method declaration
  110. keyword: EndMethod
  111. bbdoc: End a method declaration
  112. keyword: Abstract
  113. bbdoc: Denote a type or method as <i>abstract</i>
  114. about: An abstract type cannot be instantiated using <font class=token>New</font> - it is designed to be
  115. extended. A type with any abstract methods is itself automatically abstract.
  116. keyword: Final
  117. bbdoc: Denote a type or method as <i>final</i>
  118. about: Final types can not be extended and final methods can not be overridden. All methods of a final
  119. type are themselves automatically final.
  120. keyword: New
  121. bbdoc: Create an instance of a user defined type
  122. keyword: Self
  123. bbdoc: Self is used in BlitzMax Methods to reference the invoking variable.
  124. keyword: Super
  125. bbdoc: Super evaluates to Self cast to the method's immediate base class.
  126. keyword: Delete
  127. bbdoc: Reserved for future expansion
  128. keyword: Release
  129. bbdoc: Release references to a handle or object
  130. keyword: Public
  131. bbdoc: Public makes a variable, function or method accessible from outside the current source file (default).
  132. keyword: Private
  133. bbdoc: Private makes a variable, function or method only accessible from within the current source file.
  134. keyword: Extern
  135. bbdoc: Extern marks the beginning of an external list of function declarations.
  136. keyword: EndExtern
  137. bbdoc: EndExtern marks the end of an Extern section.
  138. keyword: Module
  139. bbdoc: Declare module scope and identifier
  140. keyword: ModuleInfo
  141. bbdoc: Define module properties
  142. keyword: Incbin
  143. bbdoc: Embed a data file
  144. keyword: IncbinPtr
  145. bbdoc: Get start address of embedded data file
  146. keyword: IncbinLen
  147. bbdoc: Get length of embedded data file
  148. keyword: Import
  149. bbdoc: Import declarations from a module of source file
  150. keyword: Assert
  151. bbdoc: Throw a runtimeerror if a condition is false
  152. keyword: Goto
  153. bbdoc: Transfer program flow to specified label
  154. keyword: Try
  155. bbdoc: Begin declaration of a try block
  156. keyword: EndTry
  157. bbdoc: End declaration of a try block
  158. keyword: Catch
  159. bbdoc: Catch an exception object in a try block
  160. keyword: Throw
  161. bbdoc: Throw an exception object to the enclosing try block
  162. keyword: DefData
  163. bbdoc: Define class BASIC style data
  164. keyword: ReadData
  165. bbdoc: Read classic BASIC style data
  166. keyword: RestoreData
  167. bbdoc: Restore classic BASIC style data
  168. keyword: And
  169. bbdoc: Conditional 'and' binary operator
  170. keyword: Or
  171. bbdoc: Conditional 'Or' binary operator
  172. keyword: Not
  173. bbdoc: Conditional 'Not' binary operator
  174. keyword: Shl
  175. bbdoc: Bitwise 'Shift left' binary operator
  176. keyword: Shr
  177. bbdoc: Bitwise 'Shift right' binary operator
  178. keyword: Sar
  179. bbdoc: Bitwise 'Shit arithmetic right' binary operator
  180. keyword: Len
  181. bbdoc: Number of characters in a string or elements in an array
  182. keyword: Abs
  183. bbdoc: Numeric 'absolute value' unary operator
  184. keyword: Mod
  185. bbdoc: Numeric 'modulus' or 'remainder' binary operator
  186. keyword: Sgn
  187. bbdoc: Numeric 'sign' unary operator
  188. keyword: Min
  189. bbdoc: Numeric 'minimum' binary operator
  190. keyword: Max
  191. bbdoc: Numeric 'maximum' binary operator
  192. keyword: Varptr
  193. bbdoc: Find the address of a variable
  194. keyword: SizeOf
  195. bbdoc: Bytes of memory occupied by a variable, string, array or object
  196. keyword: Asc
  197. bbdoc: Get character value of the first character of a string
  198. about: #Asc returns -1 if string has 0 length.
  199. keyword: Chr
  200. bbdoc: Create a string of length 1 with a character code
  201. EndRem