finding file sizes

by "eric williams" <eric_alt(at)hotmail.com>

 Date:  Mon, 05 Jun 2000 22:33:40 PDT
 To:  hwg-languages(at)hwg.org
  todo: View Thread, Original
<html><DIV id=cdiv style="BACKGROUND-COLOR: seashell">
<P>&nbsp;
<P>&nbsp;
<P>This should be an easy one for you: I want to add the lines in <FONT color=darkorange>bold</FONT> to show file sizes from the array <STRONG>sizes </STRONG>which I need to add to </P>
<P>midis = new Array(Mcount);<BR>names = new Array(Mcount);<BR>sizes = new Array(Mcount);</P>
<P>but how do I get the file sizes into the array&nbsp;other than entering all 300+ by hand?</P>
<P>URL <A href="http://www.fortunecity.com/tinpan/verse/983/index.html#play">http://www.fortunecity.com/tinpan/verse/983/index.html#play</A></P><FONT color=#000000 face="Courier New" size=2>
<P>&nbsp;&lt;script&gt;<BR>&nbsp;&nbsp;&lt;!--hide<BR>&nbsp;&nbsp;&nbsp;document.write("&lt;center&gt;&lt;table bgcolor=#e8e8e8 border=3&gt;&lt;tr&gt;&lt;td bgcolor=#880000&gt;"+Mcount+"&nbsp; Songs&lt;/td&gt;&lt;td bgcolor=#880000&gt;Play file&lt;/td<STRONG>&gt;<FONT color=darkorange>&lt;td&gt;File size&lt;/td&gt;</FONT><FONT color=midnightblue>&lt;/</FONT></STRONG>tr&gt;");<BR>&nbsp;&nbsp;&nbsp;for (m=0;m&lt;Mcount;m++) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;document.writeln("&lt;tr&gt;&lt;td bgcolor=#000088&gt;"+names[m]+"&lt;/td&gt;");<BR>&nbsp;&nbsp;&nbsp; document.writeln("&lt;td bgcolor=#000088&gt;&lt;a href='"+midis[m]+"'&gt;"+midis[m]+"&lt;/a&gt;&lt;/td&gt;");</P>
<P><STRONG>&nbsp;<FONT color=darkorange>&nbsp;&nbsp; document.writeln("&lt;td bgcolor=#000088&gt;"+sizes[m]+"&lt;/td&gt;&lt;/tr&gt;");</FONT></STRONG><BR>&nbsp;&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;document.write("&lt;/table&gt;&lt;/center&gt;");<BR>&nbsp;&nbsp;end--&gt;<BR>&nbsp;&lt;/script&gt;<BR>thanks</P>
<P>eric</P></FONT></DIV><p><hr>Get Your Private, Free E-mail from MSN Hotmail at <a href="http://www.hotmail.com/">http://www.hotmail.com</a><br></html>

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA