Re: [Oorexx-devel] New Feature Questions

2009-05-09 Thread Gil Barmwater
OK, thanks, I'll see about working that info into my pitch. Mark Miesfeld wrote: > On Sat, May 9, 2009 at 9:09 AM, Gil Barmwater wrote: > > >>Where is the sockets.cls, in the samples? > > > Oh, and for your original question, how do you make use of them. You > would use a ::requires 'socket.

Re: [Oorexx-devel] Anyone using a shared source tree between Linux and Windows ?

2009-05-09 Thread Rick McGuire
I tried doing that once, but the attempt lasted for maybe 15 minutesI ran into the same linend issues you have and abandoned the attempt. Rick On Sat, May 9, 2009 at 12:52 PM, Jean-Louis Faucher wrote: > Hello, > My main environment is WinXP, and I run occasionally PuppyLinux in > VirtualBox

[Oorexx-devel] Anyone using a shared source tree between Linux and Windows ?

2009-05-09 Thread Jean-Louis Faucher
Hello, My main environment is WinXP, and I run occasionally PuppyLinux in VirtualBox when I want to compile under Linux. For now, I have two separate source trees. I can mount the WinXP source tree under Linux, but can't build because the CR-LF brings troubles (starting with bootstrap :-). Maybe it

Re: [Oorexx-devel] New Feature Questions

2009-05-09 Thread Mark Miesfeld
On Sat, May 9, 2009 at 9:09 AM, Gil Barmwater wrote: > Where is the sockets.cls, in the samples? Oh, and for your original question, how do you make use of them. You would use a ::requires 'socket.cls' I think, but didn't check, that the scclient.rex, scserver.rex, etc., samples use the class.

Re: [Oorexx-devel] New Feature Questions

2009-05-09 Thread Mark Miesfeld
On Sat, May 9, 2009 at 9:09 AM, Gil Barmwater wrote: > Where is the sockets.cls, in the samples? In the distribution, it is in the root of the install directory. Alongside ooDialog.cls, rxftp.cls, etc.. In the source tree itself it is in extensions/rxsock. -- Mark Miesfeld

Re: [Oorexx-devel] New Feature Questions

2009-05-09 Thread Jean-Louis Faucher
Gil, Mark, You're right, I made a copy of the sentence from http://www.oorexx.org/oorexx4.0.html without checking my sources :-) Jean-Louis -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your produc

Re: [Oorexx-devel] New Feature Questions

2009-05-09 Thread Gil Barmwater
Where is the sockets.cls, in the samples? Mark Miesfeld wrote: > On Sat, May 9, 2009 at 7:47 AM, Gil Barmwater wrote: > > >>Should I open a doc. bug tracker item for the ReadMe or is the intent to >>actually include them somewhere? > > > Gil, as far as I can see the two classes, MIME and SMTP

Re: [Oorexx-devel] New Feature Questions

2009-05-09 Thread Mark Miesfeld
On Sat, May 9, 2009 at 7:47 AM, Gil Barmwater wrote: > Should I open a doc. bug tracker item for the ReadMe or is the intent to > actually include them somewhere? Gil, as far as I can see the two classes, MIME and SMTP, are just mentioned in one sentence. Along with the sockets.cls. The socket

Re: [Oorexx-devel] New Feature Questions

2009-05-09 Thread Rick McGuire
Ok, I'll concede you that one! That's definitely a doc bug. "There are three kinds of people in the world...those who can count and those who can't" :-) I'll just go ahead and fix this one nowdon't bother with a doc bug. Rick On Sat, May 9, 2009 at 10:54 AM, Gil Barmwater wrote: > OK, n

Re: [Oorexx-devel] New Feature Questions

