Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Rebol Tech, please answer. Two questions. Re:(3)

From: agem:crosswinds at: 13-Sep-2000 17:01

[Petr--Krenzelok--trz--cz] wrote on 13-Sep-2000/11:20:13+2:00
> > [rebol--techscribe--com] wrote: > > > Hi Keith, > > > > you wrote: > > >blk: [11 22 33 44 55] > > >print skip blk 3 > > >44 55 > > > > > >Why not (print skip 3 blk) instead of (print skip blk 3)? > > > > My $0.02: Two related explanations. Because: > > > > 1. REBOL is a mind-mapping language. > > 2. Consistency makes REBOL easier to learn and to remember. > > > > Somewhat longer explanations of what I mean follow: > > > > 1. skip 3 blk > > > > "skip 3 ..." > > > > Why 3? Because the element I'm interested in is in the third position. > > > > It is? How do I know that? Because I know what block blk contains, and > > therefore I know that the element is in some position in that block, > > namely, in the third position. > > > > OK Elan, I don't feel myself so experienced as you surely are, but how e.g. 'sa > > ve > fits your rebol language philosophy? > > save %where what ... >
action destination source1 source2 .. not block first, destination first.