Difference between revisions of "Write"

From Free Pascal wiki
Jump to navigationJump to search
m
m
Line 1: Line 1:
 +
{{Write}}
 +
 
write is a [[Keyword|keyword]] wich indicates some characters to put on the screen
 
write is a [[Keyword|keyword]] wich indicates some characters to put on the screen
 
for example
 
for example

Revision as of 19:33, 12 March 2009

Deutsch (de) English (en) español (es) русский (ru)

write is a keyword wich indicates some characters to put on the screen for example

 ...
begin
 ...
 write("result=",a);
 ... 
end

prints result=(the content of the variable a) all the objects must be separed by a ,. writeln leaves a the line after the text