Difference between revisions of "Write"

From Free Pascal wiki
Jump to navigationJump to search
m
m
Line 1: Line 1:
write is a [[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 12:33, 17 January 2007

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