ይዞታዎች
ማውጫ 🔎︎

# Print# Statement

Outputs the specified strings or numeric expressions to the screen or to a sequential file.

Use Put# statement to write data to a binary or a random file. Use Write# statement to write data to a sequential text file with delimiting characters.

### አገባብ:

    Print [#filenum,] expression1[{;|,} [Spc(number As Integer);] [Tab(pos As Integer);] [expression2[...]]

### ደንቦች:

filenum: Any numeric expression that contains the file number that was set by the Open statement for the respective file.

expression: Any numeric or string expression to be printed. Multiple expressions can be separated by a semicolon. If separated by a comma, the expressions are indented to the next tab stop. The tab stops cannot be adjusted.

number: Number of spaces to be inserted by the Spc function.

pos: Spaces are inserted until the specified position.

ሴሚኮለን ወይንም ኮማ ከታያ ከ መጨረሻው መግለጫ በኋላ እንዲታተም LibreOffice Basic ጽሁፉን በ ውስጥ ማስታወሻ ውስጥ ያስቀምጣል: እና ፕሮግራም መፈጸም ይቀጥላል ምንም ሳያትም: ሌላ የ ህትመት አረፍተ ነገር ያለ ሴሚኮለን ወይንም ኮማ በ መጨረሻ በኩል ይገጥማል: ሁሉም የሚታተሙ ጽሁፎች በሙሉ ይታተማሉ

አዎንታዊ የ ቁጥር መግለጫ የሚታተመው በ ቀዳሚ ክፍተት ነው: አሉታዊ የ ቁጥር መግለጫ የሚታተመው በ ቀዳሚ መቀነሻ ምልክት ነው: አቅንዳንድ መጠን ካለፈ የ ተንሳፋፊ-ነጥብ ዋጋዎች: ተመሳሳይ የ ቁጥር መግለጫ ይታተማል በ ኤክስፖኔንሺያል ምልክት

የሚታተመው መግለጫ የ ተወሰነ እርዝመት ካለፈ: ማሳያው ራሱ በራሱ ወደሚቀጥለው መስመር ይጠቀልላል

You can insert the Tab function, enclosed by semicolons, between arguments to indent the output to a specific position, or you can use the Spc function to insert a specified number of spaces.

### ለምሳሌ:

    Sub ExamplePrint
        Print "ABC"
        Print "ABC","123"
        i = FreeFile()
        Open "C:\Temp.txt" For Output As i
        Print #i, "ABC"
        Close #i
    End Sub

    Sub ExamplePrint
        Print "ABC"
        Print "ABC","123"
        i = FreeFile()
        Open "~/temp.txt" For Output As i
        Print #i, "ABC"
        Close #i
    End Sub

የ ተዛመዱ አርእስቶች

Close Statement

Put# Statement

Open Statement

Write# Statement