Search the web
Sign In
New User? Sign Up
waterlanguage · Water Language
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Re: [Water] Re: What is wrong with this?   Message List  
Reply | Forward Message #679 of 743 |
That did it. Are there any other on-line resources for learning the
language. It is kind of frustrating to try examples in the book and have
them not work. I understand that the language has changed a lot since the
book came out. But as a newbie, it is rough to not have very good
resources.

Thanks for your help,
Susan

-----Original Message-----
From: waterlanguage@yahoogroups.com [mailto:waterlanguage@yahoogroups.com]
On Behalf Of Merrick Stemen
Sent: Tuesday, November 08, 2005 1:40 AM
To: waterlanguage@yahoogroups.com
Subject: [Water] Re: What is wrong with this?


Susan,

Try this (note the keyword 'rest'):

<defclass grocery_list store_name=required rest />
<defclass grocery_item name=required quantity=1/>

<grocery_list
store_name="Acme Foods"
"apple"
<grocery_item name="milk"/>
<grocery_item name="pears" quantity=3/>
/>

If that doesn't fix it, let me know which version you are using, and
I will see if I can drum up the correct syntax for you.

Steam XML has undergone some revisions in the past year, and the
syntax has undergone some changes (different from the Water book) as
well.

To check the syntax for "other_unkeyed_args", I usually type the
word "plus" on a line by itself in the IDE, then double-click it: In
the lower-right window pane you should see the various "contracts"
for the plus method. The 'thing.number.<defmethod plus . . . />'
contract will use the current "other_unkeyed_args" syntax.

Let us know if you have other questions!

_Merrick







Yahoo! Groups Links











Tue Nov 8, 2005 11:58 am

s1g2conger
Offline Offline
Send Email Send Email

Forward
Message #679 of 743 |
Expand Messages Author Sort by Date

That did it. Are there any other on-line resources for learning the language. It is kind of frustrating to try examples in the book and have them not work....
Susan G. Conger
s1g2conger
Offline Send Email
Nov 8, 2005
5:06 pm

Susan, There are a few places to check sample code. One place is at http://www.watercode.org/ also http://www.watercode.com/ You could also look over the Quick...
Merrick Stemen
merrick_stemen
Offline Send Email
Nov 9, 2005
12:34 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help