Description This command adds a new configuration to the end of the configuration list. If there are N total configurations, the variable values of the new configuration are identical to those of configuration N-1.
Syntax configCount = AddConfig( )
Parameters configCount (Long) Returned number of configurations after the new configuration has been added. The index of the new configuration is configCount-1.
Example The following example prints the configuration count both before and after adding a new configuration.
Sub Main
Dim configCount As Long configCount = GetConfigCount() Print "Starting configuration count: " & Chr(9) & configCount configCount = AddConfig() Print "Ending configuration count: " & Chr(9) & configCount
End Sub
See Also
|