List (ProcedureInfo function)

From m204wiki
Revision as of 00:56, 16 February 2014 by JALWiccan (talk | contribs) (Automatically generated page update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Get list of procedures (ProcedureInfo class)

[Introduced in Sirius Mods 7.8]

This method returns the information of one, many, or all procedures in a specified procedure file or group.


%procedureInfoList = %(ProcedureInfo):List( In= string, [Name= string])

Syntax terms

%procedureInfoList An Arraylist of Object ProcedureInfo object variable.
%(ProcedureInfo) The class name in parentheses denotes a shared method. List can also be invoked via a ProcedureInfo object variable, which may be Null.
In This required, name required parameter is a string that specifies the file or group that contains the procedure(s) to be listed. To access a group, use the keyword Group after In: In Group mygroup.
Name This optional, name required, parameter is a string that identifies the procedure(s) whose information will be returned. The string may contain standard, non-regex, User Language wildcards.

Specifying no Name value is the same as specifying an asterisk (*), which returns information for all the procedures.

Usage notes

  • The List method does not have parameters to select procedures based on last update time or last updating user ID. You can accomplish the same thing by using the Arraylist subsetting methods, though this approach would be significantly more expensive if a large list were built only to select a small subset.


See the ProcedureInfo class "Example".

See also