[REBOL] print first n characters

1999-01-17 Thread fprowse
Hi all... when using the print command, is it possible to print the first n amount of characters in a string? Cheers Francois

[REBOL] Pros and cons

1999-01-17 Thread a142808
Jeff said: Howdy. Well, howdy back, pardner! Jeff said: Granted-- it's [REBOL scoping rules] a little more involved... I looked through the archive and couldn't find a formal description of the scoping rules (I did find an enigmatic note from you that said there were no rules, but I

[REBOL] Round function Re:

1999-01-17 Thread 70740 . 503
Andrew, You asked "Any one got any other maths functions?". I have a great many including such things as roots of polynomials, prime factors, eigenvalues and eigenvectors of matrices, inverse of matrices etc. I have started to upload some of them. However, if you would like, I can email any or

[REBOL] Getting CGIs to work Re:(3)

1999-01-17 Thread Russ
Donald, Can you say a bit more about what the problem is regarding this comment you made (re losing registration at the site)? Just curious... Russ --- At 04:11 PM 11/18/99 +, you wrote: The details at the bottom describe one way I got it to work, but it is not the way I wanted to do it,

[REBOL] Parse: Recursion Re:

1999-01-17 Thread giesse
[EMAIL PROTECTED] wrote: On the other hand, I don't understand when I would want to use recursive rules: a) instead of [some rule] Sometimes it may be simpler to express a rule as recursive instead of iterative; I'm not sure if there are cases where it is not possible to write an iterative

[REBOL] [REBOL] clear function Re:(3)

1999-01-17 Thread giesse
[EMAIL PROTECTED] wrote: regarding the memory, have you tried the command 'recylce'? recycle Yes, but it does not release memory. It always did for me. Perhaps you have still references to that memory somewhere? Ciao, /Gabriele./ o) .-^-.

[REBOL] floating point numbers Re:(3)

1999-01-17 Thread giesse
[EMAIL PROTECTED] wrote: [zeroes] Yes, right, but I have to care about to all the various cases, that is when the digits of the numbers are 1,2,3 or 4 (so a 0,1,2,3 trailing zeros are to be added). Should I have to write that function myself? Yes. I did, and have it at home. It's something

[REBOL] DONT MAKE IT COMMERCIAL!!!! Re:(6)

1999-01-17 Thread porterpa
I agree hole heartedly Elan. In the back of my mind I am seeing "Turbo Pascal". I don't know if you where around when it was popular, but I was in college at the time. It was owned by every geek on campus. When every other language was selling for ridiculas prices with all manner of bizzar

[REBOL] Julian day and other Re:(2)

1999-01-17 Thread mfontana
On Thu, 18 Nov 1999 [EMAIL PROTECTED] wrote: Visit www.rebol.org, where you'll find submit instructions. Just done, thanks. Does your script recognize that years that are multiples of 400 *are* leap years, although in general, years that are multiples of 100 are not? Of course it does!

[REBOL] write-io blocking (with example)

1999-01-17 Thread fsievert
Hi! I am not sure, if it is really possible to write a (save working) multisession server in rebol. In order to program a real working multisession server (without multithreading) you must be able to protect your server from beeing blocked in the IO-Commands. For reading this is possible, the

[REBOL] DONT MAKE IT COMMERCIAL!!!! Re:(4)

1999-01-17 Thread slong
[EMAIL PROTECTED] wrote: Guys, There appears to be a misunderstanding as to what OpenSource software means. OpenSource is a business model. OpenSource software may be commercial software or software released to the public domain. snipped Furthermore Free Software demands that

[REBOL] parse question Re:

1999-01-17 Thread bo
Ingo, Assuming your input line looks like this: inline: "a1=1, a2=2, a3=3, a4" Here is a one-line solution to do what you want: do replace replace/all replace/all inline "," " " "=" ": " "a4" "a4: true" It works for any ordering of inline, and also if the values are separated by spaces,

[REBOL] Pros and cons Re:

1999-01-17 Thread jeff
And a double howdy back to you too, pilgrim!: Well, howdy back, pardner! [ . . . ] ... but look at the way REBOL encourages use of the basic REBOL datatype, the block. Commands such as APPEND, INSERT, REMOVE, CHANGE, CLEAR, POKE, REPLACE, REVERSE, SORT, are

