📄 functions.html
字号:
<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>< < < Back To Index</B></A>
</FONT>
<BR><BR>
</CENTER>
<BR><BR>
<BR>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -