Posted by Albert Gareev on Jan 20, 2008
In the code examples I present I often refer to routine functions. In my framework I have specialized libraries to call from. In my blog I maintain the similar structure. Array Functions Sort Data Array Sort Typed Data Array Check Array Type Check Item in Array Convert Array to Set Set Functions Convert Set to Array [...] ...
Posted by Albert Gareev on Jan 14, 2008
Parent page: Service Functions – Math (QTP, VBScript) Description Sorts one-dimentional array in ascending / descending order with typecasting. Implementation Public Function TypedArraySort(ByRef dvArray, ByVal sFormat, ByVal boolAscending) Dim Iter, Jter, aValue, boolRC If Not isArray(dvArray) Then dvArray = Array(dvArray) ArraySort = dvArray End If sFormat = UCase(sFormat) [...] ...
Posted by Albert Gareev on Jan 12, 2008
Parent page: Service Functions – Math (QTP, VBScript) Description Sorts one-dimentional array in ascending / descending order. Implementation Public Function ArraySort(ByRef dvArray, ByVal boolAscending) Dim Iter, Jter, aValue If Not isArray(dvArray) Then dvArray = Array(dvArray) ArraySort = dvArray End If For Jter = 0 To UBound(dvArray) For Iter = [...] ...
Posted by Albert Gareev on Jan 10, 2008
Software Testing Club Test Republic ...