*clarified some functions.
This commit is contained in:
parent
0837249d73
commit
ac340afb72
Binary file not shown.
22
README.md
22
README.md
@ -139,6 +139,28 @@ It's necessary to know some principle of MY-BASIC before doing deep customizatio
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
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.
|
More details are issued on the [Wiki](#wiki) pages below.
|
||||||
|
|
||||||
## [Wiki](https://github.com/paladin-t/my_basic/wiki)
|
## [Wiki](https://github.com/paladin-t/my_basic/wiki)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user