mirror of
https://github.com/ganelson/inform.git
synced 2024-07-08 18:14:21 +03:00
40 lines
1.7 KiB
HTML
40 lines
1.7 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<title>S/pt2</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<meta http-equiv="Content-Language" content="en-gb">
|
|
<link href="inweb.css" rel="stylesheet" rev="stylesheet" type="text/css">
|
|
</head>
|
|
<body>
|
|
|
|
<!--Weave of 'S/rt' generated by 7-->
|
|
<ul class="crumbs"><li><a href="../webs.html">★</a></li><li><a href="index.html">standard_rules Template Library</a></li><li><b>RTP Template</b></li></ul><p class="purpose">To issue run-time problem messages arising from the world model.</p>
|
|
|
|
<ul class="toc"><li><a href="#SP1">§1. Reporting</a></li></ul><hr class="tocbar">
|
|
|
|
<p class="inwebparagraph"><a id="SP1"></a><b>§1. Reporting. </b></p>
|
|
|
|
|
|
<pre class="display">
|
|
<span class="plain">[ RunTimeProblemShowWM n par1 par2 par3;</span>
|
|
<span class="plain">switch(n) {</span>
|
|
<span class="plain">RTP_SCENEHASNTSTARTED:</span>
|
|
<span class="plain">print "The scene ", (PrintSceneName) par1,</span>
|
|
<span class="plain">" hasn't started, so you can't ask when it did.^";</span>
|
|
<span class="plain">RTP_SCENEHASNTENDED:</span>
|
|
<span class="plain">print "The scene ", (PrintSceneName) par1,</span>
|
|
<span class="plain">" hasn't ended, so you can't ask when it did.^";</span>
|
|
<span class="plain">}</span>
|
|
<span class="plain">];</span>
|
|
</pre>
|
|
|
|
<p class="inwebparagraph"></p>
|
|
|
|
<hr class="tocbar">
|
|
<ul class="toc"><li><a href="S-pt2.html">Back to 'Printing Template'</a></li><li><a href="S-st.html">Continue with 'StoredAction Template'</a></li></ul><hr class="tocbar">
|
|
<!--End of weave-->
|
|
</body>
|
|
</html>
|
|
|