The leohtml class is a simple class
that provides some informations how the application
was compiled, was is supported and what not.
Definition:
Class: leohtml
Variable:
String version; // version of Leo<HTML>
Bool image_size_support; // true if image siz support is enabled
Bool char_set_support; // true if char set support is enabled
Handling
This has not to be generated explicitly. A instance is already generated
within the root scaope of the interpeter. This means you can access at it like
a global variable.
Example:
function info()
{
print( "This is Leo<HTML> version", leohtml.version );
var is;
if( leohtml.image_size_support )
is = "true";
else
is = "false";
print ("image size support", is );
if( leohtml.char_set_support )
is = "true";
else
is = "false";
print("char set support", is );
}
This page was created by
King Leo
. Page generator was
Leo<HTML>
version
0.99.0
.