Search the web
Sign In
New User? Sign Up
pluvo
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

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
Can indentations be used in indentations?   Message List  
Reply | Forward Message #6 of 7 |

In the Pluvo Guide, you say, "Note that you can use blocks inside
indentations, but you can't use indentations inside blocks."

However, can you use indentations inside indentations?

It seems counterintuitive to not be able to, but that's the current
behavior of Pluvo:

main = (argv)
Dog = (name)
method speak = (bark) {
say "$name says:"
say "$bark! $bark! I am a dog."
return "weird"
}
rover = Dog("rover")
say { . rover speak "WOOF" }

script main

This fails if the braces for method speak are removed.

Did you intentionally disallow underscores in variable names?

It is valid Pluvo code to omit "return" in the above example?
(and will this cause an implicit return of the string "weird"?).
Because that doesn't seem to work at the moment.

Finally, I must say that coordinations look cool, but
dangerous. I guess one must make sure that all prototype
"instances" are not callable, or else inst.a will cause
havoc as inst is invoked on the values . and a.

- Connelly Barnes


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



Thu Aug 3, 2006 12:38 pm

connellybarnes
Offline Offline
Send Email Send Email

Forward
Message #6 of 7 |
Expand Messages Author Sort by Date

In the Pluvo Guide, you say, "Note that you can use blocks inside indentations, but you can't use indentations inside blocks." However, can you use...
Connelly Barnes
connellybarnes
Offline Send Email
Aug 3, 2006
12:39 pm
Advanced

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