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

System object

 [1/3] from: ptretter:charter at: 6-Sep-2000 16:57

Where can we learn more about system and the options available? Paul

 [2/3] from: allen::rebolforces::com at: 7-Sep-2000 10:34

----- Original Message ----- From: <[ptretter--charter--net]> To: <[list--rebol--com]> Sent: Thursday, September 07, 2000 7:57 AM Subject: [REBOL] System object
> Where can we learn more about system and the options available? > > Paul >
Hi Paul, The script help you see what is in there. Many of the settings in the system object have an equivalent mezzanine function for retrieving or setting their data. e.g try source what-dir source set-net source set-user-name Also this modified version of 'what might be handy too. what-object: func [ "Print a list of functions (with params) from within an object" object [object!] /local vals args here total ][ total: copy [] vals: second object foreach word first object [ if any-function? first vals [ args: first first vals if here: find args /local [args: copy/part args here] append total reduce [word mold args] ] vals: next vals ] foreach [word args] sort/skip total 2 [print [word args]] exit ] ;---------------------- ; e.g usage
>> what-object system/view/vid/vid-feel
add-char [face char] back-field [face] beg-of-line [str] copy-selected-text [face] copy-text [face] delete-selected-text [] drag-off [bar drag val] edit-text [face event action] end-of-line [str] focus [face] next-field [face] unlight-text [] Cheers, Allen K

 [3/3] from: ptretter:charter at: 6-Sep-2000 20:55

Really cool Allen. Thanks. I am learning a bit more now. Paul Tretter