New page wikitext, after the edit (new_wikitext) | 'Esomachine was made by [https://esolangs.org/wiki/User:DmilkaSTD DmilkaSTD].
Imagine we have an array with infinite length. When it starts every array index is locked (If an index is locked, it can't be modified).
To unlock a value just write INDEX_STATE[<Number>, <True / False>]
<Number>: Which array element will be locked or unlocked
<True / False>: True is for locking it, false is for unlocking it.
To set the value of an array just write INDEX_SET[<Number>, <Value>]
<Number>: Which array element will be changed value.
<Value>: The new value of the array element.
To output, an ASCII value write OUTPUT[<Number>]
<Number>: Which array element will be outputted as an ASCII letter.
To write a comment just do \Comment
\Hello world 1.0
INDEX_STATE[1, false]
\H
INDEX_SET[1, 72]
OUTPUT[1]
\e
INDEX_SET[1, 101]
OUTPUT[1]
\l
INDEX_SET[1, 108]
OUTPUT[1]
\l
OUTPUT[1]
\o
INDEX_SET[1, 111]
OUTPUT[1]
\space
INDEX_SET[1, 32]
OUTPUT[1]
\w
INDEX_SET[1, 119]
OUTPUT[1]
\o
INDEX_SET[1, 111]
OUTPUT[1]
\r
INDEX_SET[1, 114]
OUTPUT[1]
\l
INDEX_SET[1, 108]
OUTPUT[1]
\d
INDEX_SET[1, 100]
OUTPUT[1]
\!
INDEX_SET[1, 33]
OUTPUT[1]
Now we will add a new feature, THE HOLDING VALUE, it is like a value you have in your hands, it is for maths.
To set the holding value to something write HANDS_IN[<Number>]
<Number>: The holding value is now the array element specified.
To do maths just use HANDS_CONLANG[<Operation (+, -, /, x)>, <Number>]
<Operation>: The operation will be used for math
<Number>: Number will holding value be added, subtracted, divided or multiplicated.
Now I will teach you how to set an array index value to THE HOLDING VALUE.
When the command uses a parameter called: <Number> or <Value> then you can write HANDS and that will be the value put in that parameter. Example:
If your holding value is 5 and you put INDEX_SET[9, HANDS] then the array element number 9 will be set to 5, the same with INDEX_SET[HANDS, 9] the array element number 5 will be set to 9.
This is not exclusive for index_set can be used for every command like:
OUTPUT[HANDS] then the array element who has the same number as your holding value will be outputted. Confusing?.
Now I will teach my favorite command, the JUMP, it is for a jump to a part of your code.
HANDS_JUMP[<Jump type>, <Number>]
<Jump type>: NORMAL: The jump will be executed
NEGATIVE: The jump will be executed IF your holding value is a negative number
ZERO: The jump will be executed IF your holding value equals ZERO
POSITIVE: The jump will be executed IF your holding value is a positive number
<Number>: If you write a number the jump will be executed IF your holding value equals to the number specified
<Number>: The line that you will jump.
Something I forgot, the comments doesn't use a line number
To get input just write: HANDS_EXPECT[]:
It will get input and the inputted char will be converted to ASCII and set to the holding value
And the final, if you write in a Number parameter a number inside brackets, like this: [15]
will redirect to an array element (The element number will be the specified in the brackets) and that will redirect to an array element according to his value. Example:
HANDS_IN[[5]]
v
Array element number 5 = 8
v
Array element number 8 = 16
v
Now the holding value is 16.' |
Unified diff of changes made by edit (edit_diff) | '@@ -1,1 +1,92 @@
+Esomachine was made by [https://esolangs.org/wiki/User:DmilkaSTD DmilkaSTD].
+Imagine we have an array with infinite length. When it starts every array index is locked (If an index is locked, it can't be modified).
+
+To unlock a value just write INDEX_STATE[<Number>, <True / False>]
+<Number>: Which array element will be locked or unlocked
+<True / False>: True is for locking it, false is for unlocking it.
+
+To set the value of an array just write INDEX_SET[<Number>, <Value>]
+<Number>: Which array element will be changed value.
+<Value>: The new value of the array element.
+
+To output, an ASCII value write OUTPUT[<Number>]
+<Number>: Which array element will be outputted as an ASCII letter.
+
+To write a comment just do \Comment
+
+ \Hello world 1.0
+ INDEX_STATE[1, false]
+ \H
+ INDEX_SET[1, 72]
+ OUTPUT[1]
+ \e
+ INDEX_SET[1, 101]
+ OUTPUT[1]
+ \l
+ INDEX_SET[1, 108]
+ OUTPUT[1]
+ \l
+ OUTPUT[1]
+ \o
+ INDEX_SET[1, 111]
+ OUTPUT[1]
+ \space
+ INDEX_SET[1, 32]
+ OUTPUT[1]
+ \w
+ INDEX_SET[1, 119]
+ OUTPUT[1]
+ \o
+ INDEX_SET[1, 111]
+ OUTPUT[1]
+ \r
+ INDEX_SET[1, 114]
+ OUTPUT[1]
+ \l
+ INDEX_SET[1, 108]
+ OUTPUT[1]
+ \d
+ INDEX_SET[1, 100]
+ OUTPUT[1]
+ \!
+ INDEX_SET[1, 33]
+ OUTPUT[1]
+
+Now we will add a new feature, THE HOLDING VALUE, it is like a value you have in your hands, it is for maths.
+
+To set the holding value to something write HANDS_IN[<Number>]
+<Number>: The holding value is now the array element specified.
+
+To do maths just use HANDS_CONLANG[<Operation (+, -, /, x)>, <Number>]
+<Operation>: The operation will be used for math
+<Number>: Number will holding value be added, subtracted, divided or multiplicated.
+
+Now I will teach you how to set an array index value to THE HOLDING VALUE.
+When the command uses a parameter called: <Number> or <Value> then you can write HANDS and that will be the value put in that parameter. Example:
+If your holding value is 5 and you put INDEX_SET[9, HANDS] then the array element number 9 will be set to 5, the same with INDEX_SET[HANDS, 9] the array element number 5 will be set to 9.
+This is not exclusive for index_set can be used for every command like:
+OUTPUT[HANDS] then the array element who has the same number as your holding value will be outputted. Confusing?.
+
+Now I will teach my favorite command, the JUMP, it is for a jump to a part of your code.
+HANDS_JUMP[<Jump type>, <Number>]
+<Jump type>: NORMAL: The jump will be executed
+ NEGATIVE: The jump will be executed IF your holding value is a negative number
+ ZERO: The jump will be executed IF your holding value equals ZERO
+ POSITIVE: The jump will be executed IF your holding value is a positive number
+ <Number>: If you write a number the jump will be executed IF your holding value equals to the number specified
+<Number>: The line that you will jump.
+Something I forgot, the comments doesn't use a line number
+
+To get input just write: HANDS_EXPECT[]:
+It will get input and the inputted char will be converted to ASCII and set to the holding value
+
+And the final, if you write in a Number parameter a number inside brackets, like this: [15]
+will redirect to an array element (The element number will be the specified in the brackets) and that will redirect to an array element according to his value. Example:
+HANDS_IN[[5]]
+ v
+ Array element number 5 = 8
+ v
+ Array element number 8 = 16
+ v
+ Now the holding value is 16.
' |
Lines added in edit (added_lines) | [
0 => 'Esomachine was made by [https://esolangs.org/wiki/User:DmilkaSTD DmilkaSTD].',
1 => 'Imagine we have an array with infinite length. When it starts every array index is locked (If an index is locked, it can't be modified).',
2 => '',
3 => 'To unlock a value just write INDEX_STATE[<Number>, <True / False>]',
4 => '<Number>: Which array element will be locked or unlocked',
5 => '<True / False>: True is for locking it, false is for unlocking it.',
6 => '',
7 => 'To set the value of an array just write INDEX_SET[<Number>, <Value>]',
8 => '<Number>: Which array element will be changed value.',
9 => '<Value>: The new value of the array element.',
10 => '',
11 => 'To output, an ASCII value write OUTPUT[<Number>]',
12 => '<Number>: Which array element will be outputted as an ASCII letter.',
13 => '',
14 => 'To write a comment just do \Comment',
15 => '',
16 => ' \Hello world 1.0',
17 => ' INDEX_STATE[1, false]',
18 => ' \H',
19 => ' INDEX_SET[1, 72]',
20 => ' OUTPUT[1]',
21 => ' \e',
22 => ' INDEX_SET[1, 101]',
23 => ' OUTPUT[1]',
24 => ' \l',
25 => ' INDEX_SET[1, 108]',
26 => ' OUTPUT[1]',
27 => ' \l',
28 => ' OUTPUT[1]',
29 => ' \o',
30 => ' INDEX_SET[1, 111]',
31 => ' OUTPUT[1]',
32 => ' \space',
33 => ' INDEX_SET[1, 32]',
34 => ' OUTPUT[1]',
35 => ' \w',
36 => ' INDEX_SET[1, 119]',
37 => ' OUTPUT[1]',
38 => ' \o',
39 => ' INDEX_SET[1, 111]',
40 => ' OUTPUT[1]',
41 => ' \r',
42 => ' INDEX_SET[1, 114]',
43 => ' OUTPUT[1]',
44 => ' \l',
45 => ' INDEX_SET[1, 108]',
46 => ' OUTPUT[1]',
47 => ' \d',
48 => ' INDEX_SET[1, 100]',
49 => ' OUTPUT[1]',
50 => ' \!',
51 => ' INDEX_SET[1, 33]',
52 => ' OUTPUT[1]',
53 => '',
54 => 'Now we will add a new feature, THE HOLDING VALUE, it is like a value you have in your hands, it is for maths.',
55 => '',
56 => 'To set the holding value to something write HANDS_IN[<Number>]',
57 => '<Number>: The holding value is now the array element specified.',
58 => '',
59 => 'To do maths just use HANDS_CONLANG[<Operation (+, -, /, x)>, <Number>]',
60 => '<Operation>: The operation will be used for math',
61 => '<Number>: Number will holding value be added, subtracted, divided or multiplicated.',
62 => '',
63 => 'Now I will teach you how to set an array index value to THE HOLDING VALUE.',
64 => 'When the command uses a parameter called: <Number> or <Value> then you can write HANDS and that will be the value put in that parameter. Example:',
65 => 'If your holding value is 5 and you put INDEX_SET[9, HANDS] then the array element number 9 will be set to 5, the same with INDEX_SET[HANDS, 9] the array element number 5 will be set to 9.',
66 => 'This is not exclusive for index_set can be used for every command like:',
67 => 'OUTPUT[HANDS] then the array element who has the same number as your holding value will be outputted. Confusing?.',
68 => '',
69 => 'Now I will teach my favorite command, the JUMP, it is for a jump to a part of your code.',
70 => 'HANDS_JUMP[<Jump type>, <Number>]',
71 => '<Jump type>: NORMAL: The jump will be executed',
72 => ' NEGATIVE: The jump will be executed IF your holding value is a negative number',
73 => ' ZERO: The jump will be executed IF your holding value equals ZERO',
74 => ' POSITIVE: The jump will be executed IF your holding value is a positive number',
75 => ' <Number>: If you write a number the jump will be executed IF your holding value equals to the number specified',
76 => '<Number>: The line that you will jump.',
77 => 'Something I forgot, the comments doesn't use a line number',
78 => '',
79 => 'To get input just write: HANDS_EXPECT[]:',
80 => 'It will get input and the inputted char will be converted to ASCII and set to the holding value',
81 => '',
82 => 'And the final, if you write in a Number parameter a number inside brackets, like this: [15]',
83 => 'will redirect to an array element (The element number will be the specified in the brackets) and that will redirect to an array element according to his value. Example:',
84 => 'HANDS_IN[[5]]',
85 => ' v',
86 => ' Array element number 5 = 8',
87 => ' v',
88 => ' Array element number 8 = 16',
89 => ' v',
90 => ' Now the holding value is 16.'
] |