|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Solution to Quick easy question
|
> real printf code:
>
> printf ("%-15s %-15s %-30s\n",
> $DCS_DB{"$i"}, $DB{"$i"}_NM, $DB{"$i"}_DIR);
>
Thanks Doug, your email put me in the right direction.
Here is the *new* and improved printf:
printf ("%-15s %-15s %-30s\n",
${"DCS\_DB$i"}, ${"DB$i\_NM"}, ${"DB$i\_DIR"});
Now it works. I am still a little confused on when to
use double quotes, single quotes and the curley
braces.
Thanks,
James
-
**Majordomo list services provided by PANIX <URL:http://www.panix.com>**
**To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**
|
|