Skip to content

Commit a83b6fa

Browse files
2 parents ab7cecf + 2478a14 commit a83b6fa

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

Main/README.md

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

33
Contains the basic functionality for EZCode (automatically included in build).
4-
- `bool`, `str`, `float`, `int`, `expressions`, `var`, and `list` classes
5-
- `print`, `input`, `runcode`, `clear`, `regexmatch`, and `istype` methods
4+
- `bool`, `str`, `float`, `int`, `char`, `expressions`, `var`, and `list` classes
5+
- `print`, `input`, `runcode`, `clear`, `regexmatch`, `environment`, and `istype` methods
66
- basic math functions including:
77
- `add` add numbers
88
- `subtract` subtract numbers
@@ -18,6 +18,7 @@ bool b new : True
1818
str s new : Hello World
1919
float f new : 1.23
2020
int i new : 123
21+
char c new : A
2122
var v new : any
2223
list l new : 1;2;3
2324
(5 * 5) // expression -- explicit watch \((.* {EXP})\)
@@ -35,4 +36,5 @@ pi // returns pi constant
3536
clamp 50, 10, 100 // clamps number '50' between '10' and '100'
3637
avg 10, 20, 30, 40, 50, 100000 // returns the average of the numbers
3738
operate sin, 50 // returns the sin of 50
39+
str user new => environment : username
3840
```

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
All of System EZCode packages.
44
- [Main](Main/package.json): Includes main functionality for EZCode (automatically included in build)
5-
- `bool`, `str`, `float`, `int`, `expressions`, `var`, and `list` classes
6-
- `print`, `input`, `runcode`, `clear`, `regexmatch`, and `istype` methods
5+
- `bool`, `str`, `float`, `int`, `char`, `expressions`, `var`, and `list` classes
6+
- `print`, `input`, `runcode`, `clear`, `regexmatch`, `environment`, and `istype` methods
77
- basic math functions including:
88
- `add` add numbers
99
- `subtract` subtract numbers

0 commit comments

Comments
 (0)