You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/manual/cache/FBWikiFormatting.wakka
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -111,6 +111,10 @@ In all of the examples following, the markup line with the formatting codes is f
111
111
Then link to that anchor with:
112
112
##""{{anchor name="item1|Jump to Item #1"}}""##
113
113
{{anchor name="item1|Jump to Item #1"}}
114
+
115
+
**Note about adding a new anchor:**
116
+
- Don't pretest the new anchor link through the "Preview" mode, otherwise that cancels all changes in progress done with "Edit" (check only the added text associated with the new anchor).
117
+
- But execute "Store" to first save the adding in progress and quit the "Edit" mode, and only then, we can test in "operational" the functioning of the new link.
114
118
115
119
{{fbdoc item="section" value="Tables"}}
116
120
The ""{{table}}"" action is recognized by the document generators, using the following format.
Copy file name to clipboardExpand all lines: doc/manual/cache/GlossaryIndex.wakka
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -434,6 +434,8 @@ Brief definitions and explanations for words and phrases used in the ""FreeBASIC
434
434
435
435
**static variable/object/array**
436
436
A variable, object or array with **static storage**.
437
+
**Note:** Some times, we talk about 'static array/string' (as opposed to 'dynamic array/string'), but here, the 'static' term applies on the size of the array/string (fixed length as opposed to 'dynamic' term for a variable length) .
438
+
Thus this 'static/dynamic' term does not apply on the storage type for data.
437
439
438
440
**sub**
439
441
A procedure defined using ##[[KeyPgSub|Sub]]##, optionally taking parameters and not returning a value.
Copy file name to clipboardExpand all lines: doc/manual/cache/KeyPgAllocate.wakka
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ Allocates a block of memory from the free store
18
18
Attempts to allocate, or reserve, ##//count//## number of bytes from the free store (heap). The newly allocated memory is not initialized.
19
19
20
20
As the initial value of newly allocated memory is unspecified, **Allocate** must not be directly used with ##[[KeyPgString|String]]## or ##[[KeyPgType|UDT]]## containing string, because the string descriptor being not cleared (containing random data), that may induce corrupted string or more (trying to write to a random place in memory or trying to deallocate a random pointer). It is mandatory in that case (with string or UDT containing string) to use ##[[KeyPgCallocate|Callocate]]## (clearing memory), or ##[[KeyPgOpNew|New Expression]]## (calling constructor) in case of **UDT**, or at worst after **Allocate** to explicitly clear the descriptor (setting to 0) before the first string use.
21
+
For allocating memory for a ##[[KeyPgZstring|Zstring]]## or a ##[[KeyPgWstring|Wstring]]##, see the corresponding page.
21
22
22
23
The pointer that is returned is an [[KeyPgAny|any]] [[KeyPgPtr|ptr]] and points to the start of the allocated memory. This pointer is guaranteed to be unique, even if ##//count//## is zero.
0 commit comments