Print Statement

αž”αž‰αŸ’αž…αŸαž‰β€‹αžαŸ’αžŸαŸ‚αž’αž€αŸ’αžŸαžšβ€‹αžŠαŸ‚αž›αž”αžΆαž“β€‹αž”αž‰αŸ’αž‡αžΆαž€αŸ‹ αž¬β€‹αž€αž“αŸ’αžŸαŸ„αž˜β€‹αž‡αžΆαž›αŸαžβ€‹αž‘αŸ…β€‹αž”αŸ’αžšαž’αž”αŸ‹ αž¬β€‹αž―αž€αžŸαžΆαžšΒ αŸ”

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 Basic αžšαž€αŸ’αžŸαžΆβ€‹αž‘αž»αž€β€‹αž’αžαŸ’αžαž”αž‘β€‹αž€αŸ’αž“αž»αž„β€‹αž’αž„αŸ’αž‚β€‹αž…αž„αž…αžΆαŸ†β€‹αž”αžŽαŸ’αžαŸ„αŸ‡β€‹αž’αžΆαžŸαž“αŸ’αž“β€‹αž˜αž½αž™ αž“αž·αž„β€‹αž”αž“αŸ’αžβ€‹αž”αŸ’αžšαžαž·αž”αžαŸ’αžαž·β€‹αž€αž˜αŸ’αž˜αžœαž·αž’αžΈβ€‹αžŠαŸ„αž™β€‹αž˜αž·αž“β€‹αž”αŸ„αŸ‡αž–αž»αž˜αŸ’αž–Β αŸ” αž“αŸ…β€‹αž–αŸαž›β€‹αž‡αž½αž”β€‹αž”αŸ’αžšαž‘αŸ‡ Print statement αž•αŸ’αžŸαŸαž„β€‹αž‘αŸ€αžβ€‹αžŠαŸ‚αž›β€‹αž‚αŸ’αž˜αžΆαž“β€‹αžŸαž‰αŸ’αž‰αžΆβ€‹β€‹αž…αŸ†αžŽαž»αž…β€‹αž€αŸ’αž”αŸ€αžŸ αž¬β€‹αžŸαž‰αŸ’αž‰αžΆβ€‹αž€αŸ’αž”αŸ€αžŸβ€‹αž“αŸ…β€‹αž…αž»αž„β€‹αž”αž‰αŸ’αž…αž”αŸ‹ αž’αžαŸ’αžαž”αž‘β€‹αž‘αžΆαŸ†αž„αž’αžŸαŸ‹β€‹αžŠαŸ‚αž›β€‹αž“αžΉαž„β€‹αžαŸ’αžšαžΌαžœβ€‹αž”αŸ„αŸ‡αž–αž»αž˜αŸ’αž–β€‹αžαŸ’αžšαžΌαžœβ€‹αž”αžΆαž“β€‹αž”αŸ„αŸ‡αž–αž»αž˜αŸ’αž–β€‹αž—αŸ’αž›αžΆαž˜β€‹αŸ—Β αŸ”

αž€αž“αŸ’αžŸαŸ„αž˜β€‹β€‹αž›αŸαžβ€‹αžœαž·αž‡αŸ’αž‡αž˜αžΆαž“β€‹β€‹αžαŸ’αžšαžΌαžœβ€‹β€‹αž”αžΆαž“β€‹αž”αŸ„αŸ‡αž–αž»αž˜αŸ’αž–β€‹αžŠαŸ„αž™β€‹αž˜αžΆαž“β€‹αžŠαž€β€‹αžƒαŸ’αž›αžΆβ€‹β€‹αž“αŸ…β€‹β€‹αž–αžΈβ€‹β€‹β€‹αž˜αž»αžΒ αŸ” αž€αž“αŸ’αžŸαŸ„αž˜β€‹αž’αžœαž·αž‡αŸ’αž‡αž˜αžΆαž“β€‹αžαŸ’αžšαžΌαžœβ€‹αž”αžΆαž“β€‹αž”αŸ„αŸ‡αž–αž»αž˜αŸ’αž–β€‹αžŠαŸ„αž™β€‹αž˜αžΆαž“β€‹αžŸαž‰αŸ’αž‰αžΆβ€‹αžŠαž€β€‹αž“αŸ…β€‹αž–αžΈβ€‹αž˜αž»αžΒ αŸ” αž”αŸ’αžšαžŸαž·αž“β€‹αž”αžΎβ€‹αž‡αž½αžšβ€‹αž–αž·αžβ€‹αž”αŸ’αžšαžΆαž€αžŠβ€‹αžαŸ’αžšαžΌαžœβ€‹αž”αžΆαž“β€‹αž›αžΎαžŸ αžŸαž˜αŸ’αžšαžΆαž”αŸ‹β€‹αžαž˜αŸ’αž›αŸƒβ€‹αž‘αžŸαž—αžΆαž‚ αž€αž“αŸ’αžŸαŸ„αž˜β€‹αž‡αžΆβ€‹β€‹αž›αŸαžβ€‹αžšαŸ€αž„β€‹αŸ—β€‹αžαŸ’αž›αž½αž“β€‹αžαŸ’αžšαžΌαžœβ€‹αž”αžΆαž“β€‹αž”αŸ„αŸ‡αž–αž»αž˜αŸ’αž–β€‹αž€αŸ’αž“αž»αž„ αž€αŸ†αžŽαžαŸ‹β€‹β€‹β€‹αž’αž·αž…β€‹αžŸαŸ’αž”αŸ‰αžΌαžŽαž„αŸ‹β€‹αžŸαŸ’αž™αŸ‚αž›Β αŸ”

αž”αŸ’αžšαžŸαž·αž“β€‹αž”αžΎβ€‹αž€αž“αŸ’αžŸαŸ„αž˜β€‹αžŠαŸ‚αž›β€‹αž“αžΉαž„β€‹αžαŸ’αžšαžΌαžœβ€‹αž”αŸ„αŸ‡αž–αž»αž˜αŸ’αž–β€‹αž›αžΎαžŸβ€‹αž”αŸ’αžšαžœαŸ‚αž„β€‹αž–αž·αžβ€‹αž”αŸ’αžšαžΆαž€αžŠ αž€αžΆαžšβ€‹αž”αž„αŸ’αž αžΆαž‰β€‹αž“αžΉαž„β€‹αžšαž»αŸ†β€‹αž‘αŸ…β€‹αž‡αž½αžšβ€‹αž”αž“αŸ’αž‘αžΆαž”αŸ‹β€‹αžŠαŸ„αž™β€‹αžŸαŸ’αžœαŸαž™β€‹αž”αŸ’αžšαžœαžαŸ’αžαž·Β αŸ”

αžšαžΌαž”β€‹αžαŸ†αžŽαžΆαž„β€‹αž…αŸ†αžŽαžΆαŸ†

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!