<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://alice.wsoft.ws/index.php?action=history&amp;feed=atom&amp;title=Debug_Print</id>
	<title>Debug Print - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://alice.wsoft.ws/index.php?action=history&amp;feed=atom&amp;title=Debug_Print"/>
	<link rel="alternate" type="text/html" href="https://alice.wsoft.ws/index.php?title=Debug_Print&amp;action=history"/>
	<updated>2026-07-03T23:18:00Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.35.13</generator>
	<entry>
		<id>https://alice.wsoft.ws/index.php?title=Debug_Print&amp;diff=1289&amp;oldid=prev</id>
		<title>2023年10月17日 (火) 04:42にMasterによる</title>
		<link rel="alternate" type="text/html" href="https://alice.wsoft.ws/index.php?title=Debug_Print&amp;diff=1289&amp;oldid=prev"/>
		<updated>2023-10-17T04:42:34Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2023年10月17日 (火) 04:42時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;1行目:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;1行目:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Alert|この記事のより新しい版が[https://docs.wsoft.ws/products/alice/api/alice/diagnostics/debug_print/ WSOFTDocs]にあります。AliceScriptWikiでは、この記事はもう更新されません。||04}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;文字列または、指定されたオブジェクトの文字列表現をデバッグ出力に書き込み、続けて現在の行終端記号を書き込みます。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;文字列または、指定されたオブジェクトの文字列表現をデバッグ出力に書き込み、続けて現在の行終端記号を書き込みます。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Alice.Interpreter]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Alice.Interpreter]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Master</name></author>
	</entry>
	<entry>
		<id>https://alice.wsoft.ws/index.php?title=Debug_Print&amp;diff=172&amp;oldid=prev</id>
		<title>2021年11月9日 (火) 05:34にMasterによる</title>
		<link rel="alternate" type="text/html" href="https://alice.wsoft.ws/index.php?title=Debug_Print&amp;diff=172&amp;oldid=prev"/>
		<updated>2021-11-09T05:34:46Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2021年11月9日 (火) 05:34時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot; &gt;2行目:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;2行目:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Alice.Interpreter]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Alice.Interpreter]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{| class=&amp;quot;wikitable&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{| class=&amp;quot;wikitable&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|+&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Print&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|+&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;debug_print&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|名前空間&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|名前空間&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Master</name></author>
	</entry>
	<entry>
		<id>https://alice.wsoft.ws/index.php?title=Debug_Print&amp;diff=171&amp;oldid=prev</id>
		<title>2021年11月9日 (火) 05:31にMasterによる</title>
		<link rel="alternate" type="text/html" href="https://alice.wsoft.ws/index.php?title=Debug_Print&amp;diff=171&amp;oldid=prev"/>
		<updated>2021-11-09T05:31:35Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2021年11月9日 (火) 05:31時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;1行目:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;1行目:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;文字列または、指定されたオブジェクトの文字列表現をデバッグ出力に書き込み、続けて現在の行終端記号を書き込みます。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;文字列または、指定されたオブジェクトの文字列表現をデバッグ出力に書き込み、続けて現在の行終端記号を書き込みます。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Alice&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;(名前空間)&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Alice&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.Interpreter&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{| class=&amp;quot;wikitable&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{| class=&amp;quot;wikitable&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|+Print&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|+Print&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Master</name></author>
	</entry>
	<entry>
		<id>https://alice.wsoft.ws/index.php?title=Debug_Print&amp;diff=170&amp;oldid=prev</id>
		<title>Master: ページの作成:「文字列または、指定されたオブジェクトの文字列表現をデバッグ出力に書き込み、続けて現在の行終端記号を書き込みます。 […」</title>
		<link rel="alternate" type="text/html" href="https://alice.wsoft.ws/index.php?title=Debug_Print&amp;diff=170&amp;oldid=prev"/>
		<updated>2021-11-09T05:31:17Z</updated>

		<summary type="html">&lt;p&gt;ページの作成:「文字列または、指定されたオブジェクトの文字列表現をデバッグ出力に書き込み、続けて現在の行終端記号を書き込みます。 […」&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;文字列または、指定されたオブジェクトの文字列表現をデバッグ出力に書き込み、続けて現在の行終端記号を書き込みます。&lt;br /&gt;
[[Category:Alice(名前空間)]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Print&lt;br /&gt;
|-&lt;br /&gt;
|名前空間&lt;br /&gt;
|Alice.Interpreter&lt;br /&gt;
|-&lt;br /&gt;
|アセンブリ&lt;br /&gt;
|Alice.Runtime.dll&lt;br /&gt;
|-&lt;br /&gt;
|サポート&lt;br /&gt;
|AliceScriptRC2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==説明==&lt;br /&gt;
&amp;lt;code&amp;gt;void debug_print(variable value)&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
与えられた変数&amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt;の文字列表現を出力します。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;void debug_print(string text);&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
与えられた文字列&amp;lt;code&amp;gt;text&amp;lt;/code&amp;gt;を出力します&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;void debug_print(string format,params variable arg0,arg1,…);&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
与えられた複合書式指定子&amp;lt;code&amp;gt;format&amp;lt;/code&amp;gt;を使用して後続の変数を整形し、その結果を出力します。&lt;br /&gt;
&lt;br /&gt;
==例==&lt;br /&gt;
次の例は、Debug_print関数を使用してHello,Worldを表示するコードです。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;debug_print(“Hello,World”);&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
次の例は、aとbの加算の結果を表示するコードです。&lt;br /&gt;
&lt;br /&gt;
 a = 1;&lt;br /&gt;
 b = 2;&lt;br /&gt;
 debug_print(“a+b=”+(a+b));&lt;br /&gt;
 &lt;br /&gt;
 //出力:a+b=3&lt;br /&gt;
&lt;br /&gt;
上記の例は、複合書式指定子を使用して、次のように記述することも可能です。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;debug_print(“a+b={0}”,a+b);&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
複合書式指定子を使用して複数の変数を表示することも可能です。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;debug_print(“a={0} , b={1} , a+b={2}”,a,b,a+b);&lt;br /&gt;
&lt;br /&gt;
//出力:a=1 , b=2 , a+b=3&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Master</name></author>
	</entry>
</feed>