Rebol Talk Forum  |  Getting Started  |  Newbie Help  |  Topic: is there a "pick" for refinements?
Pages: [1] Print
Author Topic: is there a "pick" for refinements?  (Read 165 times)
lismoreboy
Newbie
*
Offline Offline

Posts: 2


View Profile
is there a "pick" for refinements?
« on: January 01, 2008, 06:15:35 AM »

Hi. 

Can the following two lines be reduced to one?

; word speeds is a list of 24 integer speeds 1/hour
extracthour: func [t] [t/hour]
read/custom url reduce [ 'post join "S=" pick speeds (extracthour now/time + 1) ]

I can't figure out a native expression to "pick" the hour out of now/time.

Ideas? Thanks.

David
Logged
Sunanda
Jr. Member
**
Offline Offline

Posts: 90


View Profile
Re: is there a "pick" for refinements?
« Reply #1 on: January 01, 2008, 11:13:10 AM »

first now/time

or

pick now/time 1
Logged
Pages: [1] Print 
Rebol Talk Forum  |  Getting Started  |  Newbie Help  |  Topic: is there a "pick" for refinements?
Jump to:  

  
Quick Search...

Advanced search
  
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 17, 2008, 04:53:31 PM
Username: Password: Session Length:
  

News: 01-09-08

Alpha version of REBOL 3 has been released!


  
2169 Posts in 562 Topics by 1224 Members
Latest Member: thyptoste

  Rebol Talk Forum | Powered by SMF 1.0.9.
© 2001-2005, Lewis Media. All Rights Reserved.

RT design by Defiant Pc