MicroScript Error Messages


The following two types of error messages are issued by MicroScript:

We will respectively explain the messages that are displayed and their causes. Please make use of them in debugging programs.

____________________

21.1 Error Messages that Appear When Reading a Script

The control structure beginning from the ~nth line is not closed.

For example, it is displayed in the following case.

IF
-
-
REPEAT
-
-
ENDIF
-
-
ENDREPEAT

The procedure or item ~ is not defined.

There is no ( complemented by ).

There is no [ complemented by ].

DEF size has exceeded the limit.

The depth of the DEF nest expansion has exceeded the limit.

The DEF name is already defined.

Please specify DUP.

The IF~ENDIF structure is illegal.

A KEY procedure is already defined.

Please specify the the character string of the MENU item.

The number of MENU procedures has exceeded the limit.

The REPEAT~ENDREPEAT structure is illegal.

The SET format is illegal.

Incorrect: setgnm ("test", 0)
Correct: CALL setgnm ("test", 0)

The SWITCH~ENDSWITCH structure is illegal.

The WHILE~ENDWHILE structure is illegal.

The event name is illegal.

This is an illegal item that cannot be interpreted.

Please specify a segment other than a virtual object.

Please specify a virtual object segment or path name.

Please specify a virtual object segment.

Please specify a variable segment.

The effect name is illegal.

The item has already been defined.

The item has not been defined.

It is not possible to set a value inside this item.

The status name is illegal.

This status name cannot be applied.

The numeric formula is illegal.

This cannot be operated on, since it is not a numeric value.

Please specify a numeric item.

Please specify a numeric array.

The size of the script has exceeded the limit.

Since this is outside of the control structure, it is invalid.

The depth of the control structure nest has exceeded the limit.

Since this is not an integer, it cannot be operated on.

Please specify an integer item.

Please specify an integer variable.

A procedure to start up from a segment has already been specified.

Because this is not a segment or procedure, . cannot be specified.

Please specify a segment name.

Please specify a segment.

The number of procedures and variables has exceeded the limit.

Because this is not a procedure, ( ) cannot be specified.

This cannot be described outside of a procedure.

There is no END at the end of the procedure.

This cannot be described inside a procedure.

The number of procedure arguments and local variables has exceeded the limit.

Please specify a procedure or procedure number.

The procedure name is illegal.

The number of procedure call parameters is illegal.

Please specify a procedure.

The numeric range that can be handled has been exceeded.

Please specify an array, segment, or a procedure.

Since this is not an array, [ ] cannot be specified.

The size of the array is illegal or has exceeded the limit.

Please specify the size of the array with an integer.

Please specify an array.

The number is illegal.

The necessary item is lacking.

There was an array reference with an illegal index.

This is an illegal instruction.

A partial array cannot be specified.

The form of the variable is illegal.

Please specify a character segment.

There is no ' at the end of the character constant.

There is no " at the end of the character string.

The length of the character string has exceeded the limit.

Please specify a character string or a character array.

____________________

21.2 Errors at the Time of Execution

There was an illegal argument in the built-in function.

System resources are insufficient.

There was an illegal reference of a system variable.

There was an illegal setting to a system variable.

There was an illegal reference of a status name.

There was an illegal setting to a status name.

There was an item that is not a numeric value.

An attempt was made to operate on an item that is not a numeric value.

There was an item that is not a script.

The size of the stack has exceeded the limit.

An attempt was made to operate on an item that is not an integer.

There was an item that is not a segment.

There was an illegal array reference to an item that is not an array.

There was an item that is not a path name.

There was an illegal repeat count value.

There was an array reference with an illegal index.

There was an illegal intermediate language.

Note: In the case of the above error, it is impossible to proceed with processing. In case there is a recurrence, consult with Personal Media Corporation's TRON Support Center.

There was an illegal procedure call.

The limit on the number of parallel executions has been exceeded.

There was an illegal setting to a variable.

There was an illegal reference of a variable.

There was an item that is not a character string or a character array.


The above is a translation of Chapter 21 of Maikuro sukuriputo nyuumon [An introduction to MicroScript], pp. 385-395.

Copyright © 1999 Personal Media Corporation