Difference between revisions of "Write"
From Lazarus wiki
Jump to navigationJump to searchm |
(syntaxhighlight) |
||
Line 1: | Line 1: | ||
{{Write}} | {{Write}} | ||
− | write is a [[Keyword|keyword]] | + | write is a [[Keyword|keyword]] which indicates some characters to put on the screen |
for example | for example | ||
+ | <syntaxhighlight> | ||
+ | ... | ||
+ | begin | ||
... | ... | ||
− | + | Write('result=', a); | |
− | |||
− | |||
... | ... | ||
− | + | end | |
+ | </syntaxhighlight> | ||
prints result=(the content of the [[Variable|variable]] a) | prints result=(the content of the [[Variable|variable]] a) | ||
all the objects must be separed by a [[,]]. [[writeln]] leaves a the line after the text | all the objects must be separed by a [[,]]. [[writeln]] leaves a the line after the text | ||
+ | |||
+ | [[Category:Pascal]] |
Revision as of 13:11, 11 May 2012
│
Deutsch (de) │
English (en) │
español (es) │
русский (ru) │
write is a keyword which 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