Print# Statement

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

tip

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.


Syntax:

Print syntax


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

Parameters:

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 āĻŦ⧇āϏāĻŋāĻ• āĻāĻ•āϟāĻŋ āĻ…āĻ­ā§āϝāĻ¨ā§āϤāϰ⧀āĻŖ āĻŦāĻžāĻĨāĻžāϰ⧇ āϞ⧇āĻ–āĻž āϏāĻ‚āϰāĻ•ā§āώāĻŖ āĻ•āϰ⧇ āĻĨāĻžāϕ⧇ āĻāĻŦāĻ‚ āĻŽā§āĻĻā§āϰāĻŖ āĻ•āϰāĻž āĻ›āĻžā§œāĻžāχ āĻĒā§āϰ⧋āĻ—ā§āϰāĻžāĻŽā§‡āϰ āĻ•āĻžāĻ°ā§āϝāĻ•āĻžāϰāĻŋāϤāĻž āϚāĻžāϞ⧁ āϰāĻžāϖ⧇āĨ¤ āϏāĻŦāĻļ⧇āώ⧇ āϏ⧇āĻŽāĻŋāϕ⧋āϞāύ āĻ…āĻĨāĻŦāĻž āĻ•āĻŽāĻž āĻŦā§āϝāϤ⧀āϤ āĻ…āĻ¨ā§āϝ āĻāĻ•āϟāĻŋ āĻŽā§āĻĻā§āϰāĻŖ āĻ¸ā§āĻŸā§‡āϟāĻŽā§‡āĻ¨ā§āϟ āĻ•āĻžāϜ āĻ•āϰāĻžāϰ āϏāĻŽā§Ÿ āĻŽā§āĻĻā§āϰāĻŖāϝ⧋āĻ—ā§āϝ āϏāĻ•āϞ āϞ⧇āĻ–āĻž āĻāϕ⧇āĻŦāĻžāϰ⧇ āĻŽā§‚āĻĻā§āϰāĻŋāϤ āĻšāĻŦ⧇āĨ¤

āĻĒā§āϰāĻĨāĻŽ āĻĢāĻžāρāĻ•āĻž āĻ¸ā§āĻĨāĻžāύ āϏāĻš āĻ§ā§āĻŦāύāĻžāĻ¤ā§āύāĻ• āϏāĻ‚āĻ–ā§āϝāĻžāϏ⧂āϚāĻ• āĻāĻ•ā§āϏāĻĒā§āϰ⧇āĻļāύ āĻŽā§‚āĻĻā§āϰāĻŋāϤ āĻšā§ŸāĨ¤ āĻĒā§āϰāĻĨāĻŽā§‡ āĻāĻ•āϟāĻŋ āĻŦāĻŋā§Ÿā§‹āĻ— āϚāĻŋāĻšā§āύ āϏāĻšāĻ•āĻžāϰ⧇ āĻ‹āύāĻžāĻ¤ā§āύāĻ• āĻāĻ•ā§āϏāĻĒā§āϰ⧇āĻļāύ āĻŽā§‚āĻĻā§āϰāĻŋāϤ āĻšā§ŸāĨ¤ āĻĢā§āϞ⧋āϟāĻŋāĻ‚ āĻĒā§Ÿā§‡āĻ¨ā§āϟ āĻŽāĻžāύ⧇āϰ āϜāĻ¨ā§āϝ āϝāĻĻāĻŋ āĻāĻ•āϟāĻŋ āύāĻŋāĻ°ā§āĻĻāĻŋāĻˇā§āϟ āĻĒāϰāĻŋāϏāϰ āĻ…āϤāĻŋāĻ•ā§āϰāĻŽ āĻ•āϰ⧇ āϝāĻžā§Ÿ āϤāĻžāĻšāϞ⧇ āϏāĻ‚āĻļā§āϞāĻŋāĻˇā§āϟ āϏāĻ‚āĻ–ā§āϝāĻžāϏ⧂āϚāĻ• āĻāĻ•ā§āϏāĻĒā§āϰ⧇āĻļāύāϟāĻŋ āϏ⧂āϚāĻ•ā§€ā§Ÿ āύ⧋āĻŸā§‡āĻļāύ⧇ āĻŽā§‚āĻĻā§āϰāĻŋāϤ āĻšā§Ÿā§‡ āĻĨāĻžāϕ⧇āĨ¤

āϝāĻĻāĻŋ āĻŽā§āĻĻā§āϰāĻŖ āĻ•āϰāĻž āĻšāĻŦ⧇ āĻāĻŽāύ āĻāĻ•āϟāĻŋ āĻāĻ•ā§āϏāĻĒā§āϰ⧇āĻļāύ⧇āϰ āĻĻ⧈āĻ°ā§āĻ˜ā§āϝ āύāĻŋāĻ°ā§āĻĻāĻŋāĻˇā§āϟ āĻĻ⧈āĻ°ā§āĻ˜ā§āϝ⧇āϰ āĻ…āϤāĻŋāϰāĻŋāĻ•ā§āϤ āĻšā§Ÿ āϤāĻžāĻšāϞ⧇ āĻĒā§āϰāĻĻāĻ°ā§āĻļāύ⧀āϟāĻŋ āĻ¸ā§āĻŦ⧟āĻ‚āĻ•ā§āϰāĻŋ⧟āĻ­āĻžāĻŦ⧇ āĻĒāϰāĻŦāĻ°ā§āϤ⧀ āϞāĻžāχāύ āĻĒāĻ°ā§āϝāĻ¨ā§āϤ āϗ⧁āϟāĻŋā§Ÿā§‡ āĻĢ⧇āϞāĻŦ⧇āĨ¤

āύ⧋āϟ āφāχāĻ•āύ

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.


Example:

Please support us!