HP3000-L Archives

May 2003, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Donna Garverick <[log in to unmask]>
Reply To:
Donna Garverick <[log in to unmask]>
Date:
Fri, 30 May 2003 13:17:45 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (43 lines)
"Schlosser, Robert J" wrote:

>         xword is documented in the 6.0 communicator

ahh....well so it is :-)  bob -- you can take the rest of the day
off.  tell your boss *donna* said so....they'll undoubtedly be
impressed :-)

> setvar x 'remote :node hello sesname,mgr/pass.account,group'
>
> setvar i 0
> setvar xx x
> while xx > ' ' and i < 10
>   setvar i i +1
>   setvar x!i xword(xx,' .,/')
> endwhile
> showvar x@

well....to answer my own question....  yes, you pass the new (and
seemingly replacement?) delimiters into x/word using quotes.  the
problem seems to be that the above isn't dynamic.  that is, the
'image' of 'xx' gets passed into the loop once (and is changed once
(because 'remote' will be removed)) but that's it.

the following does seem to work:  setvar x!i word(xx,' .,/',i)

curious....              - d

--
Donna Garverick     Sr. System Programmer
925-210-6631        [log in to unmask]

Come, my friends, 'Tis not too late to seek a newer world.
Tho' much is taken, much abides; and tho'
We are not now that strength which in old days
Moved earth and heaven, that which we are, we are.
"Ulysses", A. Tennyson

>>>MY opinions, not Longs Drug Stores'<<<

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2