title: key value relation on Skip List (DXL/DOORS)
body: <p>I am trying to find the same login id users in database.</p>
  
  <p>First I put every user to skiplist then I want to compare one by one. My question is how can i get the key value on Skiplist.</p>
  
  <p>The piece of my code is here : </p>
  
  <pre><code>for lUser in userList do {
  
      string uName = lUser.name
      string uEmail = lUser.email
      string uSys = lUser.systemLoginName
      string uAdr = lUser.address
      outBuf +=  uName sep uSys sep uEmail sep uAdr
      outBuf += "\n"
  
      // Here I have to add some code, I can put the values but not get again or compare
      // I need some for loop and get every key value
      put(skiplist,count,uSys)
      print count
      print "\n"
      count++
  }
  </code></pre>
  
  <p>Could someone give tips for this, I am new on this language. Thanks in advance.</p>
  
  <p><strong>EDIT: NOW IT IS WORKING</strong></p>
  
  <pre><code>    pragma runLim,0
  string sep = ";"
  string dbName = getDatabaseName
  print "\n" "List of doors user in database " getDatabaseName  ": \n\n"
  int count = 0
  User lUser
  
  Group lGroup
  Skip skiplist = create
  
  for lUser in userList do {
    string uName = lUser.name
    string uEmail = lUser.email
    string uSys = lUser.systemLoginName
    string uAdr = lUser.address
  
  
    if(null uSys)
    {
      print uName " doesn't have a System Name.\n"
    } else {
      bool flagDuplicate = false
      string nameDuplicate = ""
      string s = ""
      for s in skiplist do {
        if(s == uSys) {
          flagDuplicate = true
          nameDuplicate = (string key skiplist)
          break
        }
      }
  
      if(flagDuplicate) print "Users '" uName "' and '" nameDuplicate "' have the same System Name (" uSys ").\n"
      else put(skiplist,uName,uSys)
  
    }
  }
  </code></pre>
  
  <p><code>pragma runLim,0</code> this line is for avoiding the execution time warning.</p>