Re: [Ohrrpgce] A proposal for TextSlices

2009-04-12 Thread S'orlok Reaves
Not totally sure what you mean by having functions allow copy-by-reference. Something else/in addition to ref()? Basically, ref() does it all. I meant like... how in c++: void doX(int x) {} ...passes in a reference to x, without forcing the programmer to learn anything about pointers, and

Re: [Ohrrpgce] A proposal for TextSlices

2009-04-11 Thread Ralph Versteegen
2009/4/8 James Paige b...@hamsterrepublic.com: On Wed, Apr 08, 2009 at 02:32:59PM +1200, Ralph Versteegen wrote: 2009/4/8 James Paige b...@hamsterrepublic.com: Ah, of course! Once globals can hold strings this it would only make sense for ${G#} to be able to display strings I wonder if,

Re: [Ohrrpgce] A proposal for TextSlices

2009-04-11 Thread Ralph Versteegen
2009/4/9 David Gowers 00a...@gmail.com: On Wed, Apr 8, 2009 at 11:03 PM, S'orlok Reaves sorlok_rea...@yahoo.com wrote: An alternative to a copy() operator could be a ref() operator. Personally, I think a ref() operator is somewhat inconsistent. This is how I see it: 1) When I call

Re: [Ohrrpgce] A proposal for TextSlices

2009-04-08 Thread S'orlok Reaves
An alternative to a copy() operator could be a ref() operator. Personally, I think a ref() operator is somewhat inconsistent. This is how I see it: 1) When I call copy(), some work is done, and a copy of my string is MADE --it didn't exist before. 2) When I call ref(), what happens? Is a

Re: [Ohrrpgce] A proposal for TextSlices

2009-04-08 Thread David Gowers
On Wed, Apr 8, 2009 at 11:03 PM, S'orlok Reaves sorlok_rea...@yahoo.com wrote: An alternative to a copy() operator could be a ref() operator. Personally, I think a ref() operator is somewhat inconsistent. This is how I see it: 1) When I call copy(), some work is done, and a copy of my

Re: [Ohrrpgce] A proposal for TextSlices

2009-04-07 Thread Ralph Versteegen
2009/4/7 James Paige b...@hamsterrepublic.com: Here is what I would like to do regarding enabling TextSlices via plotscripting. Implement text slice commands:  create text slice  set text(sl, string ID) set text would be the only command I would implement right now for working with the

Re: [Ohrrpgce] A proposal for TextSlices

2009-04-07 Thread James Paige
On Wed, Apr 08, 2009 at 02:06:37AM +1200, Ralph Versteegen wrote: 2009/4/7 James Paige b...@hamsterrepublic.com: Here is what I would like to do regarding enabling TextSlices via plotscripting. Implement text slice commands:  create text slice  set text(sl, string ID) set text

Re: [Ohrrpgce] A proposal for TextSlices

2009-04-07 Thread Ralph Versteegen
2009/4/8 James Paige b...@hamsterrepublic.com: On Wed, Apr 08, 2009 at 02:06:37AM +1200, Ralph Versteegen wrote: 2009/4/7 James Paige b...@hamsterrepublic.com: Here is what I would like to do regarding enabling TextSlices via plotscripting. Implement text slice commands:  create text

Re: [Ohrrpgce] A proposal for TextSlices

2009-04-07 Thread Mike Caron
Ralph Versteegen wrote: 2009/4/8 James Paige b...@hamsterrepublic.com: On Wed, Apr 08, 2009 at 02:06:37AM +1200, Ralph Versteegen wrote: 2009/4/7 James Paige b...@hamsterrepublic.com: Here is what I would like to do regarding enabling TextSlices via plotscripting. Implement text slice

Re: [Ohrrpgce] A proposal for TextSlices

2009-04-07 Thread James Paige
On Tue, Apr 07, 2009 at 12:18:12PM -0400, Mike Caron wrote: Ralph Versteegen wrote: 2009/4/8 James Paige b...@hamsterrepublic.com: On Wed, Apr 08, 2009 at 02:06:37AM +1200, Ralph Versteegen wrote: 2009/4/7 James Paige b...@hamsterrepublic.com: Here is what I would like to do regarding

Re: [Ohrrpgce] A proposal for TextSlices

2009-04-07 Thread James Paige
On Wed, Apr 08, 2009 at 04:04:33AM +1200, Ralph Versteegen wrote: 2009/4/8 James Paige b...@hamsterrepublic.com: On Wed, Apr 08, 2009 at 02:06:37AM +1200, Ralph Versteegen wrote: 2009/4/7 James Paige b...@hamsterrepublic.com: Here is what I would like to do regarding enabling TextSlices

Re: [Ohrrpgce] A proposal for TextSlices

2009-04-07 Thread Ralph Versteegen
2009/4/8 James Paige b...@hamsterrepublic.com: On Wed, Apr 08, 2009 at 04:04:33AM +1200, Ralph Versteegen wrote: 2009/4/8 James Paige b...@hamsterrepublic.com: On Wed, Apr 08, 2009 at 02:06:37AM +1200, Ralph Versteegen wrote: 2009/4/7 James Paige b...@hamsterrepublic.com: Here is what I