MC-Basic:RESET

From SoftMC-Wiki
Jump to: navigation, search
Language: English  • 中文(简体)‎

This command deletes system variables and tasks from memory and clears the files from RAM. When variables are being deleted, ALL existing system variables are deleted. It is not possible to choose which variables and tasks to delete. System variables include the regular variables of type Long and Double, as well as the special variables of type Group, CAM, and PLS. The RESET command causes all Groups, Cams and PLSs to be deleted. Deleting tasks kills and unloads each task. After deleting tasks and system variables (RESET ALL), RESET executes the CONFIG.PRG task, and returns the system to the state it was in after power up. The AUTOEXEC.PRG task is not executed.

Syntax

RESET TASKS | ALL

Availability

All versions

Range

TASKS: Delete only tasks from memory
ALL: Delete tasks and system variables

Scope

Terminal

Limitations

Write only. No tasks may be running. No axes or groups may be moving.

Examples

Reset All

Reset Tasks

See Also