【中文版】

Introduction

MFP language introduction

operators

function

variable

if

while do for

break continue

select

try catch

class

call

citingspace

help

@compulsory_link

@execution_entry

@build_asset

MFP functions

deploy user functions

call MFP in your app

build Android APK

game programming

chart plotting

MFP math analysis

MFP file procession

number string and array

time date and system

Introduction of SCP

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.