!English/Commands

From Esolang
Jump to navigation Jump to search

Back to !English

Commands

Command list
!English command Meaning
Print Prints a number or a string. It also works with directory listings.
Declare Declares a variable or a function.
If…Else Conditional statement.
While Loops until the specific condition is met.
For Loops for a number of times.
Trap Stops the program.
Give me Prompts for a user input.
Jump to Jumps to a part of the code.
Write Writes text to a file.
Create Creates a blank object (file or folder).
Delete Deletes a object (file or folder).
Rename Renames a object (file or folder).
Copy Copies a object (file or folder) to a destination.
Move Moves a object (file or folder) to a destination.
Put Puts the current working folder 1 folder (deep/shallow). Equivalent to cd on Windows for 1 folder deep and cd.. on Windows for 1 folder shallow.
Read Reads the file and prints its contents (or a line of the file).
Start Marks a part of the code. It also begins a multi-line comment. It also functions as a statement to start a file, webpage, etc…
End Marks the end of a part of the code. It also ends a multi-line comment.
Ignore Prohibits execution of this line (useful as a comment).
Hold Waits for a specific amount of time (or a keypress).

Extended commands

It can use extensions to add additional commands & functionality! Some of our commands are listed below:

Extended command list
!English command Meaning
Show Slimiar to "Print", useful for dialog boxes.
Generate A command that creates stuff, for example with AI.
Use Slimiar to "Declare" but only for APIs, etc…. It also uses a function declared previously.
Open Slimiar to "Start", but only with windows, etc…
Close Slimiar to "Trap", but closes a window. It not stops the program itself.
Play Plays a song, a video, etc...