SCOUG-Programming Mailing List Archives
Return to [ 17 |
November |
1998 ]
<< Previous Message <<
>> Next Message >>
Content Type: text/plain
dallasii@kincyb.com wrote:
>
> On further reflection (a muffin at a local doughnut shop),
> maybe it would be better to replace the
> stem variable with a queue altogether - download it in the
> procedures to a stem variable for messy operations on individual
> elements, then requeue them -
> do you really need to have random access to the elements
> most of the time? Maybe do away with my 'Global stack' idea,
> and have the subroutines operate on some dedicated queues whose
> names are passed to them.
Interesting idea. I'm reading several small (200 lines or so) text
files into the stem variables and then looping through them repeatedly.
Some of the text files are "master" HTML files which contain tags where
I insert links into a database (I generate one HTML page for every item
in the database). One of the files is a "parameter" file that specifies
things like fonts to be used in the HTML (there's a default section plus
individual sections for every item category in the database). I don't
need random access; I only have to read the files sequentially, albeit
repeatedly.
Where do you get these ideas? What was in that muffin?
> Actually I've been learning a lot from all this.
I haven't used REXX queues; guess I'll have to take a look at them. The
Warp 4 online help for REXX covers QUEUE, QUEUED and RXQUEUE, and from
those three pages I deduce that I'd have to PUSH a line back into the
queue every time I PULLed it out, and use some kind of a marker to
indicate when I was at the start/end of my data (sort of a circular
buffer without random access or ability to start at the beginning).
Eat another muffin and figure out how I can do this. :)
- Peter Skye
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-programming".
For problems, contact the list owner at
"rollin@scoug.com".
=====================================================
<< Previous Message <<
>> Next Message >>
Return to [ 17 |
November |
1998 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.
|