functions.html

来自「多种图表的绘制及其运用」· HTML 代码 · 共 80 行

HTML
80
字号
<HTML>

<BR>


<CENTER>

<FONT SIZE=6 FACE="Verdana">

Functions

</FONT>

</CENTER>

<BR><BR>

<FONT SIZE=3 FACE="Verdana">

Functions are the most powerful building blocks.

<BR><BR>

Every program that use save (".fpp" file) is a function, you can call it from
any other algorithm or even from itself (recursion). To add function use "func"
button. Type function filename (without extension!) in function name field.
<BR>
<BR>

You can set local variables (useful for recursion) by editing the "start" block.

<BR><BR>


There are also several built-in functions:<BR>
<B>Fix</B> - receives a number, returns fixed number (without digits after the dot).<BR>
<B>FileDialog</B> - opens a file dialog.<BR>
<B>Clear</B> - clears the user text screen.<BR>
<B>ExtractFileName</B> - receives full file path, returns only the file name.<BR>


<BR><BR>

Both function algorithm and the caller algorithm should be saved in the same folder.

<BR><BR>

Functions can also be specified for window events.

<BR><BR>
See examples.
<BR><BR>

</FONT>





<CENTER>

<BR><BR>

<FONT SIZE=4 FACE="Verdana">
<A HREF="index.html"><B>&lt; &lt; &lt; Back To Index</B></A>
</FONT>

<BR><BR>

</CENTER>



<BR><BR>

<BR>



</HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?