Load files to prevent re-typing
// This is a set of rex definitions, with comments

// x is a list of some small random numbers.

x = [3, 9, 1, 2, 8, 7, 5, 6, 4];


// y is a list of some grains.

y = sort(["oats", "peas", "beans", "barley"]);


// z is a list of pairs

z = [ [1, 2], [3, 4], [5, 6] ];


/*
   Above you see comments to end-of-line.
   You can also have multi-line comments such as this one,
       just like Java or C++.
*/
contents of file text.rex, prepared with a text editor, such as Emacs: