Mioplanet Documentation Center
Resources and Help
HomeProductsMioScriptJavaScriptTechNotesPHP
   Home | MioScript | mio.code.save 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.code.save

Language: MioScript
Product: MioFactory


Syntax

mio.code.save(Filename, Code)


Parameters

STRINGFilenameFilename (extension .k is recommended).
ARRAYCodeName of an array containing the code to be saved.


Return value

No value is returned.


Description

Do the final processes on the specified MioScript code and save it as a file on disk.
All the lines should be compiled with mio.code.compile.

The extension of the file should be .k.

A MioScript code file can be interpreted by MioEngine.