[Info-vax] Quoting question

Bob Gezelter gezelter at rlgsc.com
Wed Jan 21 11:59:24 EST 2015


On Wednesday, January 21, 2015 at 11:32:23 AM UTC-5, JF Mezei wrote:
> Say I have:
> 
> $chocolate = "good"
> $cherry = "red"
> $flavour = "chocolate"
> 
> is there a way to have
> 
> $write sys$output "''flavour' is ?????????"
> 
> come out  as "chocolate is good"  ?
> 
> or would I have to do a substitution to a temporary variable first and
> use that temp variable in the write sys$output command ?

JF,

I am in the field, and blocked from ssh access, so the following is from memory.

$ WRITE SYS$OUTPUT "''flavour' is ''chocolate'" 

No intermediate variable is needed (although sometimes it increases readability).

- Bob Gezelter, http://www.rlgsc.com



More information about the Info-vax mailing list