reCT

The only ByteSpace Project big enough to have its
own Website

C. Packages in ReCT

You are actually able to create Custom Packages in ReCT itself.

You can set a Type (class) and Namespace name with the "type" and "namespace" statements. (NOTE: Just like in any other dotnet language are only public functions accessable from within rect.)

A package made in ReCT could look like this:

package sys; use sys;
type examplePack;
namespace examplePack;

set function testFunc()
{
  Print("Test Function");
}


When building make sure that the filetype is set to "Assembly (.dll)", and that the filename is the same as the type and namespace name!


If you want to also add Classes to your Package make sure that they are Included by using the "inc" Keyword

inc class classInMyPackage { ... }
set inc class staticClassInMyPackage { ... }