Here is another example using while and cfscript.

<cfscript>

reader = createObject("java",
"java.io.BufferedReader").init(createObject("java",
"java.io.FileReader").init("C:\destroyChildAt.txt"));
 line = "";

        while(isDefined("line")){

                writeOutput(line & "<br />");

writeOutput("---------------------------------------------------<br />");
                line = reader.readLine();

                }
                reader.close();
</cfscript>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:249870
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to