LibreOffice 24.8 Help
Outputs the specified strings or numeric expressions to the screen or to a sequential file.
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 αααααΆβαα»αβα’αααααβαααα»αβα’αααβα αα αΆαβααααααβα’αΆααααβαα½α αα·αβααααβααααα·ααααα·βαααααα·ααΈβαααβαα·αβααααα»αααΒ α αα βαααβαα½αβααααα 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.