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!