@@ -4,32 +4,32 @@ Simple programming language
4
4
Windows(https://github.com/NikkyHika/Programming-Language-Language/releases/tag/v1.0.2 )
5
5
6
6
# Cheat sheets
7
- ##Variable types
8
- ` number ` - int from C/C++.
9
- ` text ` - string from C++.
10
- ` symbol ` - char from C/C++.
11
- ` list<vartype> ` - list from C/C++.
7
+ ## Variable types
8
+ ` number ` - int from C/C++.< br >
9
+ ` text ` - string from C++.< br >
10
+ ` symbol ` - char from C/C++.< br >
11
+ ` list<vartype> ` - list from C/C++.< br >
12
12
` point_number ` - float from C/C++.
13
13
14
- ##Functions
15
- ` display text/number/symbol/point_number; ` - displays text on the screen.
16
- ` ask(); ` - get response from user, returns ` text ` .
17
- ` fileGetContents(text filename); ` - get content from file, returns ` text ` .
18
- ` filePutContents(text filename, text content); ` - put content to file.
19
- ` explode(symbol separator, text text); ` - splits a string into a list of texts, returns ` list<text> ` .
20
- ` getPath(); ` - gets the directory path it is currently in, returns ` text ` .
21
- ` listDir(); ` - gets a list of files and folders from the current directory, returns ` list<text> ` .
22
- ` deleteFile(text filename); ` - deletes a file.
23
- ` deleteFolder(text foldername); ` - deletes a folder (dir)(only if it's empty).
24
- ` createFolder(text foldername); ` - creates a folder.
25
- ` changeDir(text foldername); ` - move to another directory.
26
- ` cmdCommand(text command); ` - execute command line command.
14
+ ## Functions
15
+ ` display text/number/symbol/point_number; ` - displays text on the screen.< br >
16
+ ` ask(); ` - get response from user, returns ` text ` .< br >
17
+ ` fileGetContents(text filename); ` - get content from file, returns ` text ` .< br >
18
+ ` filePutContents(text filename, text content); ` - put content to file.< br >
19
+ ` explode(symbol separator, text text); ` - splits a string into a list of texts, returns ` list<text> ` .< br >
20
+ ` getPath(); ` - gets the directory path it is currently in, returns ` text ` .< br >
21
+ ` listDir(); ` - gets a list of files and folders from the current directory, returns ` list<text> ` .< br >
22
+ ` deleteFile(text filename); ` - deletes a file.< br >
23
+ ` deleteFolder(text foldername); ` - deletes a folder (dir)(only if it's empty).< br >
24
+ ` createFolder(text foldername); ` - creates a folder.< br >
25
+ ` changeDir(text foldername); ` - move to another directory.< br >
26
+ ` cmdCommand(text command); ` - execute command line command.< br >
27
27
` textToNum(text); ` - converts ` text ` to ` number ` .
28
28
29
- ##The rest that is not here
30
- ` loop ` - this creates a ` while ` loop.
31
- ` begin ` - opens a code block for a function/class/loop like ` { ` .
32
- ` end ` - closes a code block for a function/class/loop like ` } ` .
29
+ ## The rest that is not here
30
+ ` loop ` - this creates a ` while ` loop.< br >
31
+ ` begin ` - opens a code block for a function/class/loop like ` { ` .< br >
32
+ ` end ` - closes a code block for a function/class/loop like ` } ` .< br >
33
33
34
34
# Hello world
35
35
0 commit comments