I am using R050N with E Controller.
Here is my sample code, its essentially the same as in the AS-language documentation:
Code
.PROGRAM labertest()
PROMPT "laber, ", labervar1
PRINT "show1"
TYPE labervar1
CALL labertest2(labervar1)
.END
.PROGRAM labertest2(.lolung)
PRINT "show2"
TYPE .lolung
POINT a=TRANS(.lolung,.lolung,.lolung,.lolung,.lolung,.lolung)
PRINT "show3"
PRINT a
RETURN
.END
Display More
I get the error "Variable unknown" whenever execution reaches PRINT a. I also tried TYPE a and all other things. This is the same use of local variable es in the documentation. Why doesn't it work ?