far.ProcessName

LuaFAR 3

far.ProcessName


Result = far.ProcessName (Op, Mask, Name, Flags, Size)

Parameters:
  Op:    flag (either of PN_CMPNAME, PN_CMPNAMELIST, PN_GENERATENAME, PN_CHECKMASK)
  Mask:  string
  Name:  string (ignored when Op==PN_CHECKMASK)
  Flags: flags (any combination of PN_SKIPPATH, PN_SHOWERRORMESSAGE; default=0)
  Size:  integer 0...0xFFFF (only used when Op==PN_GENERATENAME; default=0)

Returns:
  Result: boolean, or string.
          String is returned on success if Op==PN_GENERATENAME

Far API used:
  ProcessName