*clarified some functions.

This commit is contained in:
Wang Renxin 2017-08-05 16:03:14 +08:00
parent 0837249d73
commit ac340afb72
2 changed files with 22 additions and 0 deletions

Binary file not shown.

View File

@ -139,6 +139,28 @@ It's necessary to know some principle of MY-BASIC before doing deep customizatio
![](https://github.com/paladin-t/my_basic/wiki/img/workflow.png)
A simplest setup as follow:
~~~~~~~~~~c
int main() {
struct mb_interpreter_t* bas = NULL;
mb_init();
mb_open(&bas);
mb_load_string(bas, "print 22 / 7;", true);
mb_run(bas, true);
mb_close(&bas);
mb_dispose();
return 0;
}
~~~~~~~~~~
More details are issued on the [Wiki](#wiki) pages below.
## [Wiki](https://github.com/paladin-t/my_basic/wiki)