Hi BennettS,
Yes, this x-function sets the result to the specified (numeric) variable.
If you want to print something to Result Log, you can redirect the destination by setting the
"type.redirection" property to 16 like: type.redirection=16; //Output is redirected to Result Log
type -a Area: $(myarea,.3); //or to print worksheet contents, run type.wks(Result);
type.redirection=32768; //Output is set back to default
https://www.originlab.com/doc/LabTalk/ref/type-obj
Please try.
--Hideo Fujii
OriginLab