Launch_GetProdID()

Examples


The Launch_GetProdID() function returns a product ID based upon a product’s position in the launch file. This function will work only when your application is opened with the runtime engine.

Syntax

Launch_GetProdID(index)

Parameters

index – An integer corresponding to the position of a product name in the launch file. For instance, to return a product ID for the first product in the launch file, use an index of 1; to return a product ID for the third product in the launch file, use an index of 3, and so on.

Return value

An integer specifying the product ID.

Comments

You can ascertain the index by referencing the position of a product in a list field. Use the Launch_FillListWithProds() function to fill a list field with product names. The position of each name in the list then corresponds to the position of the product in the launch file.


Documentation Feedback