Keyword page blueprint
From QB64 Wiki
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.
- 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}}
- 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>
- SEE ALSO:
{{PageSeeAlso}}
* {{KW|KEYWORD1}}
* {{KW|KEYWORD2}}
* {{KW|KEYWORD3}}
See also:
{{PageNavigation}}