Skip to content

Commit f0b8ac4

Browse files
authored
Add files via upload
1 parent 66e9d9d commit f0b8ac4

File tree

8 files changed

+10
-2
lines changed

8 files changed

+10
-2
lines changed

Demo/ClassTest.wsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ class test{
1010
}
1111
$ss[0]=1
1212
$a = new test($ss);
13-
$a->Test();
13+
$a->Test();

Ext/Io/io.so

0 Bytes
Binary file not shown.

Ext/Seq/seq.so

136 Bytes
Binary file not shown.

Ext/System/system.so

0 Bytes
Binary file not shown.

Ext/Web/web.so

-8 Bytes
Binary file not shown.

Module/Vm/VmUseListApi.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,17 @@ func ArrayRead(Value string)map[string]interface{}{
2525
return res
2626
}
2727

28+
func VarFree(varName string,VarValue *FileValue){
29+
File:= So_Array_Stick(VarValue.FuncName+varName,VarValue)
30+
Del_Dir(File+"/")
31+
Del_Dir(File)
32+
Del_File(File)
33+
Del_Files(File)
34+
}
2835

2936
func NewArrayType(Values map[string]interface{})string{
3037
RamS:=InitVar("RES",3,FileValue{})
38+
VarFree("__NEWRES__",&RamS)
3139
AddArray("__NEWRES__[__NEWRES__]","<INIT>",&RamS)
3240
ResAId:=Read_Array("__NEWRES__",&RamS)
3341
Path:=Pointeref[ResAId]+"/"

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import(
1515
"io/ioutil"
1616
"github.com/peterh/liner"
1717
)
18-
const Version = "4.6.2 BTAE.1"
18+
const Version = "4.6.2 BETA.2"
1919
func RunCode(Code string,FilesStruct vm.FileValue)vm.FileValue{
2020
Opcode:=Compile(Code)
2121
if ini.DebugsIf(){

wsp

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)