[REBOL] [REBOL] Reading REBOL header Re:
Hi, try: print mold system/script/header The objects fields will all be set to none, unless you do a script first. At 04:37 PM 4/8/00 -0800, you wrote: According to rebol documentation, the rebol header is an object. If so, how does the rest of the script file access the header? Given the following code: REBOL [ Title: "Scan Web Sites" Date: 12-Nov-1997 Author: ["Ema User" "Wasa Writer"] ] print REBOL/Title ; the line above generates the error message: ** Script Error: Invalid path value: Title. ** Where: print REBOL/Title what would be the correct syntax. Thanks Tim ;- Elan [: - )]
[REBOL] REBOL CGI's and sendmail
Is it possible to write a CGI script in REBOL which uses sendmail? I know you can send e-mails if you know the SMTP servers but many of the hosts I have considered won't give users the name of their SMTP server and tell them to use "sendmail". I thought I heard (or read!) here that you could'nt use sendmail as REBOL won't allow you to execute other apps. Is there a way around this ? Or will there be? Barry Jones --- HOOKERY COOKERY! Get ready for Easter! Just added Picnic Packed Lunch Recipes Also: Easter, Healthy, Pancake, Welsh, Biscuit/Cakes, Barbecue Banana recipes. Find it @ http://www.therightside.demon.co.uk/cooking/index.htm
[REBOL] Reading REBOL header Re:
[EMAIL PROTECTED] a écrit : According to rebol documentation, the rebol header is an object. True ! It can be access by the system/script/header not by REBOL object !! You need REBOL for filling values of the object system/script/header only ! try this : probe system/script/header and now try this probe REBOL ... to make sleep REBOL/core ;-) ! If so, how does the rest of the script file access the header? Given the following code: REBOL [ Title: "Scan Web Sites" Date: 12-Nov-1997 Author: ["Ema User" "Wasa Writer"] ] Your example becomes : header-script: system/script/header print ["Title : " header-script/Title] print ["Date : " header-script/Date] foreach person header-script/Author [ print person ] what would be the correct syntax. Thanks Tim
[REBOL] Searchable archive/ tcp/ip questions
Hi Rebol'ers, Can someone point me in the direction of searchable archive for this mailing list. Failing this (or as well as), can someone answer the following . How do I determine my IP address once connected to my ISP?? In a program how do I open a port for that IP addess?? Cheers Phil
[REBOL] Reading REBOL header Re:(2)
Excellent! thanks :) tj At 03:32 PM 4/9/00 +0200, you wrote: [EMAIL PROTECTED] a écrit : According to rebol documentation, the rebol header is an object. True ! It can be access by the system/script/header not by REBOL object !! You need REBOL for filling values of the object system/script/header only ! try this : probe system/script/header and now try this probe REBOL ... to make sleep REBOL/core ;-) ! If so, how does the rest of the script file access the header? Given the following code: REBOL [ Title: "Scan Web Sites" Date: 12-Nov-1997 Author: ["Ema User" "Wasa Writer"] ] Your example becomes : header-script: system/script/header print ["Title : " header-script/Title] print ["Date : " header-script/Date] foreach person header-script/Author [ print person ] what would be the correct syntax. Thanks Tim
[REBOL] [REBOL] System object documentation
I can't seem to find documentation on the system object. Dictionary says: "For advanced discussion on system, see the Users Guide" But I find little or nothing on the subject. I also note that even Rebol/View locks up (on Windows NT) when I attempt print mold system or probe system. Where can I find complete documentation? thanks tim
[REBOL] System object documentation Re:
Hi Tim, Best way to learn what is in the system object, is to use Bo's browse-system.r script from Rebol.org archives. http://www.rebol.org/utility/browse-system.r. Many of the entries in the system can also be accessed through mezzanine functions. e.g source what-dir what-dir: func [ "Prints the active directory path" ][system/script/path ] The note on not using source system is in the FAQ. http://www.rebol.com/faq.html From the FAQ " Q. I find that when I type SOURCE SYSTEM, SOURCE REBOL, or PRINT SYSTEM, the computer will lock up. Why? A. Viewing the system object should only be done with care. Future revisions of the system object are going to change, therefore, use the mezzanine level functions to access system object information when possible. With that said, here is an example of viewing the system object: print mold first system [self version product words options user script console ports network schemes error standard] print system/product Core WARNING: DO NOT enter 'print mold second system' or 'print mold system' since this will cause the interpreter to hang. " Cheers Allen K - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 10, 2000 8:36 AM Subject: [REBOL] [REBOL] System object documentation I can't seem to find documentation on the system object. Dictionary says: "For advanced discussion on system, see the Users Guide" But I find little or nothing on the subject. I also note that even Rebol/View locks up (on Windows NT) when I attempt print mold system or probe system. Where can I find complete documentation? thanks tim
[REBOL] official guide, again
I see bn.com lists REBOL: The Official Guide as "available" and "ships 1-2 weeks" while amazon.com says "this title is not yet available." Meanwhile, the chapters previously posted in the McGraw-Hill Bet@ Books section are non-existant. Is the book available yet, or not? Thanks.
[REBOL] Searchable archive/ tcp/ip questions Re:
On Sun, 9 Apr 2000 [EMAIL PROTECTED] wrote: Can someone point me in the direction of searchable archive for this mailing list. http://www.rebol.org How do I determine my IP address once connected to my ISP?? This can be determined by reading from dns:// print read dns://; reads the hostname sparky-home print read rejoin [dns:// read dns://] ; same as read dns://sparky-home 209.52.202.215 print read rejoin [dns:// read rejoin [dns:// read dns://]] ; FQDN, ;same as read dns://209.52.202.215 sparky-home.staff.sunshinecable.com Cheers, Kev