[REBOL] Getting Rebol Word List Re:(3)

2000-08-07 Thread s_woodrum


Try

echo %what.txt what

>From: [EMAIL PROTECTED]
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: [REBOL] Getting Rebol Word List Re:(2)
>Date: Mon, 7 Aug 2000 10:47:47 -0800
>
>At 12:38 PM 8/7/00 -0600, you wrote:
>>At 8/7/00 9:11:00 AM, you wrote:
>> >Hi:
>> >
>> >There is a way to dump the entire rebol word list
>> >to a file. I have used it before but can't remember...
>> >
>> >Does anyone know how to do this and where the
>> >documentation is?
>> >
>> >Thanks
>> >Tim
>> >
>> >
>>
>>I don't suppose you are thinking of the rebdoc.r script?  It makes an html
>>list of all REBOL defined words.
>
>I wasn't, but that is great feature, I still think there is a command,
>but maybe I'm hallucinating.
>Thanks!!
>Tim
>
>>-tom
>
>


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com




[REBOL] Learning to live as a Rebolian Re:

2000-06-16 Thread s_woodrum

There is an article in the latest issue (July?) of Dr. Dobbs on REBOL. The 
source code examples really helped me get a handle on dialects. This might 
be helpful to you.

Scott


>From: [EMAIL PROTECTED]
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: [REBOL] Learning to live as a Rebolian
>Date: Fri, 16 Jun 2000 12:01:54 -0400
>
>All,
>
>I find Rebol very useful and use parts of it all the time but  ...
>
>I would like to have a better handle on Dialects, objects,  and system
>variables.
>I think this could be useful ... any suggestions how to learn to use
>them.
>
>Many of the programs/document are too complex to learn from.
>
>I have look at all the available documents at the Rebol site.
>
>There are some parts of the language that are more obvious in their use
>than others.
>
>There are things that look like they would behave in out way but are
>designed behave in a much different manner.
>
>Thanks for any help.
>
>Larry
>
>
>


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com




[REBOL] syntax highlighting Re:(4)

2000-05-18 Thread s_woodrum

Thanks!

Scott


>From: [EMAIL PROTECTED]
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: [REBOL] syntax highlighting Re:(3)
>Date: Thu, 18 May 2000 8:39:29 -0700
>
>By popular demand, I cut out just the REBOL language portion from my
>wordfiles and am posting it to the 'list (attached). Just add this to your
>existing WordFile, or use this file directly if REBOL is the only language
>you use ;)

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com




[REBOL] Calling external functions Re:

2000-05-18 Thread s_woodrum

I can't take credit for this function, but I've used it to "include" several 
different scripts and use their functions:

include: func [files] [
either block? files [
forall files [do first files]
] [
do files
]
]

include %whatever.r

Many thanks to the author of this function! :-)

>From: [EMAIL PROTECTED]
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: [REBOL] Calling external functions
>Date: Thu, 18 May 2000 15:38:05 +0200
>
>Hello!
>
>Currently I am working on a project that I would like
>to divide into several script files.
>
>I will then have one main script file from where I
>want to call functions in different files.
>
>How will I solve this? I have tried to 'load' the file
>but I can not evaluate a specific function within the
>file.
>
>Best regards,
>Peter Carlsson
>
>
>Peter CarlssonTel: +46 31 735 45 26
>Saab Ericsson Space ABFax: +46 31 735 40 00
>S-405 15 Göteborg Email: [EMAIL PROTECTED]
>SWEDENURL: http://www.space.se
>
>


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com




[REBOL] Endless looping processes. Re:(7)

2000-05-16 Thread s_woodrum

There are 2 exe's on the NT Server 4.0 Resource kit cd called (i think) 
tlist.exe and kill.exe. Run tlist.exe from the command line, which will give 
you a list of running processes and an ID. Then run kill.exe XXX where XXX 
is the process id. In my experience, this will kill anything. This may cause 
other problems, though, because I don't think it kills processes 
"gracefully". Just a suggestion

Scott


