Search the web
Sign In
New User? Sign Up
OSCAR-PROJECT · OSCAR is an open source REBOL interpreter
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

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: [OSCAR Project] Revised -Rebol Coded/ Diagram   Message List  
Reply | Forward Message #1003 of 1031 |
marrowmilo wrote:
> Revised -Rebol Coded/ Diagram
>
> |
> | foreach
> | example
> | colors ->
> | | [if parse
> | | example
> | | [to "pink"
> | | to end]->
> | | -
> | | print
> | | example]]
> | | ->

That seems awfully time consuming. What's wrong with simply writing:

foreach Color Colors [
if parse Color [
to "pink" to end
][
print Color
]
]
?

Note that I've Title-Cased the important words; changed your 'example to
'Color to better reflect the Many contents of 'Colors and the single nature
of 'Color; and used consistent indenting.

I hope that helps!

Andrew Martin
ICQ: 26227169 http://valley.150m.com/
-><-






Sun Nov 11, 2001 12:12 am

taorebol
Offline Offline
Send Email Send Email

Forward
Message #1003 of 1031 |
Expand Messages Author Sort by Date

... That seems awfully time consuming. What's wrong with simply writing: foreach Color Colors [ if parse Color [ to "pink" to end ][ print Color ] ] ? Note...
Andrew Martin
taorebol
Offline Send Email
Nov 11, 2001
12:10 am

... your 'example to ... single nature ... H O W T H E R E B O L S C R I P T W O R K S ? ================================================== Andrew :...
marrowmilo@...
niemteltm
Offline Send Email
Nov 11, 2001
8:40 pm
Advanced

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