[REBOL] Re: joining strings

2009-07-27 Thread Gregg Irwin
Hi Şemseddin, ŞMB What is the best way to join a block into a string with a separator? ŞMB I prefer not to use loop if it is possible. ŞMB b: [a b 1 2] ŞMB t: concat b - ŞMB == a-b-1-2 You got a couple replies already, but I'll add mine. In the past, some of us have suggested that REJOIN would

[REBOL] Re: Requesting an Account on the AltME REBOL3 World

2009-06-19 Thread Gregg Irwin
GC Good luck with that .. Altme hasn't been working for me most of today. Hello, I am requesting to join the REBOL3 world on AltME. His account is set up in any case. And we'll hope for more stable connections. -- Gregg -- To unsubscribe from the list, just send an email to lists at

[REBOL] Re: Request a membership of the REBOL3 world on AltME

2009-06-03 Thread Gregg Irwin
Hi Chris, I'll email you directly about account info. -- Gregg -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.

[REBOL] Re: Comparing dates - need help

2009-04-24 Thread Gregg Irwin
Hi Carlos, CL Need some help on this. CanŽt understand why NOW is greater then CL TO-DATE a/2. As Petr said, it's because of the timezone. Consider the values if you compare them as UTC times. -- Gregg -- To unsubscribe from the list, just send an email to lists at rebol.com with

[REBOL] Re: What does loop return?

2009-04-04 Thread Gregg Irwin
Hi Valeri, Welcome to REBOL! ÂÌ My question is: what does loop (foreach and so on) return? Namely: ... ÂÌ (seems like last evaluated value). Correct. ÂÌ So there are some questions: ÂÌ - is that desirable ? What else would you suggest they return? ÂÌ - what is the sense of such behaviour ?

[REBOL] Re: let's re-visit math oper. in a var.

2009-04-03 Thread Gregg Irwin
Hi Duke, DN What's wrong _now_? Remember, REBOL doesn't evaluate strings they way you might think it does. You can DO a string, and you should play with that, but they are not implicitly evaluated. So, when you do this: DN op: ask Enter an operator [+ - * /]: DN op2: join : :op The

[REBOL] Re: let's re-visit math oper. in a var.

2009-04-03 Thread Gregg Irwin
Hi Duke, mgc Anyway, I'm also studying (and liking) an old database language mgc called Mumps or M - heavily used in the Healthcare and financial mgc circles. That little calculator routine that I was using as a mgc sandbox took me 10 minutes to write properly in Mumps, including mgc error

[REBOL] Re: Using a Math oper. buried in a variable

2009-04-02 Thread Gregg Irwin
Hi Duke, DN I want to do something like: DN num1: = 6 DN num2: = 5 DN op: * DN print [num1 op num2] DN and get 30 as the result. How in the %...@#* do you do this in REBOL? I addition to Tom's answer, this may help explain word usage:

[REBOL] Re: Using a Math oper. buried in a variable

2009-04-02 Thread Gregg Irwin
HMK Forgetting to REDUCE: print reduce [op num1 num2] HMK == 30 Hmmm, what REBOL version and OS are you on Duke? The reduce should not be required. My post was copied from a live console. Is it required on OS X Henrik? -- Gregg -- To unsubscribe from the list, just send an email to lists

[REBOL] Re: Using a Math oper. buried in a variable

2009-04-02 Thread Gregg Irwin
Hi Duke, num1 mgc == 5 num2 mgc == 6 op mgc == * do reform [num1 op num2] mgc == 30 mgc Is it OK for me to think that this is a PITA? Sure, you can think whatever you want. :) How would you like it to work, and what is your ultimate goal? A big part of understanding REBOL is figuring out

[REBOL] Re: Using a Math oper. buried in a variable

2009-04-02 Thread Gregg Irwin
mgc but I would have never fingered that out in a million years. :) That's why I posted this link: http://www.rebol.com/docs/core23/rebolcore-4.html#section-5.2 Don't worry though, once you get a handle on the basics, you'll find some *really* great features. :) -- Gregg -- To unsubscribe

[REBOL] Re: Compatibility REBOL 2.x / REBOL 3.0 ?

2009-03-10 Thread Gregg Irwin
Hi Alan, AM I would think most scripts in r2 are either small enough to port with no AM problem or are looking for an excuse to rewrite: tighten up code, add new AM function etc. Not for me. I have production code that is made of large and small scripts, encapped apps, CGIs, and remote

[REBOL] Re: Dialecting......

2009-02-07 Thread Gregg Irwin
Hi Srini, SI Also I noticed that in R3 GUI there seemed to be not tree controls or is it SI going to be incorporated...Surely, one needs a tree control as part of SI the GUI The GUI bits are in their very preliminary stages. I hope we have good tree and table/grid styles, along with

[REBOL] Re: Dialecting......

2009-02-07 Thread Gregg Irwin
Hi Srini, SI Given the power of Rebol, I was wondering whether the guys are SI thinking of a datastore that would mimic the natural SI expressiveness of Rebol and provide a database without the SI issues faced by traditional RDBMSes or OODBMSes. Two other models have been mentioned in the

[REBOL] Re: Dialecting......

2009-02-06 Thread Gregg Irwin
Hi Srini, SI I've downloaded Rebol R3 Alpha 33, and for the life of me I can't seem to be SI able to do the following SI1. *Login* to the AltME world. I'll contact you privately to get that sorted out. Once you're in, you'll see an R3 group. Brian Hawley may also see your message here on

[REBOL] Re: view creates public folder each time on windows

2008-12-31 Thread Gregg Irwin
HMK I'm not even sure it's possible to avoid creating the public HMK folder, as it's been a wish for a long time. It only affects certain versions, though, correct? I know there was a period where the official release did it, and I ended up with a ton of %public/ folders all over the place, but

[REBOL] Re: view creates public folder each time on windows

2008-12-31 Thread Gregg Irwin
Hi Nick, See what is in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.r\OpenWithList NA rebol.exe If you put that under the regular shell commands, does it work? I don't know the details, or why it would behave differently if you have a full path and switches

[REBOL] Re: I would like to join REBOL3 AltMe

2008-12-21 Thread Gregg Irwin
Hi Janko, jm Hi, I am Janko Metelko.. I would like to gain access to REBOL3 AltMe jm world if possible. Done. -- Gregg -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.

[REBOL] Re: [mail smtp] Including a full name in header fields

2008-12-13 Thread Gregg Irwin
Thanks Gabriele! I noticed that /only didn't mod things, but hadn't gotten to reading any specs. -- Gregg -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.

[REBOL] Re: RebCon 2008

2008-12-12 Thread Gregg Irwin
Thanks for doing this Nick! I hope I can make it. -- Gregg -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.

[REBOL] [mail smtp] Including a full name in header fields

2008-12-12 Thread Gregg Irwin
Has anyone modified SEND and the SMTP scheme to support the inclusion of a name, along with the email address, in the mail header? -- Gregg -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.

[REBOL] Re: [mail smtp] Including a full name in header fields

2008-12-12 Thread Gregg Irwin
Hi Graham, Has anyone modified SEND and the SMTP scheme to support the inclusion of a name, along with the email address, in the mail header? GC What do you mean? I want the TO line to say: Graham Chiu compkar...@gmail.com not just compkar...@gmail.com I thought using send/header

[REBOL] Re: [mail smtp] Including a full name in header fields

2008-12-12 Thread Gregg Irwin
Hi Graham, GC In prot-esmtp.r, you have this GC foreach addr data/2 [ GC confirm-command port [RCPT TO: addr ] GC ] GC so there is no way you can send the persons name without modifying this first. I saw that too. I was wondering if

[REBOL] [SOAP WebDAV] SOAP and WebDAV bits

2008-11-13 Thread Gregg Irwin
Hello all, I know Graham has done some SOAP stuff, and there are some ML archive resources on REBOL.org, but I haven't found what I would call a definitive reference. Has anyone pursued a SOAP or WebDAV interface in depth? Graham? Thanks! -- Gregg -- To unsubscribe from the list, just send

[REBOL] Re: Language Comparisons

2008-10-16 Thread Gregg Irwin
T but the site is sitting out there supposedly being an example of rebol T it may be worth it for the sake of advocacy to go through what is up T there and at least make it as good an example as we could Agreed (also on the pointlessness part). If someone wanted to act as liaison, posting a

[REBOL] Re: Seems like a View 2.7.6 if statement issue ......???

