Ruby is a powerful object-oriented file and text processing language available on many platforms. Ruby is an ideal extension to the TCC batch language, especially if you need advanced string processing capabilities.

 

The Ruby language is not built into TCC, and must be obtained separately. The versions supported by TCC are Ruby 1.8 and 1.9 (free from www.ruby-lang.org ).

 

You must enable Ruby support in the OPTION / Startup page. If it is enabled, TCC will automatically load the Ruby library at startup. If a suitable library is found, TCC checks to see if you are running a .rb file. If so, TCC passes the file to your Ruby interpreter for processing.

 

See also: the @RUBY, @LUA, @PYTHON, @REXX and @PERL functions.