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...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

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
What is wrong with this?   Message List  
Reply | Forward Message #677 of 742 |
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






Tue Nov 8, 2005 6:38 am

merrick_stemen
Offline Offline
Send Email Send Email

Forward
Message #677 of 742 |
Expand Messages Author Sort by Date

Why does this give a run time error? [Runtime Error A call to grocery_list received illegal unnamed arg with source: >] <defclass grocery_list...
Susan G. Conger
s1g2conger
Offline Send Email
Nov 7, 2005
5:34 pm

Susan, Try this (note the keyword 'rest'): <defclass grocery_list store_name=required rest /> <defclass grocery_item name=required quantity=1/> <grocery_list ...
Merrick Stemen
merrick_stemen
Offline Send Email
Nov 8, 2005
6:39 am
Advanced

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