Skip to content

Commit

Permalink
fbdocs: wiki snapshot 2023.11.27
Browse files Browse the repository at this point in the history
  • Loading branch information
jayrm committed Nov 27, 2023
1 parent a592488 commit d6acaf7
Show file tree
Hide file tree
Showing 26 changed files with 169 additions and 12 deletions.
2 changes: 2 additions & 0 deletions doc/manual/cache/CatPgDddefines.wakka
Expand Up @@ -52,6 +52,8 @@ Preprocessor symbols defined by the compiler.
Defined if compiling for the ""PowerPC"" architecture.
=={{fbdoc item="keyword" value="KeyPgDdfbx86|__FB_X86__"}}==
Defined if compiling for the X86 / X86_64 architecture.
=={{fbdoc item="keyword" value="KeyPgDdfbjs|__FB_JS__"}}==
Defined if compiling for emscripten target.

{{anchor name="VERSION"}}{{fbdoc item="section" value="Version Information"}}
=={{fbdoc item="keyword" value="KeyPgDdfbversion|__FB_VERSION__"}}==
Expand Down
3 changes: 3 additions & 0 deletions doc/manual/cache/CatPgFullIndex.wakka
Expand Up @@ -43,6 +43,7 @@ Alphabetical listing of keywords, macros and procedures.
- {{fbdoc item="keyword" value="KeyPgDdfbgui|__FB_GUI__"}}
- {{fbdoc item="keyword" value="KeyPgDdfbiif|__FB_IIF__"}}
- {{fbdoc item="keyword" value="KeyPgDdfbjoin|__FB_JOIN__"}}
- {{fbdoc item="keyword" value="KeyPgDdfbjs|__FB_JS__"}}
- {{fbdoc item="keyword" value="KeyPgDdfblang|__FB_LANG__"}}
- {{fbdoc item="keyword" value="KeyPgDdfblinux|__FB_LINUX__"}}
- {{fbdoc item="keyword" value="KeyPgDdFBMain|__FB_MAIN__"}}
Expand Down Expand Up @@ -94,6 +95,8 @@ Alphabetical listing of keywords, macros and procedures.
- {{fbdoc item="keyword" value="KeyPgPpdefine|#DEFINE"}}
- {{fbdoc item="keyword" value="KeyPgPpelse|#ELSE"}}
- {{fbdoc item="keyword" value="KeyPgPpelseif|#ELSEIF"}}
- {{fbdoc item="keyword" value="KeyPgPpelseifdef|#ELSEIFDEF"}}
- {{fbdoc item="keyword" value="KeyPgPpelseifndef|#ELSEIFNDEF"}}
- {{fbdoc item="keyword" value="KeyPgPpendif|#ENDIF"}}
- {{fbdoc item="keyword" value="KeyPgPpmacro|#ENDMACRO"}}
- {{fbdoc item="keyword" value="KeyPgPperror|#ERROR"}}
Expand Down
3 changes: 3 additions & 0 deletions doc/manual/cache/CatPgFunctIndex.wakka
Expand Up @@ -436,6 +436,7 @@ List of ""FreeBASIC"" keywords sorted by the function they perform.
- {{fbdoc item="keyword" value="KeyPgDdfbgui|__FB_GUI__"}}
- {{fbdoc item="keyword" value="KeyPgDdfbiif|__FB_IIF__"}}
- {{fbdoc item="keyword" value="KeyPgDdfbjoin|__FB_JOIN__"}}
- {{fbdoc item="keyword" value="KeyPgDdfbjs|__FB_JS__"}}
- {{fbdoc item="keyword" value="KeyPgDdfblang|__FB_LANG__"}}
- {{fbdoc item="keyword" value="KeyPgDdfblinux|__FB_LINUX__"}}
- {{fbdoc item="keyword" value="KeyPgDdFBMain|__FB_MAIN__"}}
Expand Down Expand Up @@ -489,6 +490,8 @@ List of ""FreeBASIC"" keywords sorted by the function they perform.
- {{fbdoc item="keyword" value="KeyPgPpdefine|#DEFINE"}}
- {{fbdoc item="keyword" value="KeyPgPpelse|#ELSE"}}
- {{fbdoc item="keyword" value="KeyPgPpelseif|#ELSEIF"}}
- {{fbdoc item="keyword" value="KeyPgPpelseifdef|#ELSEIFDEF"}}
- {{fbdoc item="keyword" value="KeyPgPpelseifndef|#ELSEIFNDEF"}}
- {{fbdoc item="keyword" value="KeyPgPpendif|#ENDIF"}}
- {{fbdoc item="keyword" value="KeyPgPpmacro|#ENDMACRO"}}
- {{fbdoc item="keyword" value="KeyPgPperror|#ERROR"}}
Expand Down
4 changes: 4 additions & 0 deletions doc/manual/cache/CatPgPreProcess.wakka
Expand Up @@ -24,6 +24,10 @@ Commands that control the preprocessor.
Compiles the following code block if a symbol is not defined.
=={{fbdoc item="keyword" value="KeyPgPpelseif|#ELSEIF"}}==
Compiles the following code block if a condition is true and the previous conditions was false.
=={{fbdoc item="keyword" value="KeyPgPpelseifdef|#ELSEIFDEF"}}==
Compiles the following code block if a symbol is defined and the previous conditions was false.
=={{fbdoc item="keyword" value="KeyPgPpelseifndef|#ELSEIFNDEF"}}==
Compiles the following code block if a symbol is not defined and the previous conditions was false.
=={{fbdoc item="keyword" value="KeyPgPpelse|#ELSE"}}==
Compiles the following code block if previous conditions were false.
=={{fbdoc item="keyword" value="KeyPgPpendif|#ENDIF"}}==
Expand Down
2 changes: 1 addition & 1 deletion doc/manual/cache/CompilerOptgen.wakka
Expand Up @@ -9,7 +9,7 @@ Sets the backend code emitter.
##**gas**## for x86 GAS assembly, ##**gcc**## for GNU C, ##**gas64**## for x86_64 GAS assembly, ##**llvm**## for LLVM IR.

{{fbdoc item="desc"}}
The ##-gen## compiler option sets the backend code emitter and assembler.
The ##-gen## compiler option sets the backend code emitter and assembler. If this option is not specified, the default is ##-gen gas## for x86 and ##-gen gcc## for x86_64.

{{fbdoc item="subsect" value="-gen gas"}}
The compiler will emit GAS assembler code to a ##.asm## file which will then be compiled to an object file using '##as##'. This is fbc's original x86 code generation backend.
Expand Down
2 changes: 1 addition & 1 deletion doc/manual/cache/DevRtlInkey.wakka
Expand Up @@ -47,7 +47,7 @@

##""SetConsoleCtrlHandler()""## is used to listen for console close/system shutdown events to provide ##SC_CLOSE## events for console-mode (the win32 port of the rtlib might be the only one going this far).

##fb_ConsoleMultikey()## uses a ##""FindWindow()""##/##""GetForegroundWindow()""## hack to determine whether the console window is focused, and if yes, simply uses ##""GetAsyncKeyState()""##.
##fb_ConsoleMultikey()## uses a ##""FindWindow()""##/##""GetForegroundWindow()""## hack on older versions of windows (before Windows 7) to determine whether the console window is focused, and if yes, simply uses ##""GetAsyncKeyState()""##. Newer versions of windows should limit function of ##""GetAsyncKeyState()""## to the currently focused window. In newer versions of windows when using windows terminal, the ##""FindWindow()""## hack causes issues and must be disabled.

- Linux, *BSD
The Unix port of the rtlib runs a console keyboard handler (and a console mouse handler) in a background thread, in order to provide input for ##multikey()## (and ##getmouse()##).
Expand Down
2 changes: 1 addition & 1 deletion doc/manual/cache/KeyPgCommand.wakka
Expand Up @@ -28,7 +28,7 @@ Returns command line parameters used to call the program

~&//**WARNING**: By nature of constructor precedence in ""FreeBASIC"" and main() initialization, calling ##**Command**## within a global constructor (module constructor or UDT constructor called for static/shared object) is not safe (may even induce a runtime error).//

__Disabling filename globbing under Win32__
__Disabling filename globbing under Windows__
Define the following global variable(s) somewhere in the source:
{{fbdoc item="filename" value="examples/manual/check/KeyPgCommand_mingw.bas"}}%%(freebasic)
'' For MinGW.org and Cygwin runtimes:
Expand Down
24 changes: 24 additions & 0 deletions doc/manual/cache/KeyPgDdfbjs.wakka
@@ -0,0 +1,24 @@
{{fbdoc item="title" value="__FB_JS__"}}----
Intrinsic define set by the compiler

