Closed Mistium closed 2 weeks ago
def "hello" local test_val = "hello world" error test_val // console.error(test_val) endef hello log test_val // logs "test_val" because test_val is undefined
https://github.com/Mistium/Origin-OS/wiki/OSL-%E2%80%90-Subroutines
done using a variable this in a similar way to javascript
this