Leo<HTML>

Leohtml Class

JS - Reference
JS Syntax
Output
Leohtml Class
File Class
Get_tmp_file Function
Line Class
Tag Class
Lexer Class
Rebuilt_file Function
Leohtml Class
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&lt;HTML&gt; 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 .