{{fbdoc item="syntax"}}##
""__FB_JS__""
##
{{fbdoc item="desc"}}
Define without a value created at compile time in the emscripten version of the compiler, when the ##-target js-asmjs## command line option is used. It can be used to compile parts of the program only for a such target.

{{fbdoc item="ex"}}
{{fbdoc item="filename" value="examples/manual/defines/fbjs.bas"}}%%(freebasic)
#IFDEF __FB_JS__
'...instructions only for emscripten target...
#ELSE
'...instructions not for emscripten target...
#ENDIF
%%
{{fbdoc item="diff"}}
- New to ""FreeBASIC""

{{fbdoc item="see"}}
- [[DevBuildEmscripten|Compiling FB with Emscripten]]

{{fbdoc item="back" value="CatPgDddefines|Intrinsic Defines"}}
2 changes: 2 additions & 0 deletions doc/manual/cache/KeyPgDefined.wakka
Expand Up @@ -49,6 +49,8 @@ dim c as single
- ##[[KeyPgPpif|#if]]##
- ##[[KeyPgPpelse|#else]]##
- ##[[KeyPgPpelseif|#elseif]]##
- ##[[KeyPgPpelseifdef|#elseifdef]]##
- ##[[KeyPgPpelseifndef|#elseifndef]]##
- ##[[KeyPgPpendif|#endif]]##
- ##[[KeyPgPpifdef|#ifdef]]##
- ##[[KeyPgPpifndef|#ifndef]]##
Expand Down
2 changes: 1 addition & 1 deletion doc/manual/cache/KeyPgFunction.wakka
Expand Up @@ -16,7 +16,7 @@ Defines a procedure returning a value
##//parameter//##: ##[[[KeyPgByref|ByRef]]|[[KeyPgByval|ByVal]]] //identifier// [[[KeyPgAs|As]] //type//] [= //default_value//]##
##//identifier//##: the name of the variable referenced in the function. If the argument is an array then the identifier must be followed by an empty parenthesis.
##//type//##: the type of variable
##//default_value//##: the value of the argument if none is specified in the call
##//default_value//##: the value of the argument if none is specified in the call (##//default_value//## can be a literal, or a constant, or a shared variable)
##//return_type//##: the type of variable returned by the function
##//statements//##: one or more statements that make up the function body
##//return_value//##: the value returned from the function
Expand Down
8 changes: 4 additions & 4 deletions doc/manual/cache/KeyPgImageInfo.wakka
Expand Up @@ -2,7 +2,7 @@
Retrieves information about an image

