Mioplanet Documentation Center
Resources and Help
HomeProductsMioScriptJavaScriptTechNotesPHP
   Home | MioScript | mio.rebuild SEARCH    

  Functions
mio.code.compile
mio.code.save
mio.create
mio.currentHeader.get
mio.currentHeader.set
mio.extract
mio.header.get
mio.rebuild
mio.run

  MioScript Reference
> Statements
app...
browser...
dialog...
disk...
draw...
extern...
filename...
keyboard...
menu...
mio...
mouse...
num...
path...
pushButton...
reg...
RS232...
sci...
screen...
shortcut...
sound...
str...
system...
time...
var...
window...

Function
mio.rebuild

Language: MioScript
Product: MioFactory


Syntax

mio.rebuild()


Parameters

None.


Return value

Status. can be:
0: Success.
1: Cannot create target file.
2: Too many files (max 5000).
3: A file is locked.
4: Cannot read a source file.
5: A file name is too long (max 45).



Description

Rebuilds the mio file currently interpreted by MioEngine.

It can be useful to rebuild a mio file to store personal settings in the file without the use of the database registry or a local area for storage.

The current mio file is rebuilt with the files located in the folder returned by path.rsc.
If some files were updated, the new .mio file will contain the new version of the files.

See also: mio.create

For more information: Mio File Format