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

[REBOL] Re: Passing arguments to a function in another script

From: warren:howsoft at: 7-Feb-2008 17:27

Thanks for the great advice, Gregg. While we are on the subject of the View/VID docs, there are a few recommendations I would like to make: 1) In whatever documents, "action" blocks only ever seem to contain Prints or Alerts as examples. e.g. button red [print "You clicked me!"] (a) I have more or less come to the conclusion that such "action" blocks need to contain FUNCTIONS of some sort, but even so I am still hesitant about making such a sweeping generalisation. (b) Normally, such example blocks do not show how to get values from other faces. (And getting values from other faces is not always as consistent as a noob would imagine.) (c) Nor do such blocks usually demonstrate how to change other faces. I do, of course, appreciate that the aim of such examples might be to maintain the clarity of the code's skeleton. However, it seems that there are no examples of the above blocks in any documents at all. And when one examines a real program to see how they are used, the whole thing is often so complex that the noob (at least this one) gives up trying to analyse it. 2) Although some docs have a liberal amount of coding examples, others do not. Or the examples do not cover all the various different usages involved. For a noob, an example is often worth a thousand words, so I suggest increasing them. There can never be too many examples! Hope you don't mind my 2 cents at this stage. Experts often come to regard many things as common sense, not requiring explanation. They are wrong, of course. However, since I am likely to remain a Rebol dummy for the next 15 years or so, you can profit from my status any time you like! Then eventually, perhaps Rebol can really become a useful RAD tool for busy non-technical people such as doctors, lawyers, etc., and not a language for computer specialists only. Regards, Bob Gregg Irwin wrote: