|
Whitebeam Template Reference Documentation
|
System Template
append()
- Available since version 1.3.12 Append a fragment to the specified file (which must exist)
See Also
rb.file.create() rb.file.get() rb.file.modify() rb.file.remove() Syntax
number = rb.file.append(newfileInfo, truncateFirst)
Parameters
The 'append' method takes 2 parameters:
Name | Type/Value | Range/Length | Description | newfileInfo | struct fileInfoType | see definition | | truncateFirst | bool | | Optional, default = 0 If true then data is written to the first fragment and all subsequent fragments are deleted |
Results
The 'append' method returns number:
Type/Value | Range/Length | Description |
number |
fragment ID |
The identifier of the added file fragment.
|
Remarks
A new file fragment will be created
|
|
(loadtime : 108ms) |