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...
Message search is now enhanced, find messages faster. Take it for a spin.

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 #676 of 742 |
Why does this give a run time error?

[Runtime Error A call to grocery_list received illegal unnamed arg with
source: >]

<defclass grocery_list store_name=required
items='other_unkeyed_args'/>
<defclass grocery_item name=required quantity=1/>

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

This was taken from the water book.

Thanks,
Susan

======================================================================
Susan G. Conger Custom Windows & Macintosh Development
President Web Site Design & Development
YOERIC Corporation Database Design & Development
256 Windy Ridge Road
Chapel Hill, NC 27517
Phone/Fax: (919)542-0071
congers@...
www.yoeric.com






Mon Nov 7, 2005 4:21 pm

s1g2conger
Offline Offline
Send Email Send Email

Forward
Message #676 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