Command Syntax | Description |
! shell_command
| Executes shell command. |
? [print_parameters, ...]
| Executes Print instruction. |
| Searches a help content containing short descriptions of commands for keywords. |
Break [line [IF condition]]
| Sets up a breakpoint at line specified. With “IF condition” breakpoint becomes conditional (it stops program execution only if condition becomes true). If no parameters are provided, Break shows active breakpoints and related lines of code. |
Build
| Compiles program (it is mainly useful for debugging purposes). |
Clr
| Clears all variables. |
ClrBrk
| Removes all breakpoints. |
Cd <new directory>
| Changes the current working directory. |
Cont
| Resumes program execution until your program completes, or stops on CTRL+C, or a breakpoint is hit. |
Exec <program file>
| Loads and runs a program file. |
Exit
| Exits the nuBASIC interpreter. |
Grep <pattern>
| Lists lines containing a match to the given pattern. |
| Provides a description about keyword. In case where keyword is not specified, shows the list of keywords, including commands, instructions functions and operators. |
List [first][-last]
List [first-]
| Lists all or part of a program. |
Load filename
| Loads a program file in memory. |
New
| Deletes the program currently in memory and clear all variables. |
Pwd
| Shows the current working directory. |
Renum [increment(default=10)]
| Renumbers program lines. |
Run [line]
| Executes the program currently in memory. |
RmBrk line
| Removes a breakpoint. |
Save filename
| Saves current program to file. |
TrOff
| Disables program tracing. |
TrOn
| Enables program tracing. |
Ver
| Prints out information about nuBASIC version. |
Vars
| Shows execution context information. |
Meta
| Shows meta information of program currently in memory. |
Resume
| This command is identical to Cont but it does not execute interrupted line, skipping it. |