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!