Skip to content

Commit 3d07dcf

Browse files
committed
wiki snapshot
1 parent 07b8cdf commit 3d07dcf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+232
-125
lines changed

doc/manual/cache/CatPgCasting.wakka

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Operators and procedures that convert between different types.
3737

3838
{{anchor name="STRING"}}{{fbdoc item="section" value="Conversions to/from string types"}}
3939
=={{fbdoc item="keyword" value="KeyPgStr|STR"}} and {{fbdoc item="keyword" value="KeyPgWstr|WSTR"}}==
40-
Converts numeric expressions to a numeric string representation.
40+
Converts numeric expressions or booleans to their string representation.
4141
=={{fbdoc item="keyword" value="KeyPgVal|VAL"}}==
4242
Converts a numeric string expression to a floating-point value.
4343
=={{fbdoc item="keyword" value="KeyPgValint|VALINT"}} and {{fbdoc item="keyword" value="KeyPgValuint|VALUINT"}}==

doc/manual/cache/CatPgConsole.wakka

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,10 @@ Procedures that work with the console.
3232
Gets the character or color attribute at a given location.
3333
<<>>{{anchor name="WRITING"}}{{fbdoc item="section" value="Writing Text to the Console"}}
3434
=={{fbdoc item="keyword" value="KeyPgPrint|PRINT"}}==
35+
=={{fbdoc item="keyword" value="KeyPgPrint|?"}}==
3536
Writes text to the console.
3637
=={{fbdoc item="keyword" value="KeyPgPrintusing|PRINT USING"}}==
38+
=={{fbdoc item="keyword" value="KeyPgPrintusing|? USING"}}==
3739
Writes formatted text to the console.
3840
=={{fbdoc item="keyword" value="KeyPgWrite|WRITE"}}==
3941
Writes a list of items to the console.

doc/manual/cache/CatPgFile.wakka

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ Statements and procedures for working with files and devices.
7070
=={{fbdoc item="keyword" value="KeyPgLineinputPp|LINE INPUT #"}}==
7171
Reads a line of text from a file or device.
7272
=={{fbdoc item="keyword" value="KeyPgPrintPp|PRINT #"}}==
73+
=={{fbdoc item="keyword" value="KeyPgPrintPp|? #"}}==
7374
Writes text data to a file or device.
7475
=={{fbdoc item="keyword" value="KeyPgPutfileio|PUT #"}}==
7576
Writes arbitrary data to a file or device.

doc/manual/cache/CatPgFullIndex.wakka

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,8 +406,11 @@ Alphabetical listing of keywords, macros and procedures.
406406
- {{fbdoc item="keyword" value="KeyPgPreserve|PRESERVE"}}
407407
- {{fbdoc item="keyword" value="KeyPgPreset|PRESET"}}
408408
- {{fbdoc item="keyword" value="KeyPgPrint|PRINT"}}
409+
- {{fbdoc item="keyword" value="KeyPgPrint|?"}}
409410
- {{fbdoc item="keyword" value="KeyPgPrintPp|PRINT #"}}
411+
- {{fbdoc item="keyword" value="KeyPgPrintPp|? #"}}
410412
- {{fbdoc item="keyword" value="KeyPgPrintusing|PRINT USING"}}
413+
- {{fbdoc item="keyword" value="KeyPgPrintusing|? USING"}}
411414
- {{fbdoc item="keyword" value="KeyPgPrivate|PRIVATE"}}
412415
- {{fbdoc item="keyword" value="KeyPgVisPrivate|PRIVATE: (Access Control)"}}
413416
- {{fbdoc item="keyword" value="KeyPgOpProcptr|PROCPTR"}}

