Difference between revisions of "Basic Pascal Tutorial/Chapter 2/Output/ja"

From Free Pascal wiki
Jump to navigationJump to search
(Created page with "{{Output}} 2B - Output (author: Tao Yue, state: unchanged) For writing data to the screen, there are also two statements, one of which you've seen already in last chapter's ...")
 
Line 1: Line 1:
 
{{Output}}
 
{{Output}}
  
2B - Output (author: Tao Yue, state: unchanged)
+
2B - 出力 (著者: Tao Yue, 状態: 原文のまま変更なし)
  
For writing data to the screen, there are also two statements, one of which you've seen already in last chapter's programming assignment:
+
データをディスプレイに書き出すためにも、2つの命令文がある。1つはすでに前のプログラミング課題で見てきた。
 
<syntaxhighlight>
 
<syntaxhighlight>
 
write (Argument_List);
 
write (Argument_List);
Line 9: Line 9:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
The <tt>writeln</tt> statement skips to the next line when done.
+
<tt>writeln</tt> の命令文は実行後に次の行にスキップする。
  
 
You can use strings in the argument list, either constants or literal values. If you want to display an apostrophe within a string, use two consecutive apostrophes. Displaying two consecutive apostrophes would then requires you to use four. This use of a special sequence to refer to a special character is called escaping, and allows you to refer to any character even if there is no key for it on the keyboard.
 
You can use strings in the argument list, either constants or literal values. If you want to display an apostrophe within a string, use two consecutive apostrophes. Displaying two consecutive apostrophes would then requires you to use four. This use of a special sequence to refer to a special character is called escaping, and allows you to refer to any character even if there is no key for it on the keyboard.

Revision as of 10:04, 5 August 2015

български (bg) Deutsch (de) English (en) français (fr) 日本語 (ja) русский (ru) 中文(中国大陆)‎ (zh_CN)

2B - 出力 (著者: Tao Yue, 状態: 原文のまま変更なし)

データをディスプレイに書き出すためにも、2つの命令文がある。1つはすでに前のプログラミング課題で見てきた。

write (Argument_List);
writeln (Argument_List);

writeln の命令文は実行後に次の行にスキップする。

You can use strings in the argument list, either constants or literal values. If you want to display an apostrophe within a string, use two consecutive apostrophes. Displaying two consecutive apostrophes would then requires you to use four. This use of a special sequence to refer to a special character is called escaping, and allows you to refer to any character even if there is no key for it on the keyboard.

previous contents next