Help for this page

Select Code to Download


  1. or download this
    sub member
    {
    ...
    print member(2,@x),"\n"; # not in list 
    print member(0,@x),"\n"; # 1st item in list
    print member(2,@x),"\n"; # not in list, again
    
  2. or download this
    0
    1
    1  # fails, should return 0, again