what your asking for exists...
Strict
Local b:Int=blah()
Print "b="+b
Function blah:String()
Local a:Int=123
Return a
End Function
wont compile cause it says cant convert string to int...
the reason the return works is because int seem to get automatically cast to strings
strict
local a:string
a=123
print a
will work, just like return does...
Strict
Local b:Int=blah()
Print "b="+b
Function blah:String()
Local a:Int=123
Return a
End Function
wont compile cause it says cant convert string to int...
the reason the return works is because int seem to get automatically cast to strings
strict
local a:string
a=123
print a
will work, just like return does...