Function Reads the last history value into an attribute
Example s10readhistory( "kunnr" ).
Format data:
  myattrname type string.

  s10readhistory( myattrname ).
Parameters
Name Type Description
attrname string
Attribute name
Description Reads the last value written with s10writehistory()  from the history assigned to the attribute. All attributes with the same history ID are grouped together, see s10historyid().
Components S10 Framework