PdcApplication.GetEmptyStringList: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
== Declaration == | == Declaration == | ||
GetEmptyStringsList as IStrings | |||
== Description == | == Description == | ||
Returns an empty stringlist | |||
== Notes == | == Notes == | ||
This method returns an empty string list. Only this stringlist can be used for example for the method [[PdcApplication.GiveInProduction]]. | |||
== Code example == | == Code example == | ||
The code below creates an empty stringlist. | |||
<source lang="vb"> | <source lang="vb"> | ||
dim strlstCalcNumbers | |||
dim intCnt | |||
Set strlstCalcNumbers = pdc.GetEmptyStringsList | |||
strlstCalcNumbers.Add "CalcNo1" | |||
strlstCalcNumbers.Add "CalcNo2" | |||
for intCnt = 0 to strlstCalcNumbers.Count - 1 | |||
msgbox strlstCalcNumbers(intCnt) | |||
next | |||
Set strlstCalcNumbers = nothing | |||
</source> | </source> | ||
== Availability == | == Availability == | ||
Available since June 2006 (From version 3.7). |
Revision as of 10:52, 21 May 2012
Declaration
GetEmptyStringsList as IStrings
Description
Returns an empty stringlist
Notes
This method returns an empty string list. Only this stringlist can be used for example for the method PdcApplication.GiveInProduction.
Code example
The code below creates an empty stringlist.
dim strlstCalcNumbers
dim intCnt
Set strlstCalcNumbers = pdc.GetEmptyStringsList
strlstCalcNumbers.Add "CalcNo1"
strlstCalcNumbers.Add "CalcNo2"
for intCnt = 0 to strlstCalcNumbers.Count - 1
msgbox strlstCalcNumbers(intCnt)
next
Set strlstCalcNumbers = nothing
Availability
Available since June 2006 (From version 3.7).