Keyword page blueprint - QB64 Wiki

Keyword page blueprint

From QB64 Wiki

Jump to: navigation, search

PLEASE DO NOT EDIT THIS PAGE! USE THE SANDBOX FOR TESTING. LOOK IN "Special pages" link on the left for "Uncategorized Templates". The "Sandbox" is there

A brief one-line summary.


Syntax:

result = KEYWORD(parameter1%, parameter2$)


Description:

  • Table of Content formats, TOCs, are NOT to be used in KEYWORD list pages.
  • Please use Concise descriptions and behaviors kept to a beginner programming level.
  • Parameter names are lowerCamelCase and type-suffixed (if appropriate)
  • Keywords are placed within a call to the Template:KW template, like {{KW|KEYWORD}}.
  • Possible run-time errors are linked to [[ERROR Codes]], like: "If parameter1% is less than zero, an illegal function call will occur."


Code Examples:

A brief one or two sentence summary.

' - Example code blocks are specified using {{CodeStart}} and ' {{CodeEnd}} templates. ' - The first line of code should be on the second line below {{CodeStart}} ' to facilitate code copying. ' - Keywords are placed within a call to the {{Cl|keyword|display}} template, ' like {{Cl|PRINT}}. ' - Examples should be as small and simple as possible while demonstrating the ' behavior of the keyword/statement effectively, limiting the use of other ' unrelated keywords/statements. ' - Examples with text output (to the screen or a file) may be immediately ' followed with output blocks, specified using {{OutputStart}} and ' {{OutputEnd}} templates. ' - The first line of output should be on the line below {{OutputStart}}. PRINT "Hello, world!"

Hello, world!


A brief one or two sentence summary.

FOR n% = 1 TO 5 PRINT n% ; NEXT n%

1 2 3 4 5


COLOR OUTPUT:

{{OutputStart}} {{text|Hello World|red}} {{text|text to be printed|HTML color name}} Hello World {{OutputEnd}}

http://www.w3schools.com/html/html_colornames.asp


OTHER TEMPLATES:

{{TextStart}} Text file code used for Library or Include files. Keywords can use the KW or Cb for blue links. {{Cb|KEYWORD|Displayed word(s)}} SHELL _HIDE {{TextEnd}}

{{WhiteStart}} Text columns will align perfectly and spacing and centering is easy. '''BOLD''' Colors KW or Cb blue. 1 2 2 3 3 4 {{WhiteEnd}}


CUSTOM LINKS:

Paste link address. At end of the address add a space and the title to be displayed.

Place one bracket on each end [link display] as below:

<center>[http://www.w3schools.com/html/html_colornames.asp HTML Color Names]</center>

HTML Color Names


SEE ALSO:

{{PageSeeAlso}}


* {{KW|KEYWORD1}}

* {{KW|KEYWORD2}}

* {{KW|KEYWORD3}}


See also:


{{PageNavigation}}


Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page