Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; This will fail in any version of TeenyScript lesser than 2.0.0
- $class_a = Func(Class)
- $method_1 = Func()
- MsgBox(0,$this.__cName__, @MethodName)
- EndFunc
- $class_b = Func(Class)
- $method_1 = Func()
- MsgBox(0,$this.__cName__, @MethodName)
- EndFunc
- $method_2 = Func()
- MsgBox(0,$this.__cName__, @MethodName)
- EndFunc
- EndFunc
- $method_2 = Func()
- MsgBox(0,$this.__cName__, @MethodName)
- EndFunc
- EndFunc
- $main = Func()
- $class_a().method_1()
- $class_a().method_2()
- $class_a().class_b().method_1()
- $class_a().class_b().method_2()
- EndFunc()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement