Skip to content

Commit 8cee9bb

Browse files
committed
v250102.1
1 parent 5d8181c commit 8cee9bb

File tree

12 files changed

+162
-113
lines changed

12 files changed

+162
-113
lines changed
32.1 KB
Binary file not shown.

dist/easycoder-250102.1.tar.gz

2.52 MB
Binary file not shown.

doc/core/values/arg.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# args
1+
# arg
22

33
## Syntax:
44
`arg {n}`

doc/core/values/decode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
`decode EncodedString`
88

99
## Description:
10-
Decode a string using the current encoding, which is by default set to `utf-8`. Currently the only other option is `base64`. See the `[set](../keywords/set.md)` keyword; also [encode](encode.md).
10+
Decode a string using the current encoding, which is by default set to `utf-8`. Currently the only other option is `base64`. See the [set](../keywords/set.md) keyword; also [encode](encode.md).
1111

1212
Next: [element](element.md)
1313
Prev: [datime](datime.md)

doc/core/values/encode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
`encode Message`
88

99
## Description:
10-
Encode a string using the current encoding, which is by default set to `utf-8`. Currently the only other option is `base64`. See the `[set](../keywords/set.md)` keyword; also [decode](decode.md).
10+
Encode a string using the current encoding, which is by default set to `utf-8`. Currently the only other option is `base64`. See the [set](../keywords/set.md) keyword; also [decode](decode.md).
1111

1212
Next: [error](error.md)
1313
Prev: [empty](empty.md)

doc/core/values/error.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
``print error reason `Unexpected value` ``
99

1010
## Description:
11-
Gets an error code or reason.
11+
Sets up an error code or reason.
1212

1313
Next: [files](files.md)
1414
Prev: [encode](encode.md)

doc/core/values/files.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
``print the files in `/home/test` ``
88

99
## Description:
10-
Gets aa list of all the files in a given directory
10+
Gets a list of all the files in a given directory
1111

1212
Next: [float](float.md)
1313
Prev: [error](error.md)

doc/core/values/index.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
# index
22

33
## Syntax:
4-
`index of {variable}`
4+
`index of {variable}`
5+
`index of {value} in [variable]`
56

67
## Examples:
7-
`print the index of Values`
8+
`print the index of Values`
9+
``print the index of `apple` in Fruit` ``
810

911
## Description:
10-
Returns the index currently set in the named variable. Variables are arrays, even when they onld have a single element. The index is a pointer to which element should be accessed when using that variable. See also `[set](../keywords/set.md) the elements of` and `[index](../keywords/index) {variable} to`.
12+
Returns the index currently set in the named variable. All variables are arrays, even when they only have a single element. The index is a pointer to which element should be accessed when using that variable. For a variable with only a single element this index is zero. See also the keywords [set](../keywords/set.md) and [index](../keywords/index).
1113

12-
Next: [index of](indexOf.md)
14+
The second form operates on a `{variable}` that holds a JSON array of data, returning the index of the first occurrence of `{value}`.
15+
16+
Next: [integer](integer.md)
1317
Prev: [hash](hash.md)
1418

1519
[Back](../../README.md)

doc/core/values/indexOf.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

doc/core/values/integer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
## Description:
1010
Converts the text value provided into an integer.
1111

12-
Next: [index of](indexOf.md)
12+
Next: [index](index.md)
1313
Prev: [json](json.md)
1414

1515
[Back](../../README.md)

0 commit comments

Comments
 (0)