[Info-vax] Quoting question
Jan-Erik Soderholm
jan-erik.soderholm at telia.com
Wed Jan 21 11:54:14 EST 2015
JF Mezei skrev den 2015-01-21 17:32:
>
> 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 ?
>
$ CHOCOLATE = "good"
$ CHERRY = "red"
$!
$ flavour = "CHOCOLATE"
$ write sys$output "''flavour' is ''&flavour'"
CHOCOLATE is good
$
$ flavour = "CHERRY"
$ write sys$output "''flavour' is ''&flavour'"
CHERRY is red
I have not been able to solve the upper/lower case isssue...
Jan-Erik.
More information about the Info-vax
mailing list