[REBOL] Round function Re:(3)

1999-01-17 Thread bo
How about this function for rounding positive or negative numbers: round: func [R [integer! decimal!]][ to-integer R + (-1 * to-integer negative? R) + .5 ] Shows one of the lesser-known uses of logic values in REBOL :-) On 18-Nov-1999/22:19:59-6:00, [EMAIL PROTECTED] wrote: But Russell,,

[REBOL] Console output Re:

1999-01-17 Thread BSchneider
Hi Thomas, I reported this as a bug some time back. Haven't seen anything on it since then. It is supposed to work, but in Windows, it's broken. Bernie Schneider CIBER, Inc. 303-224-4159 [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Sent:

[REBOL] Getting CGIs to work Re:(4)

1999-01-17 Thread ddalley
On 19-Nov-99, [EMAIL PROTECTED] wrote: Can you say a bit more about what the problem is regarding this comment you made (re losing registration at the site)? Just curious... Sure, Russ. If I don't access some my portfolios for a long enough period, the acc't will be wiped out. This is for

[REBOL] Pros and cons. Heh Re:

1999-01-17 Thread wwink2
A little late for your 5:30 deadline - although its hard to respect a company that wants a serious comparison of language issues in a few hours. One site I like is the following: http://www.lib.uchicago.edu/keith/crisis/ The site is imperfect, and doesn't seem to have been updated recently,

[REBOL] DONT MAKE IT COMMERCIAL!!!! Re:(5)

1999-01-17 Thread icimjs
Hi Slong, you wrote: Starting with the last reveision, SuSE is selling through CompUSA at $29 US. I think SuSE doesn't get much revenue this way, but the book and six CD are sure moving! I believe SuSE reported $15Mio. in revenue for last year. That's not bad for printing a few CD's,

[REBOL] Web Hosting Sites that support Rebol? Re:(2)

1999-01-17 Thread wwink2
Granted, the effort is not great and if I control a web server, it should be easy to do. However, many small web developers have their sites hosted by commercial web site hosting companies which supply the hardware, 24x7 staff, comm lines, *and* control the software which may be used to build

[REBOL] Web Hosting Sites that support Rebol? Re:(2)

1999-01-17 Thread norsepower
Doesn't REBOL need to be in a specific directory to run scripts? Or can you just declare within the script where the interpreter is located? -Ryan There's not much needed to support Rebol... if your current web site's server will run any of the 30+ binaries of Rebol, you just toss the

[REBOL] Web Hosting Sites that support Rebol? Re:(3)

1999-01-17 Thread obed
I am happy to host rebol-enabled accounts on my dedicated box for a reasonable fee. Contact me via email. Obed a1gold.com - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, November 19, 1999 10:11 AM Subject: [REBOL] Web Hosting Sites that support Rebol?

[REBOL] can't get cgi script to write

1999-01-17 Thread obed
rebol.com is not accessible to me today... I am having a problem getting my script to write/append to a file ; the following is a workaround to a problem with using input from HTTP POST.post: make string! inputif not post = "" [ do decode-cgi post write/append banned newnumbers] The

[REBOL] DONT MAKE IT COMMERCIAL!!!! Re:(7)

1999-01-17 Thread icimjs
Hi Paul, you wrote: I agree hole heartedly Elan. In the back of my mind I am seeing "Turbo Pascal". I don't know if you where around when it was popular, but I was in college at the time. I was an Assembler programmer when it came out. Played around with version 1.0, liked it, but

[REBOL] can't get cgi script to write Re:

1999-01-17 Thread sterling
Do #!/usr/local/rebol/rebol -cs instead. Shell scripts defined in this way only pass one command line argument to the program in question. This way you get both the cgi and security options you request. Sterling If I ignore security, I get a REBOL Security Violation message at the = bottom

[REBOL] Re: Web Hosting Sites that support Rebol? Re:(2)

1999-01-17 Thread collins-e
On 19-Nov-99, [EMAIL PROTECTED] said about the subject [REBOL] Web Hosting Sites that support Rebol? Re:(2): Hi, This information is, in my experience, just plain wrong. No web host I have every used or heard about allows uncontrolled binaries to be executed on their servers. I guess they

[REBOL] pros and cons.

1999-01-17 Thread a142808
Jeff said: And a double howdy back to you too, pilgrim!: Triple howdy, and two pilgrims, O REBOL guru. [Illustration of functional REBOL code elided.] Jeff said: Your aim is to bash REBOL for it's lack of functional purity, no? :-) Actually, no. I'm not bashing REBOL. If I'm

[REBOL] Web Hosting Sites that support Rebol? Re:(4)

1999-01-17 Thread wwink2
Does Vservers.com *know* you are doing this, and *approve* of it. It may work, but if you have not cleared this with them, they may be just a mite bit unhappy if they find out. I'm not an expert, but the web hosts I've looked at are very particular about what types of programs and

[REBOL] Web Hosting Sites that support Rebol? Re:(5)

1999-01-17 Thread assembly
On Fri, 19 Nov 1999 [EMAIL PROTECTED] wrote: Are you saying you think a Perl script is a binary executable? You must have quite a liberal web host if he permits execution of arbitrary binaries on a shared server! Facts are a wonderful thing. No. Traditionally to execute a script you have a

[REBOL] DONT MAKE IT COMMERCIAL!!!! Re:(7)

1999-01-17 Thread allenk
At the sametime I'm thinking of BEOS. They have a beautiful product but their pricing is keeping the OS out of the hands of the people that could make it a player. I may be wrong but I don't think BEOS will ever be a contender simply because the owner is so intent in making money from day

[REBOL] pros and cons. Re:

1999-01-17 Thread jeff
Hey now, pilgrim. You can call me guru, or you can call me goof ball, but don't call me Sherman! ;-) Triple howdy, and two pilgrims, O REBOL guru. [ . . . ] Jeff said: Your aim is to bash REBOL for it's lack of functional purity, no? :-)

