General Component

Fnd_Gen_ComponentData

Fnd_Gen_ComponentData (->codes array{; ->inst vers {; ->cur vers}})

Legacy manual page 111

Parameters

ParameterTypeDescription
codes arrayPointerA text array to receive the component prefixes
inst versPointerA text array to receive the installed version numbers (optional)
cur versPointerA text array to receive the current version numbers (optional)

Description

This method returns in the passed arrays information about the Foundation components. All known Foundation components are returned in the arrays, even if the component is not currently installed. If a component is not installed, empty text strings are returned in the current versions array. ARRAY TEXT(aComponentsPrefixes;0) ARRAY TEXT(aInstalledVers;0) ARRAY TEXT(aCurrentVers;0)

Fnd_Gen_ComponentData (->aComponentsPrefixes;->aInstalledVers;->aCurrentVers)

To get a component’s full name from the prefix, call the component’s _Info method: ARRAY TEXT(aComponentsPrefixes;0)

Fnd_Gen_ComponentData (->aComponentsPrefixes)

ARRAY TEXT(aComponentNames;Size of array(aComponentsPrefixes)) For($i;1;Size of array(aComponentNames))

aComponentNames{$i}:=Fnd_Gen_ComponentInfo (aComponentsPrefixes{$i};”name”)

End for

Extracted source text
            Fnd_Gen_ComponentData (->codes array{; ->inst vers {; ->cur vers}})

              Parameter             Type           Description
              codes array           Pointer        A text array to receive the component prefixes
              inst vers             Pointer        A text array to receive the installed version numbers (optional)
              cur vers              Pointer        A text array to receive the current version numbers (optional)

            This method returns in the passed arrays information about the Foundation components. All known
            Foundation components are returned in the arrays, even if the component is not currently installed. If a
            component is not installed, empty text strings are returned in the current versions array.
              ARRAY TEXT(aComponentsPrefixes;0)
              ARRAY TEXT(aInstalledVers;0)
              ARRAY TEXT(aCurrentVers;0)
              Fnd_Gen_ComponentData (->aComponentsPrefixes;->aInstalledVers;->aCurrentVers)

            To get a component’s full name from the prefix, call the component’s _Info method:
              ARRAY TEXT(aComponentsPrefixes;0)
              Fnd_Gen_ComponentData (->aComponentsPrefixes)
              ARRAY TEXT(aComponentNames;Size of array(aComponentsPrefixes))
              For($i;1;Size of array(aComponentNames))
                aComponentNames{$i}:=Fnd_Gen_ComponentInfo (aComponentsPrefixes{$i};”name”)
              End for