obj:Enum

LuaFAR 3

obj:Enum


items = obj:Enum (Root[, from[, to]])

Parameters:
  Root:   flag
  from:   integer; 1-based; negative values count from the end; default=1;
  to:     integer; 1-based; negative values count from the end; default=-1;

Returns:
  items: table (array of tables), or nil
    items.Count: total number of items
    #items:      returned number of items
    Each table in the array has the following fields:
      if obj was created with plugin's GUID:
        Name:     string
        Type:     integer
      if obj was created with Far's GUID:
        Name:     string
        Param:    string
        PluginId: string (GUID)
        File:     string
        Time:     number (number of milliseconds elapsed since January 1, 1601)
        Lock:     boolean

Far API used:
  SettingsControl