I think what jackierobs12 had in mind was to assign the two lines to two already defined variables (i.e., 'var1' and 'var2' from the OP) rather than creating new global variable symbols based on input data, which I agree is a Bad Idea.
Give a man a fish: <%-(-(-(-<
In reply to Re^2: Multi line file to variables
by AnomalousMonk
in thread Multi line file to variables
by jackierobs12
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |