The user implements the initialization function init()
, which will automatically execute the function init()
at the beginning of the strategy to complete the initialization task.
function main(){
Log("The first line of the code executed in the program!", "#FF0000")
Log("Exit!")
}
// Initialization the function
function init(){
Log("Initialization!")
}
def main():
Log("The first line of the code executed in the program!", "#FF0000")
Log("Exit!")
def init():
Log("Initialization!")
void main() {
Log("The first line of the code executed in the program!", "#FF0000");
Log("Exit!");
}
void init() {
Log("Initialization!");
}
onexit()
onerror()