Tests passed...

---cut here---
new_key S0
  clone_key S1,S0
  size_key  S1,5
  key_size  I0,S1
  print     "I0 (3) "
  print     I0
  print     "\n"
toss_key S0

#ke_type I1,S1,1

  ke_set_value S1,0,5
  ke_value I0,S1,0
  ke_type I1,S1,0
  print "I0 (5) I1 (0): "
  print I0
  print " "
  print I1
  print "\n"

  ke_set_value S1,1,-3.75
  ke_value N0,S1,1
  ke_type I1,S1,1
  print "N0 (-3.75) I1 (0): "
  print N0
  print " "
  print I1
  print "\n"

  ke_set_value S1,2,"bar"
  ke_value S0,S1,2
  ke_type I1,S1,2
  print "S0 (bar) I1 (0): "
  print S0
  print " "
  print I1
  print "\n"

end
---cut here---

I added the ke_set_value operation to allow us to set key indices.
The above test passed, and it'll be available after 0.03 is finished.

--
Jeff <[EMAIL PROTECTED]>

Reply via email to