On Nov 13, 2007 3:09 PM, Colin Allinson <[EMAIL PROTECTED]> wrote:

> I have a file where each record contains 2 words - a key and a value.
>
> What I want to do is to load a stem indexed on the key. Ideally, the rest
> of the stem would have a default value. ie

Something like this?

stub. = 'Blank'
'PIPE (end \ name CGA.EXEC:3)',
   '\ literal 23 Yellow, 46 Red',
   '| split ,',
   '| spec ,/STUB., 1 w1 n ,/, n w2 n',
   '| cons',
   '| varload direct nocomment'

do i = 0 to 69 by 23
  say right(i,3) stub.i
end

Master Plumber's Conduct Guidelines require that I ask you why you
want stuff in Rexx variables at all. What is the real problem you want
to solve, and could we maybe help you solve that one instead of
tempting you into Rexx coding ;-)

Rob

Reply via email to