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

Re- Help with script to send (Follow up question

 [1/5] from: psa102::toward::com at: 16-Aug-2004 12:53


On Mon, 16 Aug 2004 11:15:01 +0200, Gabriele Santilli wrote:
> addressfile: to file! system/options/args/1 > messagefile: to file! system/options/args/2 > attachfiles: to file! system/options/args/3
Gabirele or anyone, Where can I find a listing of the "system" object refinements, if this is the proper terminology? Can I type something at the (Rebol) command line? Thank you. John Wirt

 [2/5] from: greggirwin:mindspring at: 16-Aug-2004 11:29


Hi John, P> Where can I find a listing of the "system" object refinements, if P> this is the proper terminology? P> Can I type something at the (Rebol) command line? help system help system/options (If you're running an old version, e.g. 1.2.1, it won't work) -- Gregg

 [3/5] from: carl:cybercraft at: 17-Aug-2004 9:42


>Hi John, >P> Where can I find a listing of the "system" object refinements, if
<<quoted lines omitted: 3>>
>help system/options >(If you're running an old version, e.g. 1.2.1, it won't work)
To get round that, "PROBE FIRST object" can be used, though it's not as verbose with the info you get back. Examples...
>> help system
SYSTEM is an object of value: version tuple! 1.2.46.3.1 build date! 6-Apr-2004/8:27:12-7:00 product word! View core tuple! 2.6.0 components block! length: 48 words object! [unset! error! datatype! context! native! action! ... license string! {REBOL End User License Agreement IMPORTANT. READ ... options object! [home script path boot args do-arg link-url server... user object! [name email home words] script object! [title header parent path args words] etc... whereas PROBE FIRST gives you...
>> probe first system
[self version build product core components words license options user script console ports network schemes error standard view stats locale user-license] To check the type of any of those you can use PROBE TYPE?...
>> probe type? system/version
tuple! == tuple!
>> probe type? system/words
object! == object! And to get their values, just use PROBE...
>> probe system/version
1.2.46.3.1 == 1.2.46.3.1 Or if it's an object again, then use PROBE FIRST again...
>> probe first system/words
[end! unset! error! datatype! context! native! action! routine! op! function! object! struct! library! port! any-type! any-word! any-function! number! series! any-string! any-block! symbol! word! set-word! get-word! lit-word! refinement! none! logic! integer! decimal! money! time! date! char! pair! event! etc... I tend to use PROBE FIRST when I just need a quick reminder of the words in an object, which crops up a lot when working with View faces. -- Carl Read

 [4/5] from: SunandaDH:aol at: 16-Aug-2004 17:52


John:
> Where can I find a listing of the "system" object refinements, if this is
the
> proper terminology?
Also, if you are running REBOL/View, check out Romano's Anamonitor: http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=anamonitor.r It's a visual navigator for objects. Sunanda

 [5/5] from: gabriele:colellachiara at: 17-Aug-2004 10:32


Hi PSA102, On Monday, August 16, 2004, 6:53:09 PM, you wrote: P> Where can I find a listing of the "system" object P> refinements, if this is the proper terminology?
>> help system
SYSTEM is an object of value: version tuple! 1.2.46.3.1 build date! 6-Apr-2004/8:27:12-7:00 product word! View core tuple! 2.6.0 components block! length: 48 words object! [unset! error! datatype! context! native! action! ... license string! {REBOL End User License Agreement IMPORTANT. READ ... options object! [home script path boot args do-arg link-url server... user object! [name email home words] script object! [title header parent path args words] console object! [history keys prompt result escape busy tab-size b... ports object! [input output echo system serial wait-list] network object! [host host-address] schemes object! [default Finger Whois Daytime SMTP POP IMAP HTTP F... error object! [throw note syntax script math access command resv... standard object! [script port port-flags email face sound] view object! [screen-face focal-face caret highlight-start high... stats native! System statistics. Default is to return total memo... locale object! [months days] user-license object! [name email id message] But the best way is probably using the Anamonitor: http://www.rebol.it/~romano/#sect1.2. http://www.rebol.it/~romano/anamonitor.r Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted