FutureProg functions

tomerchandise

Lookupcomputer function, computer program, standard futureprog

Overload 1

tomerchandise overload 1

Merchandise tomerchandise(Number id)
Available in
  • computer function
  • computer program
  • standard futureprog
Returns a merchandise by ID, or null if absent.
ParameterTypeDescription
id Number The globally unique ID to find.

Overload 2

tomerchandise overload 2

Merchandise tomerchandise(Shop shop, Number identifier)
Available in
  • computer function
  • computer program
  • standard futureprog
Returns a merchandise within the supplied shop, or null if either is absent. Numeric arguments are IDs.
ParameterTypeDescription
shop Shop The shop to search within.
identifier Number The ID or case-insensitive name to find within the owner.

Overload 3

tomerchandise overload 3

Merchandise tomerchandise(Shop shop, Text identifier)
Available in
  • computer function
  • computer program
  • standard futureprog
Returns a merchandise within the supplied shop, or null if either is absent. Numeric arguments are IDs.
ParameterTypeDescription
shop Shop The shop to search within.
identifier Text The ID or case-insensitive name to find within the owner.