Loading the packages




Loading lua packages is very easy. To do so, just use the require function in the begining of your lua file. For more information about require function check the official lua website

Example:

   --Load the BigRat package
   require( "BigRat.lua" )
   
   a = BigRat.new( "325" , "624" )
   print( a )




Back