Start and stop functions

Start and stop functions

Functions Start() and Stop() are called by the botbeetle program once when the script is started and stopped. They are provided for the convenience of using external data.

For example, when starting a script, you need to read information from a file or initialize an array of data that can be done in the body of the function Start()

At the end of the script, you can store information or results in the body of the function Stop()

The user library is not limited to only working with the file system.

You can arrange to receive data from a third-party Internet resource and save it to a local or remote database.

If functions Start() and Stop() in the script are not needed, then delete them. Шt does not affect the overall performance.