Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 3 SSC functions for VB6 Interaction functions (completes the set …
…of 4 VB6 Interaction functions). * SSC.Choose(Index, ParamArray Choices): - chooses the element from the provided parameters in Choices - returns Null if out of range (Index is 1 to parameter count) [custom-built as calling VB6 version is impossible] * SSC.IIf(Expression, TruePart, FalsePart): - chooses either TruePart or FalsePart based on whether Expression is True. [added by Pyro, not me! - I changed comment to use VB6 URL instead] * SSC.Partition(Number, Start, End, Interval) As String: - returns a string representing the range where a number resides ("start:end") in a repeating interval defined by Start To End Step Interval - apparently useful for database queries [if end <= start or interval <= 0 then returns Null] * SSC.Switch(ParamArray ExpressionPartPairs): - returns first even Part argument where the odd Expression argument before it is True. - returns Null if no True odd arguments or if odd number of arguments and last argument is the True expression. [custom-built as calling VB6 version is impossible]
- Loading branch information