HP3000-L Archives

December 2000, Week 1

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:
"Emerson, Tom # El Monte" <[log in to unmask]>
Reply To:
Emerson, Tom # El Monte
Date:
Tue, 5 Dec 2000 17:07:28 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (27 lines)
> -----Original Message-----
> From: Ronald R Horner [mailto:[log in to unmask]]
>
> By the way, it may not run at all because the variables are
> not covered with {}.

Actually, that doesn't matter at this point -- in the context of "an
expression", the curly-braces are NOT needed to resolve the value of a
STREAMX variable.  In other words, you need something like this:

::assign flag "Y"
::if flag="Y"
::   echo flag is !flag
::   echo flag is {flag} is another way of saying the same thing
!comment at submission time, flag was set to "{flag}"
::endif

The key is deciding what an "expression" is -- there are three possibilities

   if <expression>

   echo ![<expression>]

[and for streamx in particular]

   !comment an actual jobstream line with an {<expression>}

ATOM RSS1 RSS2