[REBOL] Re: [REBOL][Debug] How best to debug REBOL?

2004-05-03 Thread Coussement Christophe
Hi Tony, There are several classical ways of debugging REBOL, but -not talking about 'trace- they are all 'print-like: take a look at ?, ?? and probe. ? ?? USAGE: ?? 'name DESCRIPTION: Prints a variable name followed by its molded value. (for debugging) ?? is a function value.

[REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000

2004-05-03 Thread Maxim Olivier-Adlhoch
what you are looking for is: REBOL_HOME I *THINK* Rebol puts more importance to this than system home. HTH! -MAx - Original Message - From: Arie van Wingerden [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, May 02, 2004 10:30 AM Subject: [REBOL] [The Gimp] clashes with REBOL

[REBOL] Re: probe/dump-binary survey

2004-05-03 Thread Maxim Olivier-Adlhoch
nope, no go...just like probe on an object! does not do a dump-obj. especially since we often insert a probe within a line to get status at that moment, like just before an assignment... dump-bin would break that behaviour. dump-obj as a function is cool though, so it should be included

[REBOL] Re: probe/dump-binary survey

2004-05-03 Thread Gregg Irwin
Hi Max, MOA especially since we often insert a probe within a line to get MOA status at that moment, like just before an assignment... dump-bin MOA would break that behaviour. It shouldn't, unless I'm missing something. What it displays and what it returns are two different things. MOA that

[REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000

2004-05-03 Thread Arie van Wingerden
Hi Max, some time ago I had problems with my user.r file not being used. Than I got some advice in the list to use the HOME environment variable. That variable is documented in REBOL/Core User Guide Chapter 1.2. I'll now try REBOL_HOME. Where is it documented? Thanks! Met vriendelijke groet /

[REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000

2004-05-03 Thread Gabriele Santilli
Hi Arie, On Sunday, May 2, 2004, 4:30:41 PM, you wrote: AvW when I tried to install The Gimp on Windows 2000 I found out that there is a AvW clash with REBOL. AvW I've set the environment variable HOME to point to the REBOL/View AvW executable. I think you can use REBOL_HOME (or was it

[REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000

2004-05-03 Thread Maxim Olivier-Adlhoch
in the rebol docs... I use the old 2.3 pdf guide and its still the most feasible rebol source of info... I love the search capabilities... having things on html means you have to search throughout more than one page... not always very usefull... I wish the guide where put up to date, to core

[REBOL] Average of times

2004-05-03 Thread ML
I have a series of times which represents session durations of users. They are in the format dd:hh:mm What I want to figure out is how long the average session takes. Do I have to parse out the days and hours into minutes and then work out the average that way and then convert the result back

[REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000

2004-05-03 Thread Maxim Olivier-Adlhoch
-Original Message- From: Gabriele Santilli [mailto:[EMAIL PROTECTED] Sent: Monday, May 03, 2004 9:21 AM To: Arie van Wingerden Subject: [REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000 I think you can use REBOL_HOME (or was it REBOL-HOME?) for REBOL. Anyway you

[REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000

2004-05-03 Thread Arie van Wingerden
Hi Max and Gabriele, thanks for your help! In the REBOL Language FAQ I found a reference to REBOL_HOME, but I couldn't find references anywhere else! There are however references to the HOME variable in de Core Users Guide. As you say Gabriele, indeed I found a variable HOME in the registry,

[REBOL] Re: Average of times

2004-05-03 Thread Anton Rolls
Let b be a block containing your session times. b: [1:00:21 2:00 3:30] == [1:00:21 2:00 3:30] t: 0:0 ; total == 0:00 foreach time b [t: t + time] == 6:30:21 t / length? b == 2:10:07 Anton. I have a series of times which represents session durations of users. They are in the format

[REBOL] Re: probe/dump-binary survey

2004-05-03 Thread Andreas Bolka
Monday, May 3, 2004, 11:54:45 AM, Gregg wrote: This is interesting. I've always thought of PROBE as show me the value where the inlining aspect was the big benefit, but that it didn't add as much as it could for certain types of values (e.g. binary! and bitset!). that's interesting indeed

[REBOL] Re: dump-binary

2004-05-03 Thread Didec
Re: dump-binary Nice job Jaime. I like it. Maybe, it would be nice to have a refinment to make the function interactive. Almost to print by page/line waiting for key to continue (like the 'more command does in many shell). But may be more than that, allowing to go backward/forward... Or simply

[REBOL] Re: probe/dump-binary survey

2004-05-03 Thread Anton Rolls
I was thinking the dump-bin output could be made loadable again, therefore achieving orthogonality: what can be molded can also be loaded. The output could be changed like so: dump-bin to-binary abc make binary! #{6162 63} ; : abc dump-bin to-binary all the king's horses and all the

[REBOL] Re: probe/dump-binary survey

2004-05-03 Thread Anton Rolls
Gregg, I'd like probe to remain the simple function that it is. Something beautiful about it. (I think, because there is nowhere for bugs to hide in there..:) Anton. Hi Anton, AR Please consider that molded code should be able to be AR loaded back by rebol. So I say no. AR I have no real

[REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000

2004-05-03 Thread Anton Rolls
I am using latest View beta 1.2.46 without using a HOME variable. (I see it in the registry though, don't know how old it is). I have my rebview1246031.exe and all the other versions in the same directory, which works just fine. The user.r is executed no problem. You are right, though, if a home

[REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000

2004-05-03 Thread Maxim Olivier-Adlhoch
but did you put a user.r file in the REBOL_HOME path? it might help you if you put the following in ALL your user.r files: probe what-dir this will at least tell you WHICH user.r is being run... also remember that if you create an icon and give it a startup directory, it will be looking for

[REBOL] Re: dump-binary

2004-05-03 Thread Hallvard Ystad
Dixit Didec (16.49 03.05.2004): Maybe, it would be nice to have a refinment to make the function interactive. Almost to print by page/line waiting for key to continue (like the 'more command does in many shell). But may be more than that, allowing to go backward/forward... Hm. Sounds more like

[REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000

2004-05-03 Thread Arie van Wingerden
Hi Max, when I first checked the Core Users Guide I looked at http://www.rebol.com/docs/core23/rebolcore-2.html#section-2.10 where only an env. var HOME is introduced. Like you, however, I also have my printed copy of that manual and there in section 2.10 HOME is exchanged with REBOL_HOME in

[REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000

2004-05-03 Thread Arie van Wingerden
Hi Max, in fact I only have 1 user.r file in the correct dir and I do display what-dir from it. It does display correct when I use the HOME variable but right after switching to REBOL_HOME (with exactly the same contents as HOME had) there's no display, so user.r was not loaded. I don't know

[REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000

2004-05-03 Thread Maxim Olivier-Adlhoch
strange indeed... :-( -MAx --- You can either be part of the problem or part of the solution, but in the end, being part of the problem is much more fun. -Original Message- From: Arie van Wingerden [mailto:[EMAIL PROTECTED] Sent: Monday, May 03, 2004 1:15 PM To: [EMAIL

[REBOL] Re: Average of times

2004-05-03 Thread SunandaDH
Anton: Let b be a block containing your session times. That works if the durations are hours:minutes:seconds -- you are using REBOL's standard date arithmetic. But, if I read Stuart's question right, he has days:hours:minutes. They don't add right in the same way: 1:12:00 + 1:12:00 should

[REBOL] Re: Average of times

2004-05-03 Thread Gregg Irwin
Hi Stuart, M I have a series of times which represents session durations of users. M They are in the format dd:hh:mm M What I want to figure out is how long the average session takes. This is a good example of something that could be done many different ways in REBOL (like a lot of things :).

[REBOL] Re: demo of a tree interface

2004-05-03 Thread Maxim Olivier-Adlhoch
very neat ! -MAx --- You can either be part of the problem or part of the solution, but in the end, being part of the problem is much more fun. -Original Message- From: Alain Goyé [mailto:[EMAIL PROTECTED] Sent: Monday, May 03, 2004 4:27 PM To: [EMAIL PROTECTED] Subject: [REBOL]

[REBOL] demo of a tree interface

2004-05-03 Thread Alain Goyé
Hi all, I made this little demo of a tree interface similar to TreePad (TM) - in case it interests someone: http://alain.goye.free.fr/rebol/NoteReb.r Please send me any comments you may have. Alain G. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe

[REBOL] Re: probe/dump-binary survey

2004-05-03 Thread Gregg Irwin
Hi Anton, Andreas, et al AR I'd like probe to remain the simple function AR that it is. Something beautiful about it. I agree that simple is beautiful; if we can simplify all the code that uses this functionality, even at the expense of a little added complexity inside, that's a gain IMO. Of

[REBOL] Re: probe/dump-binary survey

2004-05-03 Thread Volker Nitsch
On Montag, 3. Mai 2004 23:23, Gregg Irwin wrote: Hi Anton, Andreas, et al Any other candidate host functions that map to this functionality? GI What about a refinement on PROBE that makes it produce DUMPed GI output? probe/dump - longer to type. when i debug i want it short. even shorter

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

2004-05-03 Thread Brett Handley
NEW DOWNLOADER AND INSTALLER BETTER PACKAGE STRUCTURE Great work guys! I think these are a good solid steps forward for a REBOL platform. I have a few minor comments on the repack interface: *I like the the display of file sizes. How about some totals eg total package size and amount to

[REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000

2004-05-03 Thread Ladislav Me
Hi Arie, in fact I only have 1 user.r file in the correct dir and I do display what-dir from it. It does display correct when I use the HOME variable but right after switching to REBOL_HOME (with exactly the same contents as HOME had) there's no display, so user.r was not loaded. I am using