
I found that PY calls DLL without specifying the parameter type. This is very convenient, using DLL becomes very simple. So can we achieve the same effect in V2?
Code: Select all
loop 20
{
i:=a_index
loop 20
SoundSetVolume -55,a_index,i
}
Code: Select all
MsgBox str_skip("a","a/b/c")
str_skip(t,s,k:="/") => (RegExMatch(k s k, "(" k "([^" k "]+))?.*" k t k "(([^" k "]+)" k ")?", t),t.value(4) or t.value(2))
Code: Select all
MsgBox [].base.base.__Class ;Object
Code: Select all
Class test{
}
t:=test.new()
MsgBox Type(t) ;Class
MsgBox t.prototype.__Class ;test