SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
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)
    Total Downloaded
    0

    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)
    Total Downloaded
    0

    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)
    Total Downloaded
    0

    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
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.40 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.71%
vBulletin Optimisation provided by vB Optimise v2.7.1 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.3.0 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 01:42 PM.

Copyright BetaSoft Inc.