>From: [EMAIL PROTECTED]
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: [REBOL] Endless looping processes. Re:(6)
>Date: Tue, 16 May 2000 18:18:51 +0200
>
>Hello s,
>
>Tuesday, May 09, 2000, 11:06:59 AM, you wrote:
>
>shc> I had a similar problem with IIS 4.0 and 5.0, where I could not kill a 
>rebol
>shc> cgi process that was having problems. I would open task manager, try 
>to end
>shc> the process, and get an "access denied" error. I found that if I 
>stopped the
>shc> web server, through the management console, or through the Services 
>applet
>shc> in Control Panel, I could then go back and end the rebol process
>shc> successfully in task manager. I didn't have to reboot the server.
>
>We tried this to, today... But with no success, There must be some
>way to kill the process.
>
>Regards, Fredrik Bergstrom
>
>--
>
>[ PowerWebs have a good Webhotel for everyone, supports Rebol to =) ]
>
>PowerWebs AB
>Wåxnäsgatan 10
>S-653 40 Karlstad
>Sweden
>Tel: +46-(0)54-103377
>Fax: +46-(0)54-103376
>ICQ# 7654213
>
>


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com




[REBOL] Endless looping processes. Re:(5)

2000-05-09 Thread s_woodrum

I had a similar problem with IIS 4.0 and 5.0, where I could not kill a rebol 
cgi process that was having problems. I would open task manager, try to end 
the process, and get an "access denied" error. I found that if I stopped the 
web server, through the management console, or through the Services applet 
in Control Panel, I could then go back and end the rebol process 
successfully in task manager. I didn't have to reboot the server.


>From: [EMAIL PROTECTED]
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: [REBOL] Endless looping processes. Re:(4)
>Date: Tue, 9 May 2000 12:28:18 +0200
>
>Hello brian,
>
>Monday, May 08, 2000, 9:41:35 PM, you wrote:
>
> >>PKtc> That's not question related to rebol, right? If you can't kill NT
> >>process,
> >>PKtc> then how to stop infinite loop?
>
>bhbc> Start Task Manager. Go to the Processes page. Sort by name.
>bhbc> End every rebol.exe process. No reboot necessary.
>
>Yes, but there where some problem with the rights for that process,
>but we are going to test some more later on.
>
>Regards, Fredrik Bergstrom
>
>--
>PowerWebs AB
>Wåxnäsgatan 10
>S-653 40 Karlstad
>Sweden
>Tel: +46-(0)54-103377
>Fax: +46-(0)54-103376
>ICQ# 7654213
>
>


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com




[REBOL] View : Me too again Re:

2000-03-24 Thread s_woodrum

Go to http://www.rebol.com/viewbeta.html - you can download it from there 
(linux and win32).

Scott

>From: [EMAIL PROTECTED]
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: [REBOL] View : Me too again
>Date: Fri, 24 Mar 2000 15:53:12 +0100
>
>I'd like to try Rebol/View..
>
>What is the latest procedure to get
>the-of-course-it's-just-Beta-you-know
>Rebol/View ??
>
>Inspecting the ML archives,
>I had difficulties to track
>the "send view031.zip" to
>[EMAIL PROTECTED]
>Alas, it did not work : User Unknown my mailer says...?
>
>Thanks for help.
>
>Also, is it possible to access the ALLY-list archives ?
>How do you subscribe to this list ?
>
>regards,
>   mathieu
>

__
Get Your Private, Free Email at http://www.hotmail.com




[REBOL] telnet server Re:

2000-03-23 Thread s_woodrum

At http://www.rebol.org/advanced/index.html, look for a script called 
multisession.r. It's a demonstration of using multiple tcp sessions.
Hope this helps...

Scott

>From: [EMAIL PROTECTED]
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: [REBOL] telnet server
>Date: Thu, 23 Mar 2000 9:16:07 -0800
>
>Hi all,
>
>I've got a wild idea to write a simple Telnet server via REBOL. That is, a
>person could connect to the server from a remote machine via telnet and
>communicate with the server until "logging out". Thing is, I'd like the
>server to handle multiple connections at once. Does anyone know how to keep
>track of the different connections? I've been told (at least) one way to
>handle this is to use a single port and keep track of the different
>connections via sockets. Can I access this level of communication via 
>REBOL,
>or is there some other nice way that REBOL handles it?
>
>Michael Jelinek
>IS - Data Warehouse
>CalFarm Insurance
>[EMAIL PROTECTED]
>924-4068
>

__
Get Your Private, Free Email at http://www.hotmail.com




[REBOL] NT and CGI newbie question... Re:

2000-03-22 Thread s_woodrum

Make sure that your path to the rebol executable looks like this:

c:\rebol\rebol.exe -cs %s %s

The "%s %s" bit got me at first

The how-to at http://www.rebol.com/howto.html#cgi-scripts.html is very 
helpful

Scott

>From: [EMAIL PROTECTED]
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: [REBOL] NT and CGI newbie question...
>Date: Wed, 22 Mar 2000 10:40:30 -0800
>
>Hello.
>I'm can't seem to get the scripts in my NT cgi-bin to
>fire.  I believe the execute permissions are set up
>properly. I suspect I am missing something when it
>comes to the "path to rebol" issue or ?
>
>Are there any common mistakes made while attempting
>cgi on NT?
>
>Thanks in advance,
>
>T Brownell
>
>
>
>__
>Do You Yahoo!?
>Talk to your friends online with Yahoo! Messenger.
>http://im.yahoo.com
>

__
Get Your Private, Free Email at http://www.hotmail.com




[REBOL] SOAP

2000-02-25 Thread s_woodrum

Sort of off topic, but I think REBOL could do well with this protocol. This 
article at Microsoft got me thinking

http://msdn.microsoft.com/msdnmag/issues/0300/soap/soap.asp


__
Get Your Private, Free Email at http://www.hotmail.com



[REBOL] html4 generator script Re:(2)

2000-02-25 Thread s_woodrum

