MFP language help, endh statments and @language annotation:
Help is the start of a help block in MFP language and endh is the end of help block.
Note that although the statements in a help block does not have any impact in the running of the function, it is useful to show user help information when user types "help function_name" or "help function_name(number_of_parameters_in_this_function)" if this help block is right above the function declaration. MFP is also able to feed different help information for different system language. For example, assume a help block is right above function abcd:
Help
This line will be shown for any system language.
@language:
This line will be shown for default system language.
@end
This line will also be shown for any system language.
@language:simplified_chinese
这一行将在系统语言为中文时显示(This line will be shown when system language is simplified Chinese.)。
@end
This line is also a line for any system language.
Endh
Function abcd(x, y)
Endf
. So when user types "help abcd" or "help abcd(2)", he/she will see
This line will be shown for any system language.
This line will be shown for default system language.
This line will also be shown for any system language.
This line is also a line for any system language.
if system language is English which is also the default language. He/she will see
This line will be shown for any system language.
This line will also be shown for any system language.
This line is also a line for any system language.
if system language is Japansee which is not the default language. He/she will see
This line will be shown for any system language.
This line will also be shown for any system language.
这一行将在系统语言为中文时显示(This line will be shown when system language is simplified Chinese.)。
This line is also a line for any system language.
if system language is simplified Chinese which is not the default language. He/she will see
This line will be shown for any system language.
This line will be shown for default system language.
This line will also be shown for any system language.
这一行将在系统语言为中文时显示(This line will be shown when system language is simplified Chinese.)。
This line is also a line for any system language.
if system language is simplified Chinese which is also the default language.
If user simply wants to add comment for a line, "//" can be used. Like C++, words following "//" will be comments. "//" can start a new line or follow a statement.