Tiscript

From Seo Wiki - Search Engine Optimization and Programming Languages
Jump to navigationJump to search

The tiscript programming language is an object-oriented programming language which extends JavaScript. It is notable both for its simplification of prototypes and the extension of classes as well as its use of either JSON or DyBASE for persistence. DyBASE for persistence closely resembles client-side persistent data (CSPD) in the Curl web-content language (not to be confused with cURL.)

Syntax

A simple tiscript using user-defined classes might be

   class Message
   {
     function this( text ) { this._text = text;  },
     function say()        { stdout.println( this.text );  }
     property text(v)      { get { return this._text; }
                             set { this._text = v; } }  
   }

To create instance object of such a class you might do the following:

   var msg = new Message("Hello World!");
   msg.say(); // will print Hello World!

See also

External links

If you like SEOmastering Site, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...

https://domdvordorogi.ru/ . Explore the new cs betting on besoccer.com for skins and free bonuses