This sounds very much like one of the programming assignments for an AFIS courses at Canterbury University that uses Jade as their development tool.
If this supposition is correct, then you should probably be asking the relevant questions of your tutors during your tutorial sessions in the 1st instance.
If this supposition is not correct, then you may want to refer to the various introductory Jade tutorials available on the Jade Website:
http://www.jade.co.nz/jade/tutorials.htm
Cheers,
BeeJay.