[REBOL] Getting CGIs to work Re:(5)

1999-01-17 Thread allenk
Jan suggested that I might be using GET. What I *don't* want to do is get the webmasters upset enough that they change how the sites use security. I don't know how it all works, and I have no idea if they can tell, but I'm just not going to push my luck and spoil things for myself or others.

[REBOL] can't get cgi script to write Re:(4)

1999-01-17 Thread obed
damn .. mine is Linux/Apache also. Guess I should dig in the error log and see why it's bombing. Obed - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, November 19, 1999 7:18 PM Subject: [REBOL] can't get cgi script to write Re:(3) It is on Linux under

[REBOL] DONT MAKE IT COMMERCIAL!!!! Re:(8)

1999-01-17 Thread porterpa
Hotmail has been screwing up so if this is being posted for a second time I apologize. Actually, if I recall correctly, their pricing is relatively low. Correct me if I'm wrong, but I recall having received an email from them, when their Intel version began shipping. The price I believe I saw

[REBOL] Prose and cons

1999-01-17 Thread a142808
Jeff said: Hey now, pilgrim. You can call me guru, or you can call me goof ball, but don't call me Sherman! ;-) How about `late for dinner'? Jeff said: It seems to me that you could not, with out great difficulty, write the functional code that I provided in an imperative

[REBOL] DONT MAKE IT COMMERCIAL!!!! Re:(9)

1999-01-17 Thread versation
The last I saw it was about $150 with a book. Please correct me if I'm wrong. http://gigabuys.us.dell.com/store/catalog.asp?Word_Phrase=beos BE INCORPORATED BE OS Operating System v4.5 ADD $41.45 BE INCORPORATED BE OS V4.5 BE OS Bible Bundle Single 1-DOC w/Peachpit ADD $47.45 glad I

[REBOL] Web Hosting Sites that support Rebol? Re:(6)

1999-01-17 Thread roger
OK -- I don't claim to be a Unix expert, but I always thought that the OS had more granularity in terms of assigning execution rights and resources used. All of the executables I have ever called for CGI services have been in locations other than CGI-Bin (including Perl); the ASCII SCRIPTS are of