SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Nov 2004
    Location
    Perth Western Australia
    Posts
    32
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    array permutation / combination

    Has anyone used all permuations / combinations of
    an array (order) (that you dont know the size or contents of during programming time - ?) (yes for testing purposes)

    I have found the below examples (from assorted VB sites) but Im having problems with out of range and some collection declarations.

    If any has code that calls a sub/function that does it (with an example that calls it and uses it) - It would be greatly appreciated.

    How greatly ?

    If you do once I evolve into a higher being, I will find your current incarnation of your soul, and grant you three wishes

    (but their are limitations - rules and conditions
    - cant bring back the dead
    - make people fall in love with you
    - and no wishing for more wishes.)

    Im sure others have needed this too.

    http://www.vbi.org/Items/article.asp?id=133
    http://www.vb-helper.com/howto_permute.html

  2. #2
    Senior Member
    Join Date
    Oct 2005
    Location
    Universe
    Posts
    393
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: array permutation / combination

    Try using dynamic arrays, see ReDim in the QTP help file.

    Thanks,
    Wasim

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 04:05 AM.

Copyright BetaSoft Inc.