Results 1 to 2 of 2

Thread: For

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Location
    karachi
    Posts
    90

    For

    Hello,
    I made a programm which print value 1 to 10 by for loop on form it is printing vertically is there a way to print horizontlly

    best regards

  2. #2
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744
    Sure, seperate it with semi-colons:
    VB Code:
    1. Dim i As Integer
    2.    
    3.     For i = 1 To 10
    4.         Print i;
    5.     Next

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width