File tree Expand file tree Collapse file tree 4 files changed +13
-1
lines changed
Expand file tree Collapse file tree 4 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ func Func_Info()(map[int]string){
6868 info [3 ] = "Println"
6969 info [4 ] = "Stick"
7070 info [5 ] = "Exit"
71+ info [6 ] = "Free"
7172 return info
7273}
7374
@@ -82,4 +83,15 @@ func Input(value map[int]string)(string){
8283 fmt .Scanln (& text )
8384 return text
8485}
86+
87+ func Free (value map [int ]string )(string ){
88+ varName := value [0 ]
89+ Copy := vm .Mains
90+ File := vm .So_Array_Stick (Copy .FuncName + varName ,& Copy )
91+ vm .Del_Dir (File + "/" )
92+ vm .Del_Dir (File )
93+ vm .Del_File (File )
94+ vm .Del_Files (File )
95+ return "<TRUE>"
96+ }
8597//go build -buildmode=plugin -o system.so System.go
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import(
1515 "io/ioutil"
1616 "github.com/peterh/liner"
1717)
18- const Version = "4.6.0 "
18+ const Version = "4.6.1 BETA 1 "
1919func RunCode (Code string ,FilesStruct vm.FileValue )vm.FileValue {
2020 Opcode := Compile (Code )
2121 if ini .DebugsIf (){
You can’t perform that action at this time.
0 commit comments