Thanks for the suggestions, Elan. I'm using the gentag function internally 
to create a block of name/value pairs that eventually gets printed with 
build-tag, i.e., print [build-tag [h1 (tag)]]. The gentag function seems 
inefficient to me. Also I noticed that if I set the events property of an 
object like this:
h1/events: ['onMouseOver {message('Entered this H1 tag');return true} 
'onMouseOut {message('');return true}]

the resulting tag looks like this:



Note the word 'events' inside the tag. This doesn't seem to bother IE, but 
it's not correct html either. I think I can fix this problem. I'm open to 
any suggestions.Thanks

Scott


>From: [EMAIL PROTECTED]
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: [REBOL] html4 generator script Re:
>Date: Thu, 24 Feb 2000 16:39:42 -0800
>
>Hi Scott,
>
>I briefly glanced at your html4.r script. (Briefly means that I may have
>few more ideas when I take a close look).
>
>
__
Get Your Private, Free Email at http://www.hotmail.com



[REBOL] html4 generator script

2000-02-24 Thread s_woodrum

I've been working on a script to automagically generate html 4.0 tags. It's 
kinda big, probably ugly. With it you can do things like:

h1/text: "Hello World"
h1/style: "background:white"
h1/out

The 'out function spits out a formatted tag like Hello World. Basically I took all the html4 
tags and turned them into objects, with all the attributes as properties or 
fields of the object. You can make your own tags and customize them, then 
use them throughout a page. You can use a 'reset function, h1/reset, to set 
the tags back to a default, like . I'd appreciate any comments. Please 
be gentle, I'm a newbie..:-)I'm attaching a test script I used to test 
everything, which should be modified to work on your system. Thanks for 
suggestions, comments, etc.

Scott


__
Get Your Private, Free Email at http://www.hotmail.com


REBOL [
Title:  "HTML 4 Generator"
Date:   24-Feb-00
Name:   'HTML4
Version: 1.0
File: %HTML4.r
Author:  "Scott Woodrum"
Email: [EMAIL PROTECTED]
Category: [web]
Tabs: 4
Purpose: {Build properly formatted html4 tags for dynamic web page 
creation(cgi) }
Comment: {
Every html tag has a corresponding object. Some object names have been 
changed to
prevent name clashes with REBOL or for simplicity, i.e.,  = _head |
 = obj |  = sel | _form=. Every object has an 'out 
function (prints
out the constructed tag) and a 'reset function (resets the tags attributes
to some default value). Some tag objects have an 'end function to print
out a closing tag. Make sure for cgi stuff you call the 'header function
at the start of your script. Not everything here is as clean or efficient
as I would like, i.e., the cut and pasty reset function.
Further note: most of this stuff really only works with IE4 or IE5. I did 
some testing with
Mozilla alpha releases (http://www.mozilla.org) and everything seemed to 
work OK.
Current versions of Netscape are iffy. Some things work, some things don't.
I included an ugly test page I used during development to exercize 
tags/objects.
I didn't include any tags that are DEPRECATED by w3c.}
]

gentag: func [obj [object!]][
tag: []
clear tag
words: next first obj
foreach word words [
either function? get in obj word [][
if (not none? get in obj word) [
either equal? (mold word) "text" [] [
append tag to-lit-word word
append tag get in obj word
]
]
]
]
return tag
]

Begin: func ["The  tag."][
print []
]

End: func  ["The  tag."][
print []
]

header: func ["Must have this at the beginning of your script, if using for 
cgi stuff."][
print ["Content-Type: text/html^/"]
]

_head: make object! [
http-equiv: none
author: none
keywords: none
description: none
title: none
style: none
out: func [][
print [newline]
if (not none? http-equiv) [print build-tag [meta http-equiv 
(http-equiv)]]
if (not none? author)  [print build-tag [meta name "AUTHOR" content 
(author)]]
if (not none? keywords)  [print build-tag [meta name "KEYWORDS" 
content 
(keywords)]]
if (not none? description)  [print build-tag [meta name "DESCRIPTION" 
content (description)]]
if (not none? style)  [
print build-tag [style type "text/css"]
print [style newline ]]
if (not none? title)  [print 
[{}title{}newline{}]]
]

end: func [] [print []]
] ; end of _head object

body: make object! [
id: none
class: none
lang: none
dir: none
title: none
style: none
events: none
out: func [][
tag: gentag self
print [build-tag [body (tag)]]
]
end: func [] [print []]
]

h1: make object! [
id: none
class: none
lang: none
dir: none
title: none
style: none
events: none
text: "" ;the text between 
out: func [] [
tag: gentag self
print [build-tag [h1 (tag)]]
print text
print []
]
reset: func ["Resets all the object values"][
id: none
class: none
lang: none
dir: none
title: none
style: none
events: none
text: ""
]
]

h2: make object! [
id: none
class: none
lang: 

[REBOL] rebol-"powered" web sites Re:

2000-02-23 Thread s_woodrum

I think http://www.openip.org is REBOL generated. It really is a nice 
looking site

Scott


>From: [EMAIL PROTECTED]
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: [REBOL] rebol-"powered" web sites
>Date: Thu, 24 Feb 2000 10:53:27 +1000
>
>
>Greetings and Salutations! :)
>
>Apart from rebol.com (and rebol.org(?)), I was wondering if anyone here
>uses rebol in some way for generating websites (or could point me
>towards some sites that do).
>
>I've already completed an incredibly rudimentary system that puts brings
>together separate "stories" from different files, and am wondering what
>else people have used rebol for.
>
>And yes, I've checked out the partners page on rebol.com, but those
>companies aren't exactly talking about or sharing how and what they're
>doing.
>
>Thanks,
>chris
>
>
>ps. I apologise if this has been discussed on the list recently, as I've
>been off it for a while.
>

__
Get Your Private, Free Email at http://www.hotmail.com



[REBOL] Rebol doesn't return headers under IIS 5, what am I doing wrong? Re:

2000-02-19 Thread s_woodrum

The cgiformobj.r script from the REBOL site has the unix/apache magic 
pound-bang to launch REBOL at the top of the script, i.e

#!rebol --cgi

Is that still in the script? If so, comment it out with ; or put it in 
braces {} or delete it. IIS won't like this bit of magic.

Scott


>From: [EMAIL PROTECTED]
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: [REBOL] Rebol doesn't return headers under IIS 5, what am I doing 
>wrong?
>Date: Sat, 19 Feb 2000 3:02:04 +0100
>
>Hi all,
>
>Well, setup REBOL under M$ IIS 5.0 but can't get the scripts to work.
>I'm testing the cgiform.r script at the moment
>(you can take a look at http://amiga.student.utwente.nl/cgiform.html )
>But I get the error message:
>"CGI Error
>
>The specified CGI application misbehaved by not returning a complete set
>of HTTP headers. The headers it did return are:"
>
>And that's it, it doesn't seem to do anything (I tried putting in a
>"send" command, but I don't get any mail).
>I think REBOL isn't executed. I guess the problem lies within IIS, but I
>don't know where!
>Anybody have any idea?
>I've setup IIS the way Scott told me (and that same way works for PHP3,
>which I'm also trying my hand at :-)
>
>
>--
>Ewald Börger
>

__
Get Your Private, Free Email at http://www.hotmail.com



[REBOL] REBOL as cgi in M$ IIS 5.0...how? Re:

2000-02-17 Thread s_woodrum

I'm using IIS 5/Win2k for some simple REBOL cgi-scripts at work. Here's how 
I configured IIS:
Start -> Settings -> Control Panel -> Administrative Tools ->
Internet Services Manager -> navigate to the web site icon in the
left pane (for me it's just "Default Web Site") -> right-click on "Default 
Web Site" and click "Properties" -> Click the "Home Directory" tab -> In the 
Applications Settings area click the "Configuration" button -> on the App 
Mappings pane, click "Add" ->
In the executable field, type the path to the REBOL .exe like this:

D:\rebol\REBOL.exe -cs %s %s

In the extension field type ".r" (NO quotes!) -> check the "All verbs" radio 
button -> click OK, OK, OK -> Expand the tree in the left pane of the 
Internet Services Manager, right click on the directory you will place your 
scripts and choose Properties -> on the Virtual Directory tab change the 
Execute Permissions drop down box to "Scripts and Executables".

This procedure worked for me. Hope this helps :-)

Scott

>From: [EMAIL PROTECTED]
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: [REBOL] REBOL as cgi in M$ IIS 5.0...how?
>Date: Thu, 17 Feb 2000 1:06:51 +0100
>
>Hi,
>
>Anybody know how to configure M$ Internet Information Server 5.0 (the
>internet pack which comes with windows 2000) to let REBOL act as cgi
>handler?
>If possible with an example usage.
>
>Very cool would be if somebody could exactly tell me how to implement
>the following:
>I need to build a database to store information on for examples news
>flashes which will be shown on a webpage for a certain amount of days
>(so they "expire").
>I want to glue this together with php3 and use REBOL for the complete
>formhandling (as in input of new messages which will be put in to the
>database, if possible with newlines converted to , and for general
>sit
 




<!--
google_ad_client = "pub-7266757337600734";
google_alternate_ad_url = "http://www.mail-archive.com/blank.png";
google_ad_width = 160;
google_ad_height = 600;
google_ad_format = "160x600_as";
google_ad_channel = "3243237953";
google_color_border = "CE9689";
google_color_bg = ["FF","ECE5DF"];
google_color_link = "006792";
google_color_url = "006792";
google_color_text = "00";
//-->







[REBOL] REBOL as cgi in M$ IIS 5.0...how? Re:
s_woodrum


[REBOL] REBOL as cgi in M$ IIS 5.0...how? Re:(2)
h . a . e . borger





 






  
  





Reply via email to



  
  





 
 







[REBOL] [REBOL]FTP Read/Write problems Re:

2000-01-28 Thread s_woodrum

I don't know if this helps, but here's what I get with Microsoft IIS 4.0 FTP 
server, and trace/net turned on:

>>trace/net on
>>entry: join "Date: " now
== "Date: 28-Jan-2000/16:58:45-6:00"
>>write/append ftp://anonymous@localhost:14000/logs.txt entry
URL Parse: anonymous none localhost 14000 none logs.txt
Net-log: ["Opening tcp for" FTP]
connecting to: localhost
Net-log: [
none ["220" "230"]]
Net-log: "220 cat503269 Microsoft FTP Service (Version 4.0)."
Net-log: [["USER" port/user] "331"]
Net-log: {331 Anonymous access allowed, send identity (e-mail name) as 
password.}
Net-log: [["PASS" port/pass] "230"]
Net-log: "230 Anonymous user logged in."
Net-log: [
"TYPE I" "200"]
Net-log: "200 Type set to I."
Net-log: [["PORT" port/locals/active-check] "200"]
Net-log: [
"PASV" "227"]
Net-log: "227 Entering Passive Mode (127,0,0,1,16,199)."
Net-log: [["CWD ~"] "250"]
Net-log: "250 CWD command successful."
Net-log: [["CWD" either empty? port/path ["./"] [join "./" port/path]] 
"250"]
Net-log: "250 CWD command successful."
Net-log: [["APPE" port/target] "150"]
** User Error: Server error: tcp 125 Data connection already open; Transfer 
starting..
** Where: write/append ftp://anonymous@localhost:14000/logs.txt entry


>From: [EMAIL PROTECTED]
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: [REBOL] [REBOL]FTP Read/Write problems
>Date: Fri, 28 Jan 2000 10:43:23 -0900
>
>Hello:
>   I am attempting to read and write test files
>via ftp.
>I began by copying ftpappend.r from the examples site.
>The code was modified as follows:
>;;===
>REBOL
>[
>   Title: "Append to a Text File"
>   File:  %ftpappend.r
>   Date:  26-May-1999
>   Purpose: {Append to a text file using FTP.}
>]
>write/append
>ftp://usr:[EMAIL PROTECTED]/webs/interfacefire/temps/log.txt join
>"date: " now
>;;===
>;I believe that I can verify that I am contacting that site, because
>; if I put in an invalid password or an nonexistant file name, I
>; get an error message.
>; Given that password and filename is correct:
>;  Rebol hangs; i.e the "progress prompt"
>;   |\- etc just keeps spinning and I have to abort the script
>
>I have also written my own script, which goes as follows:
>;;===
>site: ftp://usr:[EMAIL PROTECTED]/webs/interfacefire/temps/test.txt
>print read site
>fp: open/lines/mode site [read write lines]
>   forall fp
>   [
> if(find first fp "three")
> [
>   print first fp
>   insert next fp "line four"
> ]
>   ]
>close fp
>;;===
>;;Same results as in ftpappend.r rebol hangs, no error
>;;  messages, I have to abort the script
>As always, I really appreciate the input, hope I can
>be of some help some day.
>regards
>Tim
>

__
Get Your Private, Free Email at http://www.hotmail.com



[REBOL] objects and blocks

2000-01-13 Thread s_woodrum

Ok. Let's say I have an object like this:

x: make object! [
foo: 1
bar: 2
baz: 3
somefunc: func ["some function"][...]
someotherfunc: func ["some other function"][...]
]

Is there a way to create a function that returns a block like this:

[foo 1 bar 2 baz 3] i.e., [foo value_of_foo bar value_of_bar baz 
value_of_baz]?

I've tried various things with 'in and 'bind with no success.

The answer must be simple, but my neurons seem to be misfiring...

Thanks in advance...:-)

Scott


__
Get Your Private, Free Email at http://www.hotmail.com



[REBOL] time function Re:(2)

1999-11-22 Thread s_woodrum

Thanks for the speedy replyI think this will solve my problem!

Scott


>From: [EMAIL PROTECTED]
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: [REBOL] time function Re:
>Date: Mon, 22 Nov 1999 11:03:04 -0500
>
>Hi...  There was quite a discussion of this question back at the end of
>October... which then became a discussion of Julian dates.  I think this 
>was
>the most elegant/simplest answer to your question though.. thanks to
>msg#43926 from Thomas Jensen:
>
>epoch: func [] [
>x: (* now - 1-1-1970 86400) + now/time  ; returns a time! value
>x/3 + ((x/1 * 60) + x/2 * 60)   ; converts to seconds, would be 
>nice
>; if (to integer! x) worked...
>  ]
>
>Russ
>-
>At 09:30 AM 11/22/99 +, you wrote:
> >Hello everyoneforgive a newbie questionPerl has a time function
> >which returns a number of seconds since a certain date. With Rebol I can 
>get
> >now/time, now/date, etc. Is there an easy way to get the same type of 
>value
> >that the Perl time() function returns? I seem to have problems 
>multiplying
> >what returns from now with integer or decimal data types, like in a 
>payroll
> >calculation where hours_worked * pay_rate = paycheck. Thanks in advance 
>for
> >your help.
> >
> >Rebol rules!
> >
> >__
> >Get Your Private, Free Email at http://www.hotmail.com
> >
> >
> >
>

__
Get Your Private, Free Email at http://www.hotmail.com



[REBOL] time function

1999-11-22 Thread s_woodrum

Hello everyoneforgive a newbie questionPerl has a time function 
which returns a number of seconds since a certain date. With Rebol I can get 
now/time, now/date, etc. Is there an easy way to get the same type of value 
that the Perl time() function returns? I seem to have problems multiplying 
what returns from now with integer or decimal data types, like in a payroll 
calculation where hours_worked * pay_rate = paycheck. Thanks in advance for 
your help.

Rebol rules!

__
Get Your Private, Free Email at http://www.hotmail.com