reference:exclusive_commands_for_direct_mode

Exclusive Commands for Direct Mode

NEW

Erase the program in all program slots

・Direct Mode only

Example

NEW

NEW ProgramSlot

Erase the program in the specified program slot

・Direct Mode only

Argument

ProgramSlot

Program slot to erase: 0-5

Example

NEW 3

LIST

Switch to edit mode

・Direct Mode only

Example

LIST

LIST [ProgramSlot:]LineNumber

Switch to Edit Mode and move the cursor to the specified line number of the specified program slot

・Direct Mode only

Arguments

ProgramSlot

Specify the program slot to edit

・When not specified, the program slot currently being edited is specified.

LineNumber

Specify the line number you want to edit

Example

LIST 20
LIST 2:20

LIST ERR

Switch to Edit Mode and move the cursor to the position where the error occurred immediately before.

・Direct Mode only

Example

LIST ERR

RUN

Execute the program in program slot 0.

・Direct Mode only
・Variables, SPFUNC and TFUNC settings are cleared.

Example

RUN

RUN ProgramSlot

Execute the program in the specified program slot.

・Direct Mode only
・The variable of the specified slot, SPFUNC, TFUNC setting contents are cleared.

Argument

ProgramSlot

Program slot to execute: 0-5

Example

RUN 1

CONT

Resume execution of a stopped program.

・Direct Mode only
・The program can be resumed from the position where program execution was interrupted with the STOP command or Break button.
・If program execution stops due to an error, it cannot be resumed.
・After program execution is interrupted, it cannot be resumed if the program is edited.
・It cannot be resumed if it is interrupted while waiting for input.

Example

CONT

TRACE

Execute only one command of a stopped program

・Direct Mode only
・The program can be resumed from the position where program execution was interrupted with the STOP command or Break button.
・If program execution stops due to an error, it cannot be executed.
・If you edit a program after interrupting program execution, it cannot be executed.
・It cannot be executed if it is interrupted while waiting for input.

Example

TRACE

BACKTRACE

Display subroutine and user-defined commands call history

・Direct Mode only
・Display the call history up to the point where program execution was interrupted by the STOP command or an error stop.
・Display a list of program slot numbers and line numbers.

Example

BACKTRACE

PROJECT "ProjectName"

Changing the current project

・Direct Mode only

Argument

ProjectName

The name of the project you want to make current project

・If you specify an empty string "", the workspace project will be selected.

Example

PROJECT "MYGAME" 

SUBRUN FileNameString

Load the specified program on the subprogram side and start execution as a subprogram

・Direct Mode only
・Sub interpreter variables, SPFUNC, and TFUNC settings are cleared.

Argument

FileNameString

File name string of the program to be loaded as a subprogram

SUBSTOP

Stop the running subprogram from the main program side

・Direct Mode only

SUBSHOW

Display the subprogram display

・Direct Mode only

SUBHIDE

Hide the subprogram display

・Direct Mode only

CLEAR

Initialize BASIC internal memory

・Direct Mode only

Example

CLEAR

reference/exclusive_commands_for_direct_mode.txt · Last modified: 2023/12/07 15:54 (external edit)

Page Tools