<html><head><title>Includes Functions</title></head><body bgcolor="#FFFFFF" link="#207BC3" vlink="#003B83" alink="#003B83"><font face="Arial" size="2"><p align="center"><b><font size="5">Includes Functions</font></b></p><br><b>Syntax</b><blockquote><pre><font face="Courier New, Courier, mono"size="2"><b><font color="#207BC3">IncludeFile</font></b> "Filename"</font></pre></blockquote><b>Description</b><br><blockquote><b><font color="#207BC3">IncludeFile</font></b> will always include the specified source file, at the current place in the code(even if <b><font color="#207BC3">XIncludeFile</font></b> has been called for this file before).</blockquote><p><b>Example</b></p><blockquote><pre><font face="Courier New, Courier, mono"size="2"> <b><font color="#207BC3">IncludeFile</font></b> "Sources\myfile.sb" <font color="#207BC3">; This file will be inserted in the current code.</font></font></pre>This command is useful, if you want to split your source code into several files, to be ableto reuse parts e.g. in different projects.</blockquote><br><b>Syntax</b><blockquote><pre><font face="Courier New, Courier, mono"size="2"><b><font color="#207BC3">XIncludeFile</font></b> "Filename"</font></pre></blockquote><b>Description</b><br><blockquote><b><font color="#207BC3">XIncludeFile</font></b> is similar to <b><font color="#207BC3">IncludeFile</font></b> excepts it avoids to include the same file twice.</blockquote><p><b>Example</b></p><blockquote><pre><font face="Courier New, Courier, mono"size="2"> <b><font color="#207BC3">XIncludeFile</font></b> "Sources\myfile.sb" <font color="#207BC3">; This file will be inserted.</font><b><font color="#207BC3">XIncludeFile</font></b> "Sources\myfile.sb" <font color="#207BC3">; This file will be ignored along with all subsequent calls. </font></font></pre>This command is useful, if you want to split your source code into several files, to be ableto reuse parts e.g. in different projects.</blockquote><br><b>Syntax</b><blockquote><pre><font face="Courier New, Courier, mono"size="2"><b><font color="#207BC3">IncludePath</font></b> "path"</font></pre></blockquote><b>Description</b><br><blockquote><b><font color="#207BC3">IncludePath</font></b> will specify a default path for all files included after the call ofthis command. This can be very handy when you include many files which are in the same directory.</blockquote><p><b>Example</b></p><blockquote><pre><font face="Courier New, Courier, mono"size="2"> <b><font color="#207BC3">IncludePath</font></b> "Sources\Data"<b><font color="#207BC3">IncludeFile</font></b> "Sprite.sb"<b><font color="#207BC3">XIncludeFile</font></b> "Music.sb"</font></pre></body></html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。