BTRON MicroScript Reference Manual

How to Read the Reference Section


The Reference Section is generally lined up in alphabetical order according to function. In regard to the classification of the functions, please look at the Table of Contents.

(1) APPEAR
(2) Syntax

(3) Function
_____The APPEAR statement displays a specified segment in a window (in a case where another segment has been displayed, it is displayed by overlapping on top of it). In a case where the segment has already been displayed, it does nothing.
_____In specifying a segment, there is the method of directly specifying the segment name, the method of specifying a symbol variable in which the segment has been stored, and the method of specifying a variable segment variable. We can specify multiple segments by punctuating segment names, symbol variables, and variable segment variables with ' , ' and lining them up. In a case where a specified symbol variable or variable segment variable is empty (a state in which nothing has been specified), nothing will be displayed, and it also won't result in an error.
_____In a case where the SCENE statement has not yet been executed, a segment will be displayed in its original position in the figure. In a case where the SCENE statement has already been executed, the segment group displayed with the SCENE statement becomes the reference. Also, it is possible to move a segment and put it in place by using the MOVE statement beforehand.
_____In a case where we have attached ' ; ' after the APPEAR statement, or in a case where 'UPDATE 0' has been executed, the segment will not be immediately displayed, and execution will move to the next statement. We use this in making smooth, continuous displays, such as animation. In a case where nothing is attached at the end, the segment will be displayed immediately.
_____In a case where we have attached an effect name or step expression at the end of the APPEAR statement, an effect will be attached to the display of the segment. For effect names, please refer to the "Effect Names" entry (p. 77).

70

I Reference Section

Errors that Occur at Startup Time
(4)
Item not defined
The segment name, symbol variable, or name of the variable segment variable is incorrect. Also, please confirm if you have not forgotten to insert " : " before the effect name.
Errors that Occur During Execution (only in the case of DEBUG 1; refer to p. 39)
There was an item that was not a segment
Something that is not a segment has been loaded in the symbol variable.
Errors that Are Loaded into $ERR (refer to p. 170 concerning $ERR)
0_____ When we execute this statement, 0 gets loaded.

71

(1) Title

Here, we display the statement, function, etc., that we are explaining.

(2) Syntax

We show the syntax rules with a figure here.

(3) Function

An explanation of the function, examples, matters for caution, etc., are written here. Lines without an arrow proceed in the → direction. Places where there is branching show that it is all right to proceed in whatever direction. Circles and ovals show describing as is with the character written inside them. What is written inside the rectangles are explanations, and they show the describing of actual segment names, etc.

(4) Errors

Errors that occur with this statement, function, etc., plus explanations and hints for resolving them are written here.


The above contents of BTRON MicroScript Reference Manual were translated and loaded onto this Web page with the permission of Personal Media Corporation.

Copyright (c) 1997 Personal Media Corporation

Copyright (c) 2009 Sakamura Laboratory, University Museum, University of Tokyo