BlankPage: Difference between revisions
Jump to navigation
Jump to search
This template allows for a short author credit.
Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link
No edit summary |
No edit summary |
||
Line 59: | Line 59: | ||
{{PageAvailability}} | {{PageAvailability}} | ||
<gallery mode="packed-overlay"> | <gallery widths="48px" heights="48px" mode="packed-overlay"> | ||
File:Qb64.png | File:Qb64.png|'''v1.5''' | ||
File:Qbpe.png | File:Qbpe.png|'''v0.5''' | ||
</gallery> | </gallery> | ||
Revision as of 00:11, 11 November 2022
The _BlankPage serves as a skeleton for new Wiki pages.
Syntax
- _BlankSub arg1[, arg2]
- result% = _BlankFunc(arg1[, arg2])
Parameters
- arg1 is a mandatory argument
- the arg2 is optional
Description
To use this skeleton click on the Edit tab above the page, then copy the raw text of this page and paste it into your new page. Change/remove sections as needed. Use this for italic and this for bold text style. To color your writings use the Text template. It takes either a color name or a #RRGGBB 32bit color, if the color part is omitted it will default to gray.
You can inline simple code one liners like w = _WIDTH
- an askerisk marks a list point
- two askerisks will indent the list
- three askerisks will indent even more
- two askerisks will indent the list
- This is a definition list
- The first description can follow right after a colon
- or in a new line
- more descriptions can follow
- using list bullets with an askerisk
- as already seen in the syntax above, you may use desciptions without a defininition too
- you may also nest descriptions
- but at some point it's cluttering the page so please use it sparingly
- you may also nest descriptions
This is a nice piece of paper for quotes and similar things. In case of short code snippets you may use the "Cb" (code blue) template to highlight and link keywords to the Wiki pages. FOR x = 1 TO 5 PRINT "Hello World!" NEXT x END As you see, this Text block is suitable for preformatted text, but note that the browser is still allowed to wrap too long lines. If you really need your preformatted text to be shown as is, then use a fixed text block instaed, see below. |
Use this fixed text block for preformatted text, which is not even allowed to wrap long lines, such as tables etc.. As you see this very long line goes far over the display width, so please limit youself to the available space to not clutter the display too much. |
- This is a sub-section for further notes like special behavior, required prerequisites etc.
- It's also a good place to note if a command is maybe not available in the Linux or Mac versions
- If used/required, then this should always be a sub-section under the Description main section
- If used/required, then this also should be a sub-section under the Description main section
- This is not intended for the regular errors a SUB/FUNCTION could throw, those should be handled in the main description section.
- Rather use it for subtle things, known mis-behavior, tendency for stack overflows and seg faults etc.
Availability
Examples
- QB64-PE v0.5 and up
- Example 1
- Each example should have a short description.
'Place your code example here 'The "Cl" (code link) template can be used to link keywords to its 'respective Wiki page. Those words will also get highlighted. COLOR 15,4 PRINT "Hello World!" |
- The output block is available for the SCREEN 0 background colors 0-7
- Inside the output block use the "Ot" (output text) template for coloring
Hello World!
|
See also