[DGD]mappings, use of.
    Marc Spoorendonk 
    marc at freud.et.tudelft.nl
       
    Tue Apr 13 18:25:08 CEST 1999
    
    
  
On Wed, 14 Apr 1999, MUD Account wrote:
> Instead I get the error message:
> Index on bad type
> 
This usually means that your mapping is empty (0).
mapping m;
string s;
m=([ "one" : "two", "three": "four"]);
s=m["one"];
now s contains "two"
(i.e. your thinking is alright you probably didn't fill your mapping or
its is cleared by accident)
Send your code for more info....
--
Marc Spoorendonk
Department of Electrical Engineering
Delft University of Technology
e-mail			: Marc at freud.et.tudelft.nl
mud			: telnet://freud.et.tudelft.nl:8888
URL			: http://freud.et.tudelft.nl/~marc/index.html
List config page:  http://list.imaginary.com/mailman/listinfo/dgd
    
    
More information about the DGD
mailing list