|
|
There are two different ways to submit a message or
text. By using print for writing it into
the output file, or by using message for
sending it direct to the console.
| |
|
This is the way to write some text to the
output file that is generated by the compiler.
Definition:
- Function:
-
null print( var object_1, var object_2, ... );
|
- Object Parameter
-
Print support more than one var type. Normally
String s will be used.
The function accepts any number of parameters that can be mixed type too.
The function will seperate each object by using a space.
If a File Class is given to the function the whole file will be printed out.
It's the same like reading the file line by line and printing them out, but the
funtion is faster.
Example:
var file = new File( "foo.txt", "r", true, true );
while( ! file.eof() )
print( file.getline() );
|
| |
|
The function does not differ much from the print function.
It simply do not write to the output file, it prints its data to the console.
Definition:
- Function:
-
null message( var object_1, var object_2, ... );
|
| |
|
This page was created by
King Leo
. Page generator was
Leo<HTML>
version
0.99.0
.
|