・This command has meaning only within subprograms. Nothing happens when used from the main program or direct mode.
・The subprograms cannot show the display until this command is executed.
・XSUBSCREEN is a command to set the outline of the sub screen, and the BASIC display resolution in it must be set separately with XSCREEN.
Display offset on the main display of the sub display: -32768 to 32767
Display size of the sub display
・Width: 1 to 1280
・Height: 1 to 720
・This command has meaning only within subprograms. Nothing happens when used from the main program or direct mode.
・When this command is executed, the subprogram disappears from the display.
Specify 0 for the argument to turn off the indication.
・This command has meaning only within subprograms. When used from the main program or direct mode, 0,0 is returned.
Display offset on the main display of the sub display
Display size of the sub display
・This command has meaning only within subprograms. Nothing happens when used from the main program or direct mode.
Main interpreter status to be set
・Only 0 can be specified.
・It is not set when the current status is 3 or 4.
0 | Waiting in Direct Mode |
1 | Execution Suspended |
2 | Execution Stopped Due to Error |
3 | Running Program |
4 | Editing Program |
0 | Waiting in Direct Mode |
1 | Execution Suspended |
2 | Execution Stopped Due to Error |
3 | Running Program |
4 | Editing Program |
Current execution slot
Current edit slot
0 | Waiting in Direct Mode |
1 | Execution Suspended |
2 | Execution Stopped Due to Error |
3 | Running Program |
4 | Editing Program |
If an error has occurred, a value other than 0 is returned.
If the argument that occurred when the error occurred is known, a positive value is returned.
If an error has occurred, the program slot that occurred is returned.
If an error has occurred, the character position from the beginning of the generated source code is returned.
If an error has occurred, the line number in the source code that occurred is returned.
・This command is valid only in the sub interpreter.
Specify 0 when copying a program slot
Program slot ot the copy source main interpreter
Program slot of the copy destination sub interpreter
・This command is valid only in the sub interpreter.
Specify 1 when copying graphic page
Graphic page of the copy source main interpreter
Graphic page of the copy destination sub interpreter
・This command is valid only in the sub interpreter.
Specify 2 when copying SPDEF definitions
SPDEF definition number of the copy source main interpreter
SPDEF definition number of the copy destination sub interpreter
Specify 1 when copying graphic page
Graphic page of the copy source sub interpreter
Graphic page of the copy destination main interpreter
Specify 2 when copying SPDEF definition
SPDEF definition number of the copy source sub interpreter
SPDEF definition number of the copy destination main interpreter
Number of input history to get. The larger the history, the more historical it will be: (0 to 32)
・If 0 is specified, the console line currently being input is acquired instead of the history.
・0, if not specified.
Content string of input line or specified input history
Interpreter type
0 | Main Interpreter |
1 | Sub Interpreter |
2 | UI Interpreter |
Parameter set at startup
・Programs that can be created by the user always return -1.
1 to get focus, 0 to transfer focus
Whether it has focus
・If it has, it returns 1. If it does not, it's 0.
Input string
・Maximum 64 characters
・Command for internal use only. Do not use.
String of command name at the cursor position
・If there is no command name, "DEFAULTHELPKEY" is returned.
An array that returns the number of rows
・The number of elements in the array is the number of pages.
・Command for internal use only. Do not use.
String of command name to get
An array that returns the number of rows
・The number of elements in the array is the number of pages.
・Command for internal use only. Do not use.
String of command name to get
Page number to get
Line number to get
Each value is a string of one line
・The array size is the number of lines.
The tag for each value is a number of indentations and color information.
・When HEAD is included in the internal information, it becomes a headline, and it is used for moving between headlines with PAGEUP/DOWN.
・The array size is the number of lines.
Value | Description |
---|---|
0 | Basic Line |
1 | You can see it by scrolling the title |
2 | Argument Headlines |
3 | Return Value Headlines |
4 | Other Headlines |
5 | Description directly under the title |
6 | Argument Subheadings |
7 | Return Value Subheadings |
8 | Other Subheadings |
Attribute information for a specific string in a line
・The array is a 3D array, and the size of the array is the number of rows, the number of attributes per row, and the attribute number.
・Reference: ARRAY#(NumberOfRows,NumberOfAttributesPerRow,AttributeType)
・When the attribute number is 0 (position) and the acquired value is negative, each attribute information is invalid.
Index | Description |
---|---|
0 | Position |
1 | Length from Position |
2 | Color |
・As the corresponding attribute increases, the structure in the array may change.
Code example string