[REBOL] Re: Parsing out strings

2004-04-29 Thread Gregg Irwin
Hi Stuart, M> I am looking at "clear find" and "remove/part" and things like this M> but I am getting very confused as to what to use when, I am more of M> a left$, mid$, right$ kind of guy. I specialized in VB for a lng time, so I know where you're coming from. Let's start with some simple

[REBOL] Re: Parsing out strings

2004-04-29 Thread Maxim Olivier-Adlhoch
by using left right mid mentality... use COPY and AT so here we go: with str: "the user jsmith logged in at 4.30pm" > 1. "the user" copy/part str 8 > 2. "the user jsmith" copy/part str 15 > 3. "jsmith" copy/part at str 10 6 > 4. "jsmith logged in at 4.30pm" copy at str 10 > 5.

[REBOL] Re: Parsing out strings

2004-04-29 Thread Jones, Scott
From: ML ... > Suppose the line I am parsing says: > "the user jsmith logged in at 4.30pm" > > Can you give me a clue what I would use to > parse in each of these circumstances where > the desired text is: > > 1. "the user" > 2. "the user jsmith" > 3. "jsmith" > 4. "jsmith logged in at 4.30pm"

[REBOL] Re: SMTP Authentication

2004-04-29 Thread Jones, Scott
From: ML > ... > Sorry I didn't understand that the scripts were for SMTP > on MS Exchange only. I know my ISP is not using Exchange > servers, so do you think the scripts should still work, > or is there another way to pass username/password to non > Exchange SMTP servers? ... Hi, Stuart, I

[REBOL] Parsing out strings

2004-04-29 Thread ML
I am pretty new to REBOL and am having a bit of trouble getting my head around how to parse out strings from lines I am reading in from session logs. I am looking at "clear find" and "remove/part" and things like this but I am getting very confused as to what to use when, I am more of a left$,

[REBOL] Re: SMTP Authentication

2004-04-29 Thread ML
Thanks Scott. Sorry I didn't understand that the scripts were for SMTP on MS Exchange only. I know my ISP is not using Exchange servers, so do you think the scripts should still work, or is there another way to pass username/password to non Exchange SMTP servers? Thanks for the help. Stuart

[REBOL] Re: SMTP Authentication

2004-04-29 Thread ML
No the message was never received. And no the SMTP server is not an Exchange box. If this doesn't work with non-Exchange SMTP servers, do you know of anything that does? Stuart > Original Message > From: "Anton Rolls" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Date

[REBOL] Re: [REBOL.org] [repack] quick info

2004-04-29 Thread Maxim Olivier-Adlhoch
hi ppl, just thought I'd give you a little primer on how to use repack. -start by runnning it (from the web or downloaded). -you will see the ui is separated in 5: * a header * a "package" browser pane * the package specification/download setup pane * the message box (which prints

[REBOL] [hints] HELP & "reserved words" (was: Another Console Related Question)

2004-04-29 Thread Gregg Irwin
Hi Paul, Two more hints for you. pbc> ...Since, as Arie was kind enough to point out, "clear" is a pbc> reserved word in Rebol I changed it to "cls" so that it is now pbc> cls: does [prin "^L"]. The important one is HELP; i.e. the HELP function in REBOL. If you aren't sure whether a word has be

[REBOL] Re: Another Console Related Question

2004-04-29 Thread Anton Rolls
No, it should still work. Look: >> clear: does [print "hello"] >> clear hello Rebol allows you to freely change the value of most words. I would advise against doing that with clear, though; it's an often used function. Also check out: "TUI Dialect - A dialect to print

[REBOL] Re: Another Console Related Question --- SOLVED

2004-04-29 Thread paulporter
Yes! that is exactly what I am wanting. Since, as Arie was kind enough to point out, "clear" is a reserved word in Rebol I changed it to "cls" so that it is now cls: does [prin "^L"]. Thanks for the help; Paul -- Linux User Number: 348867 > Hello Paul, > > To avoid using the word do like in

[REBOL] [REBOL.org] [ANN] Packages: the next generation

2004-04-29 Thread SunandaDH
Back in February, we unveiled some basic support for *packages* in the Script Library (i.e. multi-file applications) http://www.rebol.org/cgi-bin/cgiwrap/rebol/ml-display-message.r?m=rmlMTXQ And we ran a competition, and got lots of useful feedback. Thanks again, everyone. Another p

[REBOL] Re: Another Console Related Question

2004-04-29 Thread paulporter
Ah! thanks Arie. I tried to clear the console with "clear" and when it didn't do what I wanted I started looking at other ways to do it. I did think of it being a reserved word for some purpose other than clearing the console. I appreciate the input. Paul -- Linux User Number: 348867 > > Hi

[REBOL] Re: Another Console Related Question --- SOLVED

2004-04-29 Thread Al TS
Hello Paul, To avoid using the word do like in do clear you need to define clear as a function like : REBOL [] cls: func [ {Efface la console. CLS pour CLear Screen.}] [ prin "^L"] or just clear: does [prin "^L"] After that i think only clear is working like you finaly want. yos [E

[REBOL] Re: Another Console Related Question

2004-04-29 Thread Arie van Wingerden
Hi Paul, I think is has to do with the fact that CLEAR is a REBOL word. Have a look at: http://www.rebol.com/docs/words/wclear.html Hope that helps, Arie - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 29, 2004 1:07 PM Subject: [REBOL] A

[REBOL] Re: Another Console Related Question --- SOLVED

2004-04-29 Thread paulporter
Please disregard this question. I stumbled on to the answer. Just incase some other newbie comes across this: The solution is to use: do clear instead of: print clear Paul -- Linux User Number: 348867 > > I've been playing with the console some more and discovered something that > is str

[REBOL] Another Console Related Question

2004-04-29 Thread paulporter
I've been playing with the console some more and discovered something that is strange to me. When I type: clear: print ["^L"] and then type: print clear I get: ?unset? >> At the top of the page. I assume that Rebol wants me to set clear; so I try: set 'clear print ["^L"] but when I do:

[REBOL] Re: Silenceing the double equal

2004-04-29 Thread paulporter
Thanks Scott; That is exactly what I was trying to do. By telling me what I needed to look under provided solutions to several other problems I was trying to find answers to. I really appreciate the help. Paul -- Linux User Number: 348867 > > Hi, Paul, > > What you seek can be found under t