<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-2022-jp">
<META content="MSHTML 6.00.2800.1498" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="MS UI Gothic" size=2>$B$O$8$a$^$7$F!"2#;3$H?=$7$^$9!#(B</FONT></DIV>
<DIV><FONT face="MS UI Gothic" size=2>$B2<5-$N$h$&$J%9%/%j%W%H!'(Bsample.rb$B$r:n@.$7$^$7$?!#(B</FONT></DIV>
<DIV><FONT face="MS UI Gothic" size=2>-------------------</FONT></DIV>
<DIV><FONT face="MS UI Gothic" size=2>hile line = DATA.gets 
do<BR>&nbsp;&nbsp;&nbsp; print 
line<BR>end<BR>__END__<BR>test_data1<BR>test_data2</FONT></DIV>
<DIV><FONT face="MS UI Gothic" size=2>-------------------</FONT></DIV>
<DIV><FONT face="MS UI Gothic" size=2>$B$3$N%9%/%j%W%H$r(Bruby$B$+$i<B9T$9$k$H(B</FONT></DIV>
<DIV><FONT face="MS UI Gothic" size=2>test_data1</FONT></DIV>
<DIV><FONT face="MS UI Gothic" size=2>
<DIV><FONT face="MS UI Gothic" size=2>test_data2</FONT></DIV>
<DIV>$B$HI=<($5$l$^$9!#!J@5>o$G$"$j!"4|BT$7$?7k2L$G$9!K(B</DIV>
<DIV>$B$H$3$m$,$3$l$r!"(B</DIV>
<DIV>exerb$B$G<B9T7A<0$KJQ49$7$F<B9T$9$k$H(B</DIV>
<DIV>sample.rb:1: uninitialized constant DATA (NameError)</DIV>
<DIV>$B$N%(%i!<%a%C%;!<%8$,I=<($5$l!"4|BT$7$?7k2L$,F@$i$($^$;$s!#(B</DIV>
<DIV>$B4|BT$7$?7k2L$rF@$k$?$a$K$O$I$&$9$l$PNI$$$G$7$g$&$+!#(B</DIV>
<DIV>windows-2000</DIV>
<DIV>ruby1.8.4</DIV>
<DIV>exerb3.3.1 $B$G<B9T$7$^$7$?!#(B</DIV>
<DIV>&nbsp;</DIV></FONT></DIV></BODY></HTML>