SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Jul 1999
    Location
    SF, CA, USA
    Posts
    19
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How do I verify missing item in a list?

    I can read the list, but I can't verify that an item is missing.
    example:
    lsList = (DTExistingStudentRegForm.HighlightTheDesiredSerie s2.GetContents ())

    so every time you select an item from the listbox, it is missing the next time you launch the listbox. How do I verify that the item I selected previosly, is not shown currently? Confused ? :-)

    Thanks
    Hagay

  2. #2
    Junior Member
    Join Date
    Aug 1999
    Location
    Austin, TX USA
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How do I verify missing item in a list?

    One way to do this comparison is to use the VERIFY command.

    Currently lsList is a LIST OF STRING. Create your own LIST OF STRING by:

    LIST OF STRING lsContents = {} //creates an empty list
    ListAppend (lsContents, "items1")
    ListAppend (lsContents, "items2")

    Verify (lsList, lsContents, "compares lslist to lscontents")

  3. #3
    Junior Member
    Join Date
    Aug 1999
    Location
    Tucker GA USA
    Posts
    12
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How do I verify missing item in a list?

    If you only want to check to see if an item is present or missing you can use ListFind. This will return a numeric representing the location in the list of the requested item. A zero indicates the item was not found (missing).

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin 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 12:42 PM.

Copyright BetaSoft Inc.