2008-10-14 Thread Gregg Irwin
Hi John, JD Here's the result of inserting the 'probe' in the line noted below: JD #{20} JD ** Script Error: Expected one of: binary! - not: string! JD ** Near: (probe substr rec1 (y + j) + 2054 1) JD Does this seem to shed light on whether or not there is a JD fundamental difference

[REBOL] Re: Windows .dll question: getmemorystatusex

2008-10-14 Thread Gregg Irwin
Hi Bo, asn I wrote the following snippet of code to try to get the size of physical asn memory on a computer, but it isn't working. Does anyone know why? asn ullTotalPhys [long] asn ullAvailPhys [long] asn ullTotalPagefile [long] asn ullAvailPageFile [long] asn ullTotalVirtual [long]

[REBOL] Re: accesing a file with []

2008-10-07 Thread Gregg Irwin
Hi Graham, GC How does one access a file with a [ ] in it? GC imagemagick makes a series of files ending in [0].png etc. GC But REBOL turns the [ and ] into html entities. The console molds the name with the escapes, but it seems to write and access the file just fine here (2.7.6 on

[REBOL] Re: Seems like a View 2.7.6 if statement issue ......???

2008-10-07 Thread Gregg Irwin
Hi John, JD This line worked fine in the earlier version of Rebol..but now JD throws an error in Rebol 2.7.6 JD repeat k 12 [ JD         nourish: copy [] JD         if ((substr rec1 (y + j) + 2054 1) ) [   - error here JD .

[REBOL] Re: Strange behavior

2008-10-01 Thread Gregg Irwin
Hi Bo, asn REBOL executables running as a service are moderately to severely asn sterilized. Executables launched from a service-launched REBOL asn executable generally cannot display their interface and interact with asn the operating system in a normal manner. Are you using Doc's

[REBOL] Re: Reading an HTML Page Redirect

2008-09-14 Thread Gregg Irwin
vsn Quick question, what happens if you don't close the port and open vsn a new port for a different URL? If there are no more references to the port, it will eventually be closed and collected by the GC. If you plan to reuse words to refer to ports, you can always use a mezzanine and attempt to

[REBOL] Back after being unsubscribed

2008-09-12 Thread Gregg Irwin
Hi all, Somehow I got unsubscribed from the list, but didn't realize it. If you are waiting on a response from me for anything, please ping me here or privately. -- Gregg -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.

[REBOL] Re: Need help with find

2008-07-04 Thread Gregg Irwin
Hi Thorsten, TM this is my Problem. I have a file containig lots of lines with table TM names like this: TM ABO.ZUGANG_MONTH TM ABO.ZUGANG TM ABO.ZUGANG_YEAR TM ABO.ZUGANG_MONTH_DIRECT TM ... TM What i need to do is to find exactly the line with ABO.ZUGANG. If i do TM an find on this, the

[REBOL] Re: calm before the storm

2008-06-10 Thread Gregg Irwin
All I can say is...go Max go! (maybe I'll beat BrianT to it :) -- Gregg -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.

[REBOL] Re: Trying to insert picture using send/subject

2008-06-10 Thread Gregg Irwin
Hi Alan, ADsend/subject/attach [EMAIL PROTECTED] join Dear Mr. Dechert:^M read AD file:///myfile.txt This is the Subject %mypicture.jpg AD Okay, this worked to attach the picture, but I want the picture in the body AD of the email. For example, if you use html format with Outlook Express

[REBOL] Re: No Don`t Leave Re: Re licence.key for SDK

2008-05-28 Thread Gregg Irwin
Hi Srini, SI In ASP.NET there are server side control that make it easy to SI develop web pages. Is there an equivalent in Rebol or does one SI need to render web pages by throwing HTML code... You need to generate the HTML. There is the BUILD-MARKUP function to help with that, and there

[REBOL] Re: Dialecting......

2008-05-28 Thread Gregg Irwin
Hi Srini, SI I had a look at dialects and managed to get a simple one working using SI Blocks using Parse (not string parsing)... Great! SI I was wondering if you or someone else could throw some light SI (with examples) on more complex parsing. Like recursive parsing SI for nested blocks

[REBOL] Re: Re licence.key for SDK

2008-05-22 Thread Gregg Irwin
Hi Srini, SI Now that I know how to get in touch with you guys, would it be ok SI to ask queries and raise suggestions thru this mechanism Please do! This mailing list is very quiet these days. A lot of REBOL people use AltMe and IOS for communication, so a lot of talk moved away from the

[REBOL] Re: Re licence.key for SDK

2008-05-21 Thread Gregg Irwin
Welcome Srini, Graham answered your licensing question, so I'll just add that REBOL's marketing doesn't do the technology justice. The community is great, and some people here are able to get in touch with the company people more directly if you're still unable to get what you need for

[REBOL] Re: Test

2008-05-14 Thread Gregg Irwin
Hi John, JB I thought there was something wrong so I resubscribed. JB I cant believe that there has been no questions/comments on the JB list. On and off it's been very quiet here. The AltMe darknet is pretty active though. -- Gregg -- To unsubscribe from the list, just send an email to

[REBOL] Re: you've got to love the north-american patents offices... this one from the US... error reporting

2008-04-30 Thread Gregg Irwin
MOA this is so laim, I think we should try to patent hi world (as MOA opposed to hello world) MOA http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO1Sect2=HITOFFd=PALLp=1u=%2Fnetahtml%2FPTO%2Fsrchnum.htmr=1f=Gl=50s1=7,325,045.PN.OS=PN/7,325,045RS=PN/7,325,045 Wow, so that's what Jeff Bezos

[REBOL] Re: noob questions: keyboard access to buttons

2008-04-20 Thread Gregg Irwin
Hi Doug, D Assume I have this window (running on Windows XP) D view layout [myfield1: field data1 myfield2: field data2 button Do D something [dosomething] button Quit [quit]] D I want to create keyboard access, so the user does not have to use a mouse. D Is there a way to get focus to the

[REBOL] Re: noob question: foreach usage

2008-04-15 Thread Gregg Irwin
Hi Doug, D How do I print the values of x1 and x2 in the foreach loop? D ; start code D send2: func [ Darglist D ][ Dprint arglist ; prints the values Dforeach arg arglist [print arg ] ; prints 'x1' 'x2', not values D ] [print get arg] -- Gregg -- To

[REBOL] Re: a request for help, a ready made rebol script for realtime searching obfuscated data in webpages

2008-04-14 Thread Gregg Irwin
Hi David, dm can you put together a realtime searching Rebol GUI to get these dm obfuscated data in web page links, parse it and display the data dm in a linked contextual form so as to see the relationships if dm thats possible?. The more specifics you can provide, the better chance there is

[REBOL] Re: Extract applied to binary!

2008-03-16 Thread Gregg Irwin
Hi Rudolf, That's a good catch on the behavior. Brian Hawley will probably chime in on this. These subtle behaviors--forming values--are helpful most of the time. Obviously, in this case, they're not. -- Gregg -- To unsubscribe from the list, just send an email to lists at rebol.com with

[REBOL] Re: DOM Level 3 implementation in REBOL: evaluators sought

2008-03-13 Thread Gregg Irwin
Hi Rudolf, Sounds very cool. I hope some people can help test it for you. I'll try to make time in the near future myself. -- Gregg -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.

[REBOL] Re: avicap32.dll

2008-03-11 Thread Gregg Irwin
Hi Nick, NA I'm stuck trying to get the hwnd value (window handle) needed for NA the capCreateCaptureWindow function. In other development NA environments I use, that handle (pointer) is simply returned when I NA create a new GUI window. Does anyone know if I can gain access to NA that

[REBOL] Re: [rebolist] pcre

2008-03-10 Thread Gregg Irwin
Hi John, JS Is it/would it be possible to use Philip Hazel's pcre regular expression JS (regex) library in a Rebol program? I started on it at one point. But it was just for fun, and the interface turned out to be a pain to deal with, so I didn't continue. I can send you what I have if you

[REBOL] [opportunity] Opportunity for a good REBOL contractor

2008-02-28 Thread Gregg Irwin
If you're an experienced REBOLer, and available for contract work, contact me. I need someone who can give me a decent number of hours, ongoing. We'll start with small things and work our way up from there. Some projects will be Open Source, other pieces will be tools to help with REBOL

[REBOL] Re: detecting pro license

2008-02-28 Thread Gregg Irwin
Hi Max, MOA I've been searching the net and the mailing list and cannot find nor MOA remember the status on trying to detect if someone has library features MOA enabled in his current rebol session MOA basically if rebol is running with a pro or cmd license... extract

[REBOL] Re: [clean-script shebang] Anyone fixed clean-script.r for shebang lines?

2008-02-24 Thread Gregg Irwin
Hi Tom, T why don't you skip to rebol-header? T everything before the header is a comment as far a rebol is T concerned anyway and yes sometimes I do take advantage of that. It could do that too. I used to put stuff before the header, but I got out of that habit as it seemed to add more

[REBOL] Re: [clean-script shebang] Anyone fixed clean-script.r for shebang lines?

2008-02-23 Thread Gregg Irwin
Has anyone fixed %clean-script.r so it doesn't alter shebang lines? It sees the line as an issue!, refinements!, etc. %clean-script-heavy.r does the same thing. My simple fix for now is to do this before the SOME in the parse rule: opt [str: #! thru newline new: (emit str new)]

[REBOL] [object/private] Protecting object variables

2008-02-10 Thread Gregg Irwin
Hi Rudolf, RWM I am writing an application in which it is important to ensure that RWM certain object variables are protected against overwriting. Is RWM there a way to do that? RWM The protect function says it works on words rather than paths, and RWM trying to execute protect within the object

[REBOL] Re: Passing arguments to a function in another script

2008-02-07 Thread Gregg Irwin
Hi Bob, BW (a) I have more or less come to the conclusion that such action blocks BW need to contain FUNCTIONS of some sort, but even so I am still hesitant BW about making such a sweeping generalisation. Action blocks will contain whatever you need them to, just as event handler code in VB

[REBOL] Re: [date date! month month-bounds] MONTH-BOUNDS func design

2008-01-30 Thread Gregg Irwin
Hi Anton, AR I would prefer not to use AR = 31-Mar-2008/23:59:59 AR but rather AR 1-Apr-2008 AR as the first can never be specified with complete accuracy by AR definition. That's true, but then you end up having to write = for the lower bound comparison and for the upper. I

[REBOL] Re: [date date! month month-bounds] MONTH-BOUNDS func design

2008-01-30 Thread Gregg Irwin
Hi Carl, CR But if it's only the day's we're considering, it makes more sense CR to ignore the time. someday/date = anotherday/date etc. (Thus CR getting around the need to use Anton's 1st-of-next-month.) Which brings us back to the original question: What should MONTH-BOUNDS return? Is

[REBOL] Re: [date date! month month-bounds] MONTH-BOUNDS func design

2008-01-30 Thread Gregg Irwin
Hi John, JB It cant be implemented with JB MONTH-BOUNDS/days to just get the days JB And JB MONTH_BOUND/days/time to get both? Sure, it could. If so, what does MONTH-BOUNDS with no refinements return? And what should the refinements be called? In your example, I might use /date rather than

[REBOL] Re: [date date! month month-bounds] MONTH-BOUNDS func design

2008-01-30 Thread Gregg Irwin
Hi John, JB I'm just trying to think of the use for it. That's why I asked on the list. I know what I use it for, but wanted other opinions. JB 3. how many days there are from today till the end of the month JB or end of range JB 4. how much time (days, hrs sec) there is till the end of the

[REBOL] Re: Rebol3 gone

2008-01-30 Thread Gregg Irwin
Hi Graham, GC So, there is a world wide failure? It appears so. -- Gregg -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.

[REBOL] Re: How to change an existing button's colour

2008-01-30 Thread Gregg Irwin
Hi Bob, BW 1) Change the button colour to a pure red BW 2) Cut out the button disabling The color changing may be not what you want due to the effect block a the btn uses. The tricky part about messing with that, is that you need to know more about the internals. As an example, uncomment the

[REBOL] Re: Started to work here (was) Re: Re: Rebol3 gone

2008-01-30 Thread Gregg Irwin
Hi Petr, PK Hi, it just recently seems to work ... Samehere, but I can't get to one of my own worlds yet. Says it exists but is offline. I even restarted it on the server where it runs. -- Gregg -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as

[REBOL] Re: How to change an existing button's colour

2008-01-30 Thread Gregg Irwin
Hi Bob, BW Changing the text and font etc. of an existing button is very BW easy, so the fact that changing the colour is so difficult is BW rather inconsistent. I could never have worked it out myself. This is a known problem, and the designers are working hard to develop a system that is

[REBOL] Re: [date date! month month-bounds] MONTH-BOUNDS func design

2008-01-28 Thread Gregg Irwin
Hi Carl, CR I'd go for always... if leap-year? now [...] That's my inclination as well, though not how I first did it a long time ago. Starting today, what do you have to do to get a list of all dates in the current month? CR That's why days-in-month is needed. It doesn't explain why you CR

[REBOL] Re: Limited Core Features

2008-01-09 Thread Gregg Irwin
Hi Kaveh, A lot of people feel the way you do. The hard part is, how does RT make money from REBOL if they give everything away for free? It's an ongoing discussion. -- Gregg -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.

[REBOL] Re: RebGUI or GLayout

2007-12-21 Thread Gregg Irwin
Hi Jean-François, JFA Has anybody done a columnar file browser (like in OS X) in VID, JFA RebGui or Glayout that they would be wiling to share ? I haven't done one in RebGUI or Glayout, but I did something like it a long time ago in VID. It's an object browser, for the REBOL system, not a file

[REBOL] Re: Personal Programming and Rebol Promotion

2007-12-17 Thread Gregg Irwin
Excellent post Nick, and some great follow-up messages as well. Like you, I think REBOL can be used by most anyone who has a need, and the interest to learn how to control their computer. I wouldn't say that's the average user, but it goes beyond programmers. Heck, I only got into programming

[REBOL] Re: Interesting Tech Developments

2007-12-16 Thread Gregg Irwin
Hi Ed, Amazon is cranking out the services fast and furiously. I'm not so sure about the Google chart API though. I understand the desire/need for brevity, but who wants to read and write stuff like this? chf=c,lg,45,ff,0,76A4FB,0.75|bg,s,EFEFEF Thanks for the links. -- Gregg -- To

[REBOL] Re: Interesting Tech Developments

2007-12-16 Thread Gregg Irwin
Hi Guys, PK our best friend dialect maybe? :-) Of course that was the first thing that crossed my mind too. My comment was aimed more at them, and why didn't they design something friendlier to begin with. -- Gregg -- To unsubscribe from the list, just send an email to lists at rebol.com

[REBOL] Re: Interesting Tech Developments

2007-12-16 Thread Gregg Irwin
Hi Ed, EOC Seems pretty simple to me-- it's very quick to get basic charts EOC out of the API very quickly. EOC Is there a friendlier alternative out there? :^) What I'm trying to say is that this is fairly human-hostile: cht=p3chd=s:Uf9achs=250x100chl=REBOL|Python|Perl|Ruby Even compared

[REBOL] Re: RebGUI or GLayout

2007-12-15 Thread Gregg Irwin
Petr, Try to keep things objective, and be fair. Those who deliver, and deliver well, are the exception, not the rule. Ashley, Graham, Doc, Henrik, Dirk Weyand and some others inspire me by setting a high standard. Max has contributed a lot to the community, even if his stuff hasn't gained the

[REBOL] Re: Updating a drop list

2007-12-11 Thread Gregg Irwin
Hi Alan, A I tried your example and it does not work for me. I had tried /list-data but A to no avail. When I probe sel/list-data I see it is updated with the change A but it will not display in the drop-down. What version of View and what OS? I tested what I sent on 1.3.2 under XP. -- Gregg

[REBOL] Re: Updating a drop list

2007-12-11 Thread Gregg Irwin
A Here is problem with rebol...undocumented features. It's not just that, but lack of standard interfaces to styles. The face accessors helped a lot when they were added, but it doesn't cover many other details you need to know when working with styles. A How do I probe the source again?

[REBOL] [editor] REBOL editor (was: Updated Syntax Highlighting for UltraEdit)

2007-12-09 Thread Gregg Irwin
I've always thought that we were 90% of the way there, since emacs was built on a Lisp engine that they had to write first. Cal Dixon wrote a console mode emacs engine, and James Marsden did some really cool stuff with View. I think it's doable, and I want a full REBOL environment but, to me,

[REBOL] Re: The bug is here again

2007-12-08 Thread Gregg Irwin
Hi Giuseppe, GC Now the problem seems elsewere, mayber nested in the Recycle GC Functions, parsing or blocks. Could please someone help me finding GC this hole ? It's hard to help without seeing the code. -- Gregg -- To unsubscribe from the list, just send an email to lists at rebol.com

[REBOL] Re: What's your favorite tool for Rebol coding under MacOSX ?

2007-11-29 Thread Gregg Irwin
JFA And now there is the E text editor for Windows that uses Textmate JFA bundles: http://e-texteditor.com/ This could be great, but it doesn't seem to like my REBOL bundle, brought over from the Mac. :( -- Gregg -- To unsubscribe from the list, just send an email to lists at rebol.com with

[REBOL] Re: What's your favorite tool for Rebol coding under MacOSX ?

2007-11-29 Thread Gregg Irwin
Hi Ged, GB Do you have cygwin installed? Yes. At first it didn't show up at all, then it was in the bundle list with no name, and missing the unsupported bundle bits (like templates), then E crashed a couple times as I tinkered with the bundle stuff, then it was gone again. I'll tinker more

[REBOL] Re: Fast transformation?

2007-11-27 Thread Gregg Irwin
Hi Kai, KP What is a good way to transform blocks like KP [ [ Bill 50 ] [ Jane 45 ]] KP to KP [ Bill 50 Jane 45 ] flatten: func [blk [block!] /local res rule value] [ res: copy[] rule: [some [into rule | set value skip (append res value)]] parse blk rule

[REBOL] Re: Fast transformation?

2007-11-27 Thread Gregg Irwin
Hi Tom, [ [ Bill 50 ] [ Jane 45 ]] t flat: to block! form nested-blocks That won't preserve the data though; it can change things. -- Gregg -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.

[REBOL] Re: AltMe Rebol world

2007-11-23 Thread Gregg Irwin
Hi Giuseppe, GC I am new to AltMe and I want to connect to the rebol world. Which is the GC world name and who can provide me an username and password ? I'll set up an account for you. -- Gregg -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as

[REBOL] Re: Error handling problems revisited

2007-11-15 Thread Gregg Irwin
Hi Kai, KP disarm mysql-error mysql-error: disarm mysql-error DISARM doesn't disarm in place. -- Gregg -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.

[REBOL] Re: What's your favorite tool for Rebol coding under MacOSX ?

2007-11-15 Thread Gregg Irwin
Hi Karim, KEF Is somebody already made a Textmate bundle for Rebol ? Yes! Will Arp did one, and Chris Ross-Gill added to it (or the other way around, can't remember). I haven't been able to make the switch yet, but may in the near future. I tinkered a bit with extending the bundle the others

[REBOL] Re: What's your favorite tool for Rebol coding under MacOSX ?

2007-11-15 Thread Gregg Irwin
Hi Ged, GB Any idea where we can get the bundle from? If Chris or Will don't jump in, I'll see if I can find their links. I could email you mine as well. I don't know how, or if, people want to collaborate on it, but I'm happy to host it on my site, so it's readily available. I'm just short of

[REBOL] Re: REBOL Pipe

2007-11-12 Thread Gregg Irwin
Hi Paul, PB I have recently created a REBOL Pipe at Yahoo Pipes. Cool! Thanks for posting. -- Gregg -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.

[REBOL] Re: Opening a new blog about Rebol?

2007-11-07 Thread Gregg Irwin
Hi Alessandro, I don't know if another site is needed, just provide an English version you can get to from the Italian one. -- Gregg -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.

[REBOL] Re: New competition: do you accept the challenge?! :-)

2007-11-07 Thread Gregg Irwin
AM This is another point-of-view: istead implementing code in java and copy AM it in Rebol, I will get original code in Rebol (so it should be optimized AM for it) and I'll try to convert it in Java. I think this brings up an important point. Does a language allow you to think in ways that let

[REBOL] Re: callbacks

2007-11-01 Thread Gregg Irwin
Hi Max, I did something similar a few years ago. Not callback related, but filling a struct with data allocated by an API (IIRC). get-dereferenced-data: func [ {Given a pointer to memory, copy the target data into a REBOL struct.} pointer [struct!] LPINT structure whose

[REBOL] Re: Choice limitations

2007-10-24 Thread Gregg Irwin
MOA (hawaii? alaska?) Washington D.C. is a common addition, and sometimes Guam and Puerto Rico. -- Gregg -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.

[REBOL] Re: Choice limitations

2007-10-23 Thread Gregg Irwin
Hi Kai, KP I just tried to use a choice populated with the American states - it= KP displays just a fraction of KP them and there does not seem to be way to get at the undisplayed ones. KP Is there a workaround for this? Use the DROP-DOWN style instead. -- Gregg -- To unsubscribe from the

[REBOL] Re: optimization?

2007-09-29 Thread Gregg Irwin
Hi Kai, How about this? (uses my COLLECT function, easy to work around though) day-names: func [date [date!] /local days] [ days: copy/deep system/locale/days forall days [clear at days/1 4] date/day: 1 collect name [ until [ name: pick days date/weekday

[REBOL] Re: [algorithm] Algorithm challenge: selecting a range from multiple blocks

2007-09-29 Thread Gregg Irwin
Hi Sunanda, S Gregg's code sadly tripped over a couple of boundary conditions S (as he'd hinted it might) What tripped it up? (not that I'm surprised it tripped. :) -- Gregg -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.

[REBOL] Re: Fast way to remove all non-numerical chars from a string

2007-09-24 Thread Gregg Irwin
Hi Kai, KP As you likely have guessed, I asked because I need to re-format KP phone numbers. Here is some very old code I remembered I had here. Use what you can. It was designed for interactive UI use, checking and reformatting numbers as users entered them, hence the object support; not

[REBOL] Re: Fast way to remove all non-numerical chars from a string

2007-09-23 Thread Gregg Irwin
loop 1'000'000 [parse/all (250) 764-0929[some rule]] Keep in mind that you're acting on the same string every time here. If all the numbers are formatted exactly the same, hardcoding the rules might be fastest, e.g. remove skip remove/part skip remove s 3 2 3 But only Kai can say how

[REBOL] Re: Rebol SDK vs Command

2007-09-14 Thread Gregg Irwin
Hi Alessandro, I need to create a big rebol app, and I wanted to use SDK (even for distribution strategies). But I noticed that only Command version (maybe even old!) supports SSL over HTTP. How can I do to use SDK features + Command (and distributing packaged apps, like EXE)? The

[REBOL] Re: info abuse?

2007-08-27 Thread Gregg Irwin
I needed a user-readonly 'area in one of my windows for logging progress= info so I just resized an 'info to hold about 50 lines and went with that. When I try to clear its text, all lines but the first line get cleared and= the first character of that line is replaced by some

[REBOL] Re: Just two ways to the same place?

2007-08-27 Thread Gregg Irwin
Is there any difference between set 'some-word func [ .. and some-word: func[ . If you do both of those inside a context, the first will set the word in the global context; the second will set it inside the context. Using 'set in a context is an easy way to export

[REBOL] Re: convert money values to integer?

2007-08-26 Thread Gregg Irwin
Hi Tim, TJ Well, I just learned something new! TJ On a related note, look here: t: now/date TJ == 26-Aug-2007 t/1 TJ == 2007 t/2 TJ == 8 t/3 TJ == 26 TJ ;; but the path referencing is counter-intuitive TJ ;; (to me anyway) make date! [2007 4 16] == 16-Apr-2007 -- Gregg -- To

[REBOL] Re: Setting rotary?

2007-08-23 Thread Gregg Irwin
Hi Kai, Sorry to be so slow to respond. In addition to Anton's suggestion, if you're using a release with face accessors, set-face will do it. view layout [ r: rotary data [A B C] btn set to B [set-face r B] ] -- Gregg -- To unsubscribe from the list, just send an

[REBOL] Re: Set on path values

2007-08-12 Thread Gregg Irwin
Hi Rudolf, RWM Does anyone have a suggestion for a one-argument function that will do RWM [suit-size/:hand/:suit: suit-size/:hand/:suit + 1] just like incr cnt = RWM would do [cnt: cnt + 1]? Something like this? incr: func ['val] [do reduce [to set-path! :val 1 + do val]] -- Gregg -- To

[REBOL] Re: Reverse select?

2007-08-07 Thread Gregg Irwin
Hi Kai, KP states: [ AZ Arizona WY Wyoming FL Florida ] KP How can I 'reverse select', i.e. find WY given Wyoming ? states: [ AZ Arizona WY Wyoming FL Florida ] == [AZ Arizona WY Wyoming FL Florida] select states WY == Wyoming select reverse states Wyoming == WY Obviously that only works

[REBOL] Re: Wildman project - PS3?

2007-08-06 Thread Gregg Irwin
Hi Greg, gsina The Cell processor seems ideally suited to a small script gsina interpreter like REBOL. I thought the same thing when I read an ACM article on it not too long ago. -- Gregg -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the

  1   2   3   >