-
Notifications
You must be signed in to change notification settings - Fork 0
Exit command
Alvin Cheng edited this page Jan 9, 2023
·
1 revision
This is the exit command, this command will stop the program, this command has a similar function to nodejs' built-in process.exit() function. The command will exit with the status in a number format in argument 1. if you leave argument 1 with undefined, you will exit with code 0.
Computer programs have exit codes so that the user can identify the error, an exit code of 0 indicates success and an exit code of 1 indicates error or failure. This exit code can also be seen when using a shell command.
exit 0;
- Home
- Setup
- Print command
- Variables and set command
- Append command
- Array command
- Call command
- Clear command
- Compare command
- Concat command
- Create command
- Delay command
- Delete command
- Disable command
- Enable command
- Exit command
- Export command
- Fetch command
- Functions and the function command
- Get command
- If statements
- Import command
- Length command
- Load string command
- Object command
- POST command
- Prompt command
- Read command
- Remove command
- Repeat command
- Shell command
- Write command
- Calculate command
- Sin cos and tan commands
- PI command
- Rand command
- Round command
- Sqrt command
- Delete message command
- Get messages command
- Follow user command
- Get public rooms command
- Get rooms command
- Join room command
- Login command
- On message command
- Remove room command
- Room exists command
- Send message command
- Signout command
- Final words&thoughts