{{fbdoc item="syntax"}}##
[[KeyPgDeclare|declare]] [[KeyPgFunction|function]] **Imageinfo** ( [[KeyPgByval|byval]] //image// [[KeyPgAs|as]] [[KeyPgConstQualifier|const]] [[KeyPgAny|any]] [[KeyPgPtr|ptr]], [[KeyPgByref|byref]] //width// [[KeyPgAs|as]] [[KeyPgLong|long]] = 0, [[KeyPgByref|byref]] //height// [[KeyPgAs|as]] [[KeyPgLong|long]] = 0, [[KeyPgByref|byref]] //bypp// [[KeyPgAs|as]] [[KeyPgLong|long]] = 0, [[KeyPgByref|byref]] //pitch// [[KeyPgAs|as]] [[KeyPgLong|long]] = 0, [[KeyPgByref|byref]] //pixdata// [[KeyPgAs|as]] [[KeyPgAny|any]] [[KeyPgPtr|ptr]] = 0, [[KeyPgByref|byref]] //size// [[KeyPgAs|as]] [[KeyPgLongint|longint]] = 0 ) [[KeyPgAs|as]] [[KeyPgLong|long]]
[[KeyPgDeclare|declare]] [[KeyPgFunction|function]] **Imageinfo** ( [[KeyPgByval|byval]] //image// [[KeyPgAs|as]] [[KeyPgConstQualifier|const]] [[KeyPgAny|any]] [[KeyPgPtr|ptr]], [[KeyPgByref|byref]] //width// [[KeyPgAs|as]] [[KeyPgLong|long]] = 0, [[KeyPgByref|byref]] //height// [[KeyPgAs|as]] [[KeyPgLong|long]] = 0, [[KeyPgByref|byref]] //bypp// [[KeyPgAs|as]] [[KeyPgLong|long]] = 0, [[KeyPgByref|byref]] //pitch// [[KeyPgAs|as]] [[KeyPgLong|long]] = 0, [[KeyPgByref|byref]] //pixdata// [[KeyPgAs|as]] [[KeyPgAny|any]] [[KeyPgPtr|ptr]] = 0, [[KeyPgByref|byref]] //size// [[KeyPgAs|as]] [[KeyPgLong|long]] = 0 ) [[KeyPgAs|as]] [[KeyPgLong|long]]
[[KeyPgDeclare|declare]] [[KeyPgFunction|function]] **Imageinfo** ( [[KeyPgByval|byval]] //image// [[KeyPgAs|as]] [[KeyPgConstQualifier|const]] [[KeyPgAny|any]] [[KeyPgPtr|ptr]], [[KeyPgByref|byref]] //width// [[KeyPgAs|as]] [[KeyPgLongint|longint]], [[KeyPgByref|byref]] //height// [[KeyPgAs|as]] [[KeyPgLongint|longint]], [[KeyPgByref|byref]] //bypp// [[KeyPgAs|as]] [[KeyPgLongint|longint]] = 0, [[KeyPgByref|byref]] //pitch// [[KeyPgAs|as]] [[KeyPgLongint|longint]] = 0, [[KeyPgByref|byref]] //pixdata// [[KeyPgAs|as]] [[KeyPgAny|any]] [[KeyPgPtr|ptr]] = 0, [[KeyPgByref|byref]] //size// [[KeyPgAs|as]] [[KeyPgLongint|longint]] = 0 ) [[KeyPgAs|as]] [[KeyPgLong|long]]
##
{{fbdoc item="usage"}}##
Expand Down Expand Up @@ -47,11 +47,11 @@ function pixelptr(byval img as any ptr, byval x as integer, byval y as integer)

dim as long w, h, bypp, pitch
dim as any ptr pixdata
dim as long success
dim As Long result

success = (imageinfo(img, w, h, bypp, pitch, pixdata) = 0)
result = imageinfo(img, w, h, bypp, pitch, pixdata)

if success then
if result = 0 Then '' seems like a valid image
if x < 0 or x >= w then return 0
if y < 0 or y >= h then return 0
return pixdata + y * pitch + x * bypp
Expand Down
2 changes: 1 addition & 1 deletion doc/manual/cache/KeyPgModuleConstructor.wakka
Expand Up @@ -2,7 +2,7 @@
Specifies execution of a procedure before module-level code

{{fbdoc item="syntax"}}##
[[[KeyPgPublic|Public]] | [[KeyPgPrivate|Private]]] [[KeyPgSub|Sub]] //procedure_name// [[[KeyPgAlias|Alias]] "//external_identifier//"] [()] **Constructor** [//priority//] [[[KeyPgStatic|Static]]]
[[[KeyPgPublic|Public]] | [[KeyPgPrivate|Private]]] [[KeyPgSub|Sub]] //procedure_name// [[[KeyPgAlias|Alias]] "//external_identifier//"] [()] **Constructor** [//priority//]
{ //procedure body// }
[[KeyPgEndblock|End]] [[KeyPgSub|Sub]]
##
Expand Down
3 changes: 2 additions & 1 deletion doc/manual/cache/KeyPgPpPragma.wakka
Expand Up @@ -11,7 +11,7 @@ Preprocessor directive
{{fbdoc item="param"}}
Possible values for ##//option//## and related ##//value//##s:

{{table columns="3" cellpadding="1" cells="Option; Value; Description; msbitfields; false; Use bitfields compatible with gcc (default); msbitfields; true ; Use bitfields compatible with those used in Microsoft C compilers; once; N/A; cause the source file in which the pragma ppears to behave as though it was included with #include once ...; constness; false; disable 'CONST qualifier discarded' warning in current source; constness; true; enable 'CONST qualifier discarded' warning in current source; lookup108; false; use normal symbol lookups for unqualified symbol names; lookup108; true; use fbc-1.08.x or earlier symbol lookups for unqualified symbol names"}}
{{table columns="3" cellpadding="1" cells="Option; Value; Description; msbitfields; false; Use bitfields compatible with gcc (default); msbitfields; true ; Use bitfields compatible with those used in Microsoft C compilers; once; N/A; cause the source file in which the pragma ppears to behave as though it was included with #include once ...; constness; false; disable 'CONST qualifier discarded' warning in current source; constness; true; enable 'CONST qualifier discarded' warning in current source; lookup108; false; use normal symbol lookups for unqualified symbol names; lookup108; true; use fbc-1.08.x or earlier symbol lookups for unqualified symbol names; private; false; allow procedures in sources to be compiled as separate modules with public linkage; private; true; allow procedures in sources to be compiled as privately included with minimal overhead for changing desired linkage"}}
If //value// is not given, the compiler assumes //True// (//-1//). A zero (//0//) value may be used in place of //False//. A non-zero (for example, //-1//) value may be used in place of //True//.

{{fbdoc item="desc"}}
Expand All @@ -32,6 +32,7 @@ Preprocessor directive
#pragma pop(msbitfields)
%%
{{fbdoc item="ver"}}
- //#pragma private// added in version 1.20.0
- //#pragma lookup108// added in version 1.09.0, and to be removed in next minor release

{{fbdoc item="diff"}}
Expand Down
2 changes: 2 additions & 0 deletions doc/manual/cache/KeyPgPpelse.wakka
Expand Up @@ -31,6 +31,8 @@ Print "Program is "; a
- ##[[KeyPgPpmacro|#macro]]##
- ##[[KeyPgPpif|#if]]##
- ##[[KeyPgPpelseif|#elseif]]##
- ##[[KeyPgPpelseifdef|#elseifdef]]##
- ##[[KeyPgPpelseifndef|#elseifndef]]##
- ##[[KeyPgPpendif|#endif]]##
- ##[[KeyPgPpifdef|#ifdef]]##
- ##[[KeyPgPpifndef|#ifndef]]##
Expand Down
2 changes: 2 additions & 0 deletions doc/manual/cache/KeyPgPpelseif.wakka
Expand Up @@ -34,6 +34,8 @@ Preprocessor conditional directive
- ##[[KeyPgPpmacro|#macro]]##
- ##[[KeyPgPpif|#if]]##
- ##[[KeyPgPpelse|#else]]##
- ##[[KeyPgPpelseifdef|#elseifdef]]##
- ##[[KeyPgPpelseifndef|#elseifndef]]##
- ##[[KeyPgPpendif|#endif]]##
- ##[[KeyPgPpifdef|#ifdef]]##
- ##[[KeyPgPpifndef|#ifndef]]##
Expand Down
50 changes: 50 additions & 0 deletions doc/manual/cache/KeyPgPpelseifdef.wakka
@@ -0,0 +1,50 @@
{{fbdoc item="title" value="#ELSEIFDEF"}}----
Preprocessor conditional directive

{{fbdoc item="syntax"}}##
[[KeyPgPpifdef|#ifdef]] A
' Conditionally included statements if A is defined
**#elseifdef** B
' Conditionally included statements if A is not defined and B is defined
[[KeyPgPpelse|#else]]
' Conditionally included statements if both A and B are not defined
[[KeyPgPpendif|#endif]]
##
{{fbdoc item="desc"}}
**#elseifdef** can be added to an ##[[KeyPgPpif|#if]]## block to provide an additional condition.

##**#elseifdef** //symbol//## is equivalent to ##[[KeyPgPpelseif|#elseif]] [[KeyPgDefined|defined]] (//symbol//)##

{{fbdoc item="ex"}}
{{fbdoc item="filename" value="examples/manual/prepro/elseifdef.bas"}}%%(freebasic)
#DEFINE B

#IFDEF A
Print "A is defined"
#ELSEIFDEF B
Print "A is not defined and B is defined"
#ELSE
Print "both A and B are not defined"
#ENDIF
%%
{{fbdoc item="ver"}}
- Since fbc 1.20.0

{{fbdoc item="diff"}}
- New to Freebasic

{{fbdoc item="see"}}
- ##[[KeyPgPpdefine|#define]]##
- ##[[KeyPgPpmacro|#macro]]##
- ##[[KeyPgPpif|#if]]##
- ##[[KeyPgPpelse|#else]]##
- ##[[KeyPgPpelseif|#elseif]]##
- ##[[KeyPgPpelseifndef|#elseifndef]]##
- ##[[KeyPgPpendif|#endif]]##
- ##[[KeyPgPpifdef|#ifdef]]##
- ##[[KeyPgPpifndef|#ifndef]]##
- ##[[KeyPgPpundef|#undef]]##
- ##[[KeyPgDefined|defined]]##


{{fbdoc item="back" value="CatPgPreProcess|Preprocessor"}}
48 changes: 48 additions & 0 deletions doc/manual/cache/KeyPgPpelseifndef.wakka
@@ -0,0 +1,48 @@
{{fbdoc item="title" value="#ELSEIFNDEF"}}----
Preprocessor conditional directive

{{fbdoc item="syntax"}}##
[[KeyPgPpifdef|#ifdef]] A
' Conditionally included statements if A is defined
**#elseifndef** B
' Conditionally included statements if both A and B are not defined
[[KeyPgPpelse|#else]]
' Conditionally included statements if A is not defined and B is defined
[[KeyPgPpendif|#endif]]
##
{{fbdoc item="desc"}}
**#elseifndef** can be added to an ##[[KeyPgPpif|#if]]## block to provide an additional condition.

##**#elseifndef** //symbol//## is equivalent to ##[[KeyPgPpelseif|#elseif]] [[KeyPgOpNot|Not]] [[KeyPgDefined|defined]](//symbol//)##

{{fbdoc item="ex"}}
{{fbdoc item="filename" value="examples/manual/prepro/elseifndef.bas"}}%%(freebasic)
#IFDEF A
Print "A is defined"
#ELSEIFNDEF B
Print "both A and B are not defined"
#ELSE
Print "A is not defined and B is defined"
#ENDIF
%%
{{fbdoc item="ver"}}
- Since fbc 1.20.0

{{fbdoc item="diff"}}
- New to Freebasic

{{fbdoc item="see"}}
- ##[[KeyPgPpdefine|#define]]##
- ##[[KeyPgPpmacro|#macro]]##
- ##[[KeyPgPpif|#if]]##
- ##[[KeyPgPpelse|#else]]##
- ##[[KeyPgPpelseif|#elseif]]##
- ##[[KeyPgPpelseifdef|#elseifdef]]##
- ##[[KeyPgPpendif|#endif]]##
- ##[[KeyPgPpifdef|#ifdef]]##
- ##[[KeyPgPpifndef|#ifndef]]##
- ##[[KeyPgPpundef|#undef]]##
- ##[[KeyPgDefined|defined]]##


{{fbdoc item="back" value="CatPgPreProcess|Preprocessor"}}
2 changes: 2 additions & 0 deletions doc/manual/cache/KeyPgPpendif.wakka
Expand Up @@ -26,6 +26,8 @@ Preprocessor conditional directive
- ##[[KeyPgPpif|#if]]##
- ##[[KeyPgPpelse|#else]]##
- ##[[KeyPgPpelseif|#elseIf]]##
- ##[[KeyPgPpelseifdef|#elseIfdef]]##
- ##[[KeyPgPpelseifndef|#elseIfndef]]##
- ##[[KeyPgPpifdef|#ifdef]]##
- ##[[KeyPgPpifndef|#ifndef]]##
- ##[[KeyPgPpundef|#undef]]##
Expand Down
2 changes: 2 additions & 0 deletions doc/manual/cache/KeyPgPpif.wakka
Expand Up @@ -30,6 +30,8 @@ Preprocessor conditional directive
- ##[[KeyPgPpmacro|#macro]]##
- ##[[KeyPgPpelse|#else]]##
- ##[[KeyPgPpelseif|#elseif]]##
- ##[[KeyPgPpelseifdef|#elseifdef]]##
- ##[[KeyPgPpelseifndef|#elseifndef]]##
- ##[[KeyPgPpendif|#endif]]##
- ##[[KeyPgPpifdef|#ifdef]]##
- ##[[KeyPgPpifndef|#ifndef]]##
Expand Down
2 changes: 2 additions & 0 deletions doc/manual/cache/KeyPgPpifdef.wakka
Expand Up @@ -30,6 +30,8 @@ Preprocessor conditional directive
- ##[[KeyPgPpif|#if]]##
- ##[[KeyPgPpelse|#else]]##
- ##[[KeyPgPpelseif|#elseif]]##
- ##[[KeyPgPpelseifdef|#elseifdef]]##
- ##[[KeyPgPpelseifndef|#elseifndef]]##
- ##[[KeyPgPpendif|#endif]]##
- ##[[KeyPgPpifndef|#ifndef]]##
- ##[[KeyPgPpundef|#undef]]##
Expand Down
2 changes: 2 additions & 0 deletions doc/manual/cache/KeyPgPpifndef.wakka
Expand Up @@ -30,6 +30,8 @@ Preprocessor conditional directive
- ##[[KeyPgPpif|#if]]##
- ##[[KeyPgPpelse|#else]]##
- ##[[KeyPgPpelseif|#elseif]]##
- ##[[KeyPgPpelseifdef|#elseifdef]]##
- ##[[KeyPgPpelseifndef|#elseifndef]]##
- ##[[KeyPgPpendif|#endif]]##
- ##[[KeyPgPpifdef|#ifdef]]##
- ##[[KeyPgPpundef|#undef]]##
Expand Down
3 changes: 3 additions & 0 deletions doc/manual/cache/KeyPgPpmacro.wakka
Expand Up @@ -127,6 +127,9 @@ test2( 5,6, 7, , 9, 10, ,,13, 14 )
'14'
'/
%%
{{fbdoc item="ver"}}
- Before fbc 1.08.0, the optional question mark (?) was not available.

{{fbdoc item="diff"}}
- New to ""FreeBASIC""

Expand Down
2 changes: 2 additions & 0 deletions doc/manual/cache/KeyPgPpundef.wakka
Expand Up @@ -28,6 +28,8 @@ Print ADD2(1, 2)
- ##[[KeyPgPpif|#if]]##
- ##[[KeyPgPpelse|#else]]##
- ##[[KeyPgPpelseif|#elseif]]##
- ##[[KeyPgPpelseifdef|#elseifdef]]##
- ##[[KeyPgPpelseifndef|#elseifndef]]##
- ##[[KeyPgPpendif|#endif]]##
- ##[[KeyPgPpifdef|#ifdef]]##
- ##[[KeyPgPpifndef|#ifndef]]##
Expand Down
2 changes: 1 addition & 1 deletion doc/manual/cache/KeyPgSub.wakka
Expand Up @@ -23,7 +23,7 @@ Defines a procedure
##//parameter//##: ##[[[KeyPgByref|ByRef]]|[[KeyPgByval|ByVal]]] //identifier// [[[KeyPgAs|As]] //type//] [= //default_value//]##
##//identifier//##: the name of the variable referenced in the subroutine. If the argument is an array then the identifier must be followed by an empty parenthesis.
##//type//##: the type of variable
##//default_value//##: the value of the argument if none is specified in the call
##//default_value//##: the value of the argument if none is specified in the call (##//default_value//## can be a literal, or a constant, or a shared variable)
##//statements//##: one or more statements that make up the subroutine body

{{fbdoc item="desc"}}
Expand Down
3 changes: 3 additions & 0 deletions doc/manual/cache/PrintToc.wakka
Expand Up @@ -37,6 +37,7 @@
[[KeyPgDdfbgui|__FB_GUI__]]
[[KeyPgDdfbiif|__FB_IIF__]]
[[KeyPgDdfbjoin|__FB_JOIN__]]
[[KeyPgDdfbjs|__FB_JS__]]
[[KeyPgDdfblang|__FB_LANG__]]
[[KeyPgDdfblinux|__FB_LINUX__]]
[[KeyPgDdFBMain|__FB_MAIN__]]
Expand Down Expand Up @@ -88,6 +89,8 @@
[[KeyPgPpdefine|#DEFINE]]
[[KeyPgPpelse|#ELSE]]
[[KeyPgPpelseif|#ELSEIF]]
[[KeyPgPpelseifdef|#ELSEIFDEF]]
[[KeyPgPpelseifndef|#ELSEIFNDEF]]
[[KeyPgPpendif|#ENDIF]]
[[KeyPgPpmacro|#ENDMACRO]]
[[KeyPgPperror|#ERROR]]
Expand Down

0 comments on commit d6acaf7

Please sign in to comment.