diff options
Diffstat (limited to 'manuals/chickadee/Scripts.html')
-rw-r--r-- | manuals/chickadee/Scripts.html | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/manuals/chickadee/Scripts.html b/manuals/chickadee/Scripts.html index 97b7513..86a6068 100644 --- a/manuals/chickadee/Scripts.html +++ b/manuals/chickadee/Scripts.html @@ -18,7 +18,7 @@ Foundation Web site at http://www.gnu.org/licenses/fdl.html. The document was typeset with http://www.texinfo.org/ (GNU Texinfo). --> -<!-- Created by GNU Texinfo 6.6, http://www.gnu.org/software/texinfo/ --> +<!-- Created by GNU Texinfo 6.7, http://www.gnu.org/software/texinfo/ --> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Scripts (The Chickadee Game Toolkit)</title> @@ -28,12 +28,12 @@ http://www.texinfo.org/ (GNU Texinfo). <meta name="resource-type" content="document"> <meta name="distribution" content="global"> <meta name="Generator" content="makeinfo"> -<link href="index.html#Top" rel="start" title="Top"> -<link href="Index.html#Index" rel="index" title="Index"> +<link href="index.html" rel="start" title="Top"> +<link href="Index.html" rel="index" title="Index"> <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents"> -<link href="Scripting.html#Scripting" rel="up" title="Scripting"> -<link href="Tweening.html#Tweening" rel="next" title="Tweening"> -<link href="Agendas.html#Agendas" rel="prev" title="Agendas"> +<link href="Scripting.html" rel="up" title="Scripting"> +<link href="Tweening.html" rel="next" title="Tweening"> +<link href="Agendas.html" rel="prev" title="Agendas"> <style type="text/css"> <!-- a.summary-letter {text-decoration: none} @@ -82,7 +82,7 @@ ul.no-bullet {list-style: none} <body lang="en"> <span id="Scripts"></span><div class="header"> <p> -Next: <a href="Tweening.html#Tweening" accesskey="n" rel="next">Tweening</a>, Previous: <a href="Agendas.html#Agendas" accesskey="p" rel="prev">Agendas</a>, Up: <a href="Scripting.html#Scripting" accesskey="u" rel="up">Scripting</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html#Index" title="Index" rel="index">Index</a>]</p> +Next: <a href="Tweening.html" accesskey="n" rel="next">Tweening</a>, Previous: <a href="Agendas.html" accesskey="p" rel="prev">Agendas</a>, Up: <a href="Scripting.html" accesskey="u" rel="up">Scripting</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p> </div> <hr> <span id="Scripts-1"></span><h4 class="subsection">2.5.2 Scripts</h4> @@ -179,6 +179,18 @@ procedure <var>handler</var>. </p></dd></dl> <dl> +<dt id="index-wait_002duntil">Syntax: <strong>wait-until</strong> <em>condition</em></dt> +<dd><p>Wait until <var>condition</var> is met before resuming the current script. +</p> +<div class="example"> +<pre class="example">(script + (wait-until (key-pressed? 'z)) + (display "you pressed the Z key!\n")) +</pre></div> + +</dd></dl> + +<dl> <dt id="index-forever">Syntax: <strong>forever</strong> <em>body …</em></dt> <dd><p>Evaluate <var>body</var> in an endless loop. </p></dd></dl> @@ -186,7 +198,7 @@ procedure <var>handler</var>. <hr> <div class="header"> <p> -Next: <a href="Tweening.html#Tweening" accesskey="n" rel="next">Tweening</a>, Previous: <a href="Agendas.html#Agendas" accesskey="p" rel="prev">Agendas</a>, Up: <a href="Scripting.html#Scripting" accesskey="u" rel="up">Scripting</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html#Index" title="Index" rel="index">Index</a>]</p> +Next: <a href="Tweening.html" accesskey="n" rel="next">Tweening</a>, Previous: <a href="Agendas.html" accesskey="p" rel="prev">Agendas</a>, Up: <a href="Scripting.html" accesskey="u" rel="up">Scripting</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p> </div> |