How to get value of variable in javascript( FreeMaster)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to get value of variable in javascript( FreeMaster)

862 Views
GZhao
Contributor I

How obtain the value from variable (memory address) in object (Javascript:FreeMaster),  

const CamOffset__6th = {
    symbol: "CamOffsetsBuffered.CylinderTDCOffsetAngle"
    variable: "CamOffsetsBuffered.CylinderTDCOffsetAngle[5]",
}
 
const test1 = CamOffset__6th.variable.toString;
                                   or 
                       CamOffset__6th.variable.valueof;
 
above it was not work
 
 
0 Kudos
Reply
0 Replies