AA init

lurker lurker at lurker.com
Mon Mar 17 09:30:04 PDT 2008


i try to have a hash and initialize it. it doesn't work. can anybody please 
tell me how to initialize the below with many values such as 

      key                      struct values
"(0002,0000)"     "UL","N","Group Length",
"(0002,0001)"     "OB","N","File Meta Information Version",


struct HASHTAG {
  //string Tag;
  string VR;
  string RET;
  string NAME;

HASHTAG[string] tags = [
  "(0002,0000)": {"UL","N","Group Length"},

this does not work. many thanks in advance.

More information about the Digitalmars-d-learn mailing list