Whitebeam Template Reference Documentation

Site Map
 
Home
 
Application Guide
Reference
  Installation
  Configuration
  XML Markup
  JavaScript Classes
  ROM
  Templates
  Environment
  Dev Process
  Tools
  External Links
  Example libraries
Community
Contact Whitebeam
To-Do
Download
Credits
Licence
Whitebeam Users
 
 
 

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
newfileInfostruct fileInfoTypesee definition
truncateFirstbool  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

Whitebeam release 1.3.36
(loadtime : 64ms)