Update README.md

This commit is contained in:
BratPfanneTV 2018-10-20 10:34:29 +02:00 committed by GitHub
parent 5e831a3209
commit a791408c56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -95,7 +95,7 @@ the directory to the PATH-Environment-Variable.
| PRINT | v1 | *stdout* **string** | `PRINT <String>` | Prints the **String**. Only difference to the built-in `echo` is that no newline is added at the end. | | PRINT | v1 | *stdout* **string** | `PRINT <String>` | Prints the **String**. Only difference to the built-in `echo` is that no newline is added at the end. |
| READKEY | v3 | *errorlevel* **keyCode** | `READKEY <MS>` | Waits **MS** Milliseconds for a keypress, then returns 0. The returned number when a key is pressed consists of two values:<br />Example: `7068`<br />The *68* stands for the <u>KeyCode</u> of the pressed key, in this case *D*. The 7 at the beginning stands for the Modifier-buttons that were pressed:<br />`0 - None, 1 - Alt, 2 - Shift, 3 - Alt+Shift, 4 - Control, 5 - Control+Alt, 6 - Control+Shift, 7 - Control+Alt+Shift`.<br />These values can be extracted using *Division* and *Modulo*. | | READKEY | v3 | *errorlevel* **keyCode** | `READKEY <MS>` | Waits **MS** Milliseconds for a keypress, then returns 0. The returned number when a key is pressed consists of two values:<br />Example: `7068`<br />The *68* stands for the <u>KeyCode</u> of the pressed key, in this case *D*. The 7 at the beginning stands for the Modifier-buttons that were pressed:<br />`0 - None, 1 - Alt, 2 - Shift, 3 - Alt+Shift, 4 - Control, 5 - Control+Alt, 6 - Control+Shift, 7 - Control+Alt+Shift`.<br />These values can be extracted using *Division* and *Modulo*. |
| RENDER-GRAPH | v5 | *stdout* **graph** | `RENDER-GRAPH <axis length> <term>` | Renders a mathematical term to a graph. *y=* is not required. | | RENDER-GRAPH | v5 | *stdout* **graph** | `RENDER-GRAPH <axis length> <term>` | Renders a mathematical term to a graph. *y=* is not required. |
| RENDER-TABLE | v5 | *stdout* **table**<br />*errorlevel* **selection** | `RENDER-TABLE <mode> <rows> <cols> <cells>...` | Renders a table which width automatically changes depending on the contents. The **cells** are seperated by spaces, and the amount of given cells has to be exactly **rows**\***cols**. Also, the cells should be given in a vertical order. Example:<br /><br />1 2 3 4 5 6 7 8 9 = <br />147<br />258<br />639<br /><br/>Available Modes:<br />`SHOW` - Just shows the table.<br />`SELECT` - Allow the user to select a table cell and returns the number of it in the errorlevel.<br />`EMU-SELECT` - Adds the extra spacing each cell has in `SELECT`, but doesn't actually let the user select something. | | RENDER-TABLE | v5 | *stdout* **table**<br />*errorlevel* **selection** | `RENDER-TABLE <mode> <rows> <cols> <cells>...` | Renders a table which width automatically changes depending on the contents. The **cells** are seperated by spaces, and the amount of given cells has to be exactly **rows**\***cols**. Also, the cells should be given in a vertical order. Example:<br /><br />1 2 3 4 5 6 7 8 9 = <br />147<br />258<br />369<br /><br/>Available Modes:<br />`SHOW` - Just shows the table.<br />`SELECT` - Allow the user to select a table cell and returns the number of it in the errorlevel.<br />`EMU-SELECT` - Adds the extra spacing each cell has in `SELECT`, but doesn't actually let the user select something. |
| SLEEP | v3 | *none* | `SLEEP <MS>` | Pauses the script for **MS** Milliseconds. | | SLEEP | v3 | *none* | `SLEEP <MS>` | Pauses the script for **MS** Milliseconds. |
| STARTINVISBLE | v3 | *none* | `STARTINVISIBLE <script file>` | When used with `START /B`, this starts a batch-script as invisible. This script can then do whatever you want. When executed, the command writes the PID of the started process to `%temp%\processid.txt`, so you can terminate it with `taskkill` at any time. This may be updated to return the PID in *errorlevel* and not require *start /b* in a future version. | | STARTINVISBLE | v3 | *none* | `STARTINVISIBLE <script file>` | When used with `START /B`, this starts a batch-script as invisible. This script can then do whatever you want. When executed, the command writes the PID of the started process to `%temp%\processid.txt`, so you can terminate it with `taskkill` at any time. This may be updated to return the PID in *errorlevel* and not require *start /b* in a future version. |
| STRLEN | v1 | *errorlevel* **length** | `STRLEN <String>` | Returns the amount of characters in **String** in `%errorlevel%` | | STRLEN | v1 | *errorlevel* **length** | `STRLEN <String>` | Returns the amount of characters in **String** in `%errorlevel%` |