GROSE D J wrote:
Very new to Mozart. I am trying to get to grips with relational
programming and have not got very far. The following

declare [Dictionary]={Module.link
['/usr/local/oz/cache/x-oz/system/adt/Dictionary.ozf']}

declare Blob in
Blob={NewDictionary}
{Dictionary.put Blob 1 1}


results in


%***************** Error: illegal field selection ***************
The Dictionary module is part of the standard environment and does not have
to be loaded explicitly.

You have a bug because you are loading the dictionary module again.  The
new module that you loaded does not seem to have a 'put' operation.

If you just do the last three lines:

 declare Blob in
 Blob={NewDictionary}
 {Dictionary.put Blob 1 1}

then everything should work fine.

Peter

_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users
  • Confused GROSE D J
    • Re: Confused Peter Van Roy

Reply via email to