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

[REBOL] Re: Blocks outside the box

From: carl:cybercraft at: 24-Dec-2003 22:23

On 12-Jul-03, A J Martin wrote:
> Carl pointed out: >> The reason is that the container (the box) is not the contents. >> Both the > [ and the ] belong to the higher layer of the structure, not one to > the higher layer and the other to the lower layer. > Given this Rebol script (all on one line): f: func ["Function > Comment" String [string!] "Parameter Comment"] [print String] > Would the appropriate formatting be like this? > f: func > [ > "Function Comment" String > [ > string! > ] > "Parameter Comment" > ] > [ > print String > ] > Perhaps I misunderstand?
I hope so. :) I would write it so... f: func [ "Function Comment" String [string!] "Parameter Comment" ][ print String ] -- Carl Read