I like using input/end, in order to easily type data,
Code:
clear input float var1 1 2 3 4 5 end
Code:
set obs 6 replace var1 = 6 in 6
Code:
cap program drop toy
program define toy, nclass
clear
input float var2
1
2
3
4
5
end
list
end
. end
command end is unrecognized
r(199);
end of do-file
r(199);
0 Response to Input+end inside a Program
Post a Comment