hobj:save

LuaFAR for Editor

hobj:save


hobj:save ()

Parameters:
  none

Returns:
  nothing

Description:
  - The method serializes and saves the "history object". The object is saved either
    into a file (see newfile), or into a data base entry (see newsettings). If the
    corresponding file (or the data base entry) exist, their contents are overwritten.

  - Only "Data" field of the hobj is saved.
    - Within it, values of the following types are saved:
      numbers, strings, booleans and tables (recursively).
    - Not saved: functions, coroutines and userdatas.
    - Not saved: metatable relations.