Update README.md
This commit is contained in:
parent
5e831a3209
commit
a791408c56
1 changed files with 1 additions and 1 deletions
|
|
@ -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. |
|
||||
| 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-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. |
|
||||
| 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%` |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue