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 247 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
Full Member
***
Offline Offline

Posts: 100


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?
August 29, 2008, 02:15:40 PM
Username: Password: Session Length:
  

News: 01-09-08

Alpha version of REBOL 3 has been released!


  
2234 Posts in 582 Topics by 1745 Members
Latest Member: vectlycle

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

RT design by Defiant Pc