Sign in Join
Wiki copytemporary

Basic Pascal Tutorial/Chapter 2/Output/ru

Sent here from Output/ru.

Deutsch · English · Français · Български · Русский · 中文(中国) · 日本語

Вывод

2B - Output (author: Tao Yue, state: unchanged)

Для записи данных на экран также есть два оператора, один из которых вы уже видели в задании по программированию предыдущей главы:

pascal
write (Argument_List);
writeln (Argument_List);

Оператор writeln после завершения выполнения переходит на следующую строку.

Вы можете использовать в списке аргументов строки, константы и литералы. Если вы хотите отобразить внутри строки апостроф, используйте два последовательных апострофа. Для отображения двух последовательных апострофов потребуется использование четырёх апострофов. Такое использование специальной последовательности для указания специального символа называется экранированием, оно позволяет ссылаться на любой символ, даже если для него нет клавиши на клавиатуре.


From the Free Pascal wiki, page "Basic Pascal Tutorial/Chapter 2/Output/ru", as it stood on 2022-08-20 after a change by Kai Burghardt, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 2, last changed by WikiArchive .

Edited on wiki.freepascal.org by 3 people, 2018–2022

From the official wiki's backup of 26 May 2024: who edited this page there, and when. Edits made there after that date were not recorded, and the earlier versions are not shown here; the main page says why.

WhenWhoWhat changed
FTurtleTranslating from English
TrevFixed syntax highlighting (minor)
Kai BurghardtKai Burghardt moved page Output/ru to Basic Pascal Tutorial/Chapter 2/Output/ru: tidy up main name space: create subpage hierarchy for basic Pascal tutorial [cf. [[Special: PermaLink/149778#Cluttering... (minor)
Kai Burghardtbypass redirects [cf. discussion]
Kai Burghardtbypass language bar/categorization template redirect [cf. discussion] (minor)

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.