|
An input statement incorrectly has $1 instead of $1.
Any insights on why this code goes into an infinite loop ?
data x;
input a $1 @@;
x+1; if x > 100 then stop; %* guard;
cards;
1
run;
$1. yields 80 rows (not sure why... linesize is 96)
data x;
input a $1. @@;
x+1; if x > 100 then stop; %* guard;
cards;
1
run;
and this yields but one row
data x;
length a $1;
input a @@;
x+1;
if x > 100 then stop;
cards;
1
run;
--
Richard A. DeVenezia
|