mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 13:42:47 +00:00
Make the examples appear consistent in formatting. Placed echo code lines below Example headers.
parent
c319fe9e37
commit
a941138563
@ -8,23 +8,25 @@ Including the blank space ` `, these are the available char.
|
||||
### Implicit vs Explicit Statements
|
||||
In general, one worded, simple, or continuous phrases may be implicitly stated.
|
||||
|
||||
**Example 1:**
|
||||
**Example 1**
|
||||
|
||||
`echo Hello`
|
||||
|
||||
**Example 2:**
|
||||
**Example 2**
|
||||
|
||||
`echo Hello_World`
|
||||
|
||||
There are limitations for phrases containing certain char, including ` ` `-#$%`
|
||||
|
||||
These phrases fall under the explicit category in which quotation marks `" "` are necessary. These _can_ be escaped via the use of a backslash, but this should only really be used when there is one character that needs to be escaped.
|
||||
|
||||
**Example 3:**
|
||||
**Example 3**
|
||||
|
||||
Incorrect: `echo Hello World`
|
||||
|
||||
Correct: `echo "Hello World"`
|
||||
|
||||
**Example 4:**
|
||||
**Example 4**
|
||||
|
||||
Incorrect: `echo 0:/Nintendo 3DS/`
|
||||
|
||||
@ -36,7 +38,8 @@ Also correct (not recommended): `echo 0:/Nintendo\ 3DS/`
|
||||
|
||||
Phrases that are too long may become unreadable if they fill past the right edge of the 3DS bottom screen. Like typing with the **Enter** key for a keyboard, the inclusion of `\n` serves as a break to begin readouts with a new line.
|
||||
|
||||
**Example 5:**
|
||||
**Example 5**
|
||||
|
||||
`echo "Hello \nWorld"`
|
||||
|
||||
> Hello
|
||||
@ -44,14 +47,14 @@ Phrases that are too long may become unreadable if they fill past the right edge
|
||||
|
||||
In order to skip two lines, care is needed to add ` ` between the two `\n`.
|
||||
|
||||
**Example 6:**
|
||||
**Example 6**
|
||||
|
||||
`echo "Hello \n\nWorld"`
|
||||
|
||||
> Hello
|
||||
> World
|
||||
|
||||
**Example 7:**
|
||||
**Example 7**
|
||||
|
||||
`echo "Hello \n \nWorld"`
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user