doc/manual/cache/CatPgFunctIndex.wakka

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ List of ""FreeBASIC"" keywords sorted by the function they perform.
5454
- {{fbdoc item="keyword" value="KeyPgOpenScrn|OPEN SCRN"}}
5555
- {{fbdoc item="keyword" value="KeyPgPos|POS"}}
5656
- {{fbdoc item="keyword" value="KeyPgPrint|PRINT"}}
57+
- {{fbdoc item="keyword" value="KeyPgPrint|?"}}
5758
- {{fbdoc item="keyword" value="KeyPgPrintusing|PRINT USING"}}
59+
- {{fbdoc item="keyword" value="KeyPgPrintusing|? USING"}}
5860
- {{fbdoc item="keyword" value="KeyPgScreenCons|SCREEN (Console)"}}
5961
- {{fbdoc item="keyword" value="KeyPgSpc|SPC"}}
6062
- {{fbdoc item="keyword" value="KeyPgTab|TAB"}}
@@ -158,6 +160,7 @@ List of ""FreeBASIC"" keywords sorted by the function they perform.
158160
- {{fbdoc item="keyword" value="KeyPgOpen|OPEN"}}
159161
- {{fbdoc item="keyword" value="KeyPgOutput|OUTPUT"}}
160162
- {{fbdoc item="keyword" value="KeyPgPrintPp|PRINT #"}}
163+
- {{fbdoc item="keyword" value="KeyPgPrintPp|? #"}}
161164
- {{fbdoc item="keyword" value="KeyPgPutfileio|PUT # (File I/O)"}}
162165
- {{fbdoc item="keyword" value="KeyPgRandom|RANDOM"}}
163166
- {{fbdoc item="keyword" value="KeyPgReadFile|READ (File Access)"}}

doc/manual/cache/CatPgString.wakka

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Statements and Procedures that work with strings.
88
String data types and procedures that create new strings.
99
**{{anchor name="CHRCONVERT|Character Conversions"}}**
1010
Procedures that convert from character codes to strings and back.
11-
**{{anchor name="NUMSTRCONV|Numeric to String Conversions"}}**
11+
**{{anchor name="NUMSTRCONV|Numeric/Boolean to String Conversions"}}**
1212
Procedures that convert numeric values to strings.
1313
**{{anchor name="STRNUMCONV|String to Numeric Conversions"}}**
1414
Procedures that convert strings to numeric values.
@@ -43,7 +43,7 @@ Statements and Procedures that work with strings.
4343
=={{fbdoc item="keyword" value="KeyPgWchr|WCHR"}}==
4444
Returns a [[KeyPgWstring WString]] of one or more characters from their Unicode [[KeyPgInteger Integer]] representation.
4545

46-
{{anchor name="NUMSTRCONV"}}{{fbdoc item="section" value="Numeric to String Conversions"}}
46+
{{anchor name="NUMSTRCONV"}}{{fbdoc item="section" value="Numeric/Boolean to String Conversions"}}
4747
=={{fbdoc item="keyword" value="KeyPgBin|BIN"}}==
4848
Returns a binary [[KeyPgString String]] representation of an integral value.
4949
=={{fbdoc item="keyword" value="KeyPgWbin|WBIN"}}==
@@ -57,7 +57,7 @@ Statements and Procedures that work with strings.
5757
=={{fbdoc item="keyword" value="KeyPgWoct|WOCT"}}==
5858
Returns an octal [[KeyPgWstring WString]] representation of an integral value.
5959
=={{fbdoc item="keyword" value="KeyPgStr|STR"}}==
60-
Returns the [[KeyPgString String]] representation of numeric value.
60+
Returns the [[KeyPgString String]] representation of numeric value or boolean.
6161
=={{fbdoc item="keyword" value="KeyPgWstr|WSTR"}}==
6262
Returns the [[KeyPgWstring WString]] representation of numeric value.
6363
=={{fbdoc item="keyword" value="KeyPgFormat|FORMAT"}}==

doc/manual/cache/CompilerErrMsg.wakka

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,7 @@ During the program compilation three types of errors can arise:
370370
- //320 Incompatible reference initializer//
371371
- //321 Array of references - not supported yet//
372372
- //322 Invalid CASE range, start value is greater than the end value//
373+
- //323 Fixed-length string combined with BYREF (not supported)//
373374

374375
==Third party programs errors==
375376
These errors occur after the source has been compiled into assembler, they come from the auxiliary programs FB requires to compile a source into an executable: the linker, the assembler and (for Windows programs) the resource compiler.

doc/manual/cache/DevBindingCreation.wakka

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ In general, FB and ""C/C++"" are very similar. FB follows the same ABI as GCC wh
99

1010
{{fbdoc item="section" value="Data types"}}
1111

