writeln function

Hello
I have an array of about 8760 numbers. i need to write it in one line in delphi. if i use the writeln command like this writeln(array[1],array[2]....so on) it gets really really long. is their a shorter way. please help.
thanks

Comments

  • quikcarlxquikcarlx Hollywood, Fl

    How about this.

    ` var i : integer;

    for i := 1 to 8759 do
       write( array[i] );
    
     writeln( array[8760] );`
    
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion