Script Classes for Adventure Games/Code Class

From SCI Wiki
Revision as of 02:10, 11 December 2015 by Andrew Branscom (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Official SCI Documentation

Chapter: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14
15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | Index


The Code Class

Author: Jeff Stephenson

Date: 5 April 1988

 


The Code Class

The class Code encapsulates the concept of a subroutine into an object which can be executed or passed to an object for execution. This class is also used for making loopers and viewers.

In file: system.sc
Inherits from: Object
Inherited by: none


Properties


Methods

doit: [args...]

The doit: method of a Code object is the code to be executed. Any number of arguments is allowed.

 

Notes


 

Table of Contents

 

< Previous: The File Class Next: Global Variables >