12-
{{table columns="3" cellpadding="1" cells=" C/C++ type ; Size in bytes (GCC on Linux/Windows) ; Corresponding FreeBASIC type ; char ; 1 ; Byte ; short [int] ; 2 ; Short ; int ; 4 ; Long ; enum (underlying type int) ; 4 ; Long ; long long [int] ; 8 ; LongInt ; float ; 4 ; Single ; double ; 8 ; Double ; long double ; 12 on 32bit, 16 on 64bit ; CLongDouble from crt/longdouble.bi ; _Bool/bool ; 1 ; Byte ; * (pointer) ; 4 on 32bit, 8 on 64bit ; Ptr/Pointer ; ssize_t, intptr_t ; 4 on 32bit, 8 on 64bit ; Integer ; size_t, uintptr_t ; 4 on 32bit, 8 on 64bit ; UInteger ; long [int] ; 4 on 32bit systems and Win64 (!), 8 on 64bit Linux/BSD ; CLong from crt/long.bi "}}
12+
{{table columns="3" cellpadding="1" cells=" C/C++ type ; Size in bytes (GCC on Linux/Windows) ; Corresponding FreeBASIC type ; char ; 1 ; Byte ; short [int] ; 2 ; Short ; int ; 4 ; Long ; enum (underlying type int) ; 4 ; Long ; long long [int] ; 8 ; LongInt ; float ; 4 ; Single ; double ; 8 ; Double ; long double ; 12 on 32bit, 16 on 64bit ; CLongDouble from crt/longdouble.bi ; _Bool/bool ; 1 ; Byte / Boolean (from fbc version 1.04) ; * (pointer) ; 4 on 32bit, 8 on 64bit ; Ptr/Pointer ; ssize_t, intptr_t ; 4 on 32bit, 8 on 64bit ; Integer ; size_t, uintptr_t ; 4 on 32bit, 8 on 64bit ; UInteger ; long [int] ; 4 on 32bit systems and Win64 (!), 8 on 64bit Linux/BSD ; CLong from crt/long.bi "}}
1313

1414
- Caveat: ##int##/##long## is not ##Integer##/##Long##. In FB, ##Integer## corresponds to ##Pointer## - it's 32bit on 32bit and 64bit on 64bit (on all operating systems). ##Long## stays 32bit everywhere. In C, ##int## stays 32bit everywhere, and ##long## only corresponds to pointers on Linux/BSD systems, but not on ""Win64"", where ##long## is still 32bit. On ""Win64"", ##long long## is the only 64bit integer type in C. Thus, neither C's ##int## nor C's ##long## are compatible to FB's ##Integer##.
1515
- Caveat: ##long int## is not ##""LongInt""##. FB's ##""LongInt""## corresponds to C's ##long long##, not C's ##long##.

doc/manual/cache/DocToc.wakka

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@
9898
{{fbdoc item="keyword" value="ProPgCruntime|C Standard Library Functions"}}
9999
{{fbdoc item="keyword" value="CptAscii|ASCII Character Codes"}}
100100
{{fbdoc item="keyword" value="TblRuntimeErrors|Runtime Error Codes"}}
101-
{{fbdoc item="keyword" value="TblComparisonC|C/C++ vs. FreeBASIC comparison"}}
101+
{{fbdoc item="keyword" value="TblComparisonC|C/C++ vs. FreeBASIC syntax comparison"}}
102+
{{fbdoc item="keyword" value="TblComparisonCTypes|C/C++ vs. FreeBASIC integer data type comparison"}}
102103

103104
{{fbdoc item="section" value="Hacking on FreeBASIC"}}
104105

doc/manual/cache/KeyPgAppend.wakka

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ NEXT
5252
- ##[[KeyPgInputfilemode Input (File Mode)]]##
5353
- ##[[KeyPgOpen Open]]##
5454
- ##[[KeyPgOutput Output]]##
55-
- ##[[KeyPgPrintPp Print #]]##
55+
- ##[[KeyPgPrintPp (Print | ?) #]]##
5656
- ##[[KeyPgWrite Write #]]##
5757

5858
{{fbdoc item="back" value="CatPgFile|File I/O Functions"}}

0 commit comments

Comments
 (0)