2009-05-09 Thread Gil Barmwater
OK, now I think I understand what the length applies to - the substr of the target that is being replaced, not the length of the replacing substr. (That doesn't read too well does it?) But the 3 chars of 'abcdef' starting at 3 is 'abcdef'~substr(3,3) or 'cde', right? So, if we replace that wi

Re: [Oorexx-devel] New Feature Questions

2009-05-09 Thread Gil Barmwater
Should I open a doc. bug tracker item for the ReadMe or is the intent to actually include them somewhere? I'll send you and Rick what I have shortly and thanks! Mark Miesfeld wrote: > On Sat, May 9, 2009 at 5:11 AM, Rick McGuire wrote: > >>On Sat, May 9, 2009 at 7:36 AM, Gil Barmwater wrote:

Re: [Oorexx-devel] New Feature Questions

2009-05-09 Thread Rick McGuire
replaceAt() does a replacement of one substring with another string. Thus "abcdef"~replaceAt(" ",3, 3) -> "ab ef" is correct. It replaces the 3 characters beginning at postion 3 with the string " ". The resulting string is shorter than the original string. In the second example, the replaceme

Re: [Oorexx-devel] New Feature Questions

2009-05-09 Thread Mark Miesfeld
On Sat, May 9, 2009 at 5:11 AM, Rick McGuire wrote: > On Sat, May 9, 2009 at 7:36 AM, Gil Barmwater wrote: >> 4) How are the new utility classes for sockets, MIME and SMTP provided, >> i.e. where are they in the distribution, and what does one need to do to >> make use of them? > > David will ne

Re: [Oorexx-devel] New Feature Questions

2009-05-09 Thread Gil Barmwater
OK, thanks. Still not clear about these examples for replaceAt: "abcdef"~replaceAt(" ",3, 3) -> "ab ef" "abc"~replaceAt("123",5,6,"+") -> "abc+123" I would think that the first would give "ab f", i.e. 'cde' replaced with 3 blanks. And the second I don't get at all :-( Rick McGuire wrote: > O

Re: [Oorexx-devel] Question ad callback (Re: A few questions ad ...

2009-05-09 Thread Rick McGuire
There is no such concept of "packages avaiable to a rexx object". Package visibility refers to code instances, not the objecs to which code happens to be attached in the form of methos. An individual object may have methods that are defined with many different levels of visibility. Again, this is

[Oorexx-devel] Question ad callback (Re: A few questions ad ...

2009-05-09 Thread Rony G. Flatscher
Thanks for clarifiying. In my current state of the code for BSF4Rexx for the new APIs it becomes possible to refer to ooRexx objects from Java. To do that a RexxProxy is defined at the Java side referring to a ooRexx object, which is registered (and locked) at the native layer. There are two fund

Re: [Oorexx-devel] A few questions ad ...

2009-05-09 Thread Rick McGuire
On Sat, May 9, 2009 at 8:47 AM, Rony G. Flatscher wrote: > > Rick McGuire wrote: > ... cut ... > > Libraries are NOT the same as ooRexx files loaded via ::requires. > They don't have the concept of > "public_routines" and "public_classes" Libraries don't even define > "classes", only the code bac

Re: [Oorexx-devel] A few questions ad ...

2009-05-09 Thread Rony G. Flatscher
Rick McGuire wrote: ... cut ... > Libraries are NOT the same as ooRexx files loaded via ::requires. > They don't have the concept of > "public_routines" and "public_classes" Libraries don't even define > "classes", only the code backing methods > that can be used in class definitions. A ::require

Re: [Oorexx-devel] New Feature Questions

2009-05-09 Thread Rick McGuire
On Sat, May 9, 2009 at 7:36 AM, Gil Barmwater wrote: > Having almost completed my presntation on the new stuff in 4.0.0, I just > have four more questions. > > 1) The ReadMe says "The MutableBuffer class has been enhanced so that it > has most, if not all, of the methods of the String class."  Do

Re: [Oorexx-devel] A few questions ad libraries

2009-05-09 Thread Rick McGuire
On Sat, May 9, 2009 at 5:44 AM, Rony G. Flatscher wrote: > Given the following scenario: > > an interpreter instance is created with RexxCreateInterpreter(), loading a > native library "ABC" via the options argument, all loaded routines will be > visible from thereon to every program that gets cal

[Oorexx-devel] New Feature Questions

2009-05-09 Thread Gil Barmwater
Having almost completed my presntation on the new stuff in 4.0.0, I just have four more questions. 1) The ReadMe says "The MutableBuffer class has been enhanced so that it has most, if not all, of the methods of the String class." Do we know of any methods that are NOT in both or should it say

[Oorexx-devel] A few questions ad libraries

2009-05-09 Thread Rony G. Flatscher
Given the following scenario: 1. an interpreter instance is created with RexxCreateInterpreter(), loading a native library "ABC" via the options argument, all loaded routines will be visible from thereon to every program that gets called 2. using CallProgram() for some prog