ID:178758
 
How do you use a var that is return from a proc?

In other words

/proc
some_proc(some_var)
..
return 12

how can I use 12 in the calling verb?

I know I can pass an argument to some_proc by using some_proc(14) but I can't find anything in the referance on using a return value.

Just set a var equal to the proc.

Ex: var/result = someproc(some_var)

Then do whatever you want with the var. (Sometimes you don't need the var either, but this is the more general/unoptimized solution.)