forked from mirrors/ubasic
Fixed assignment to 'a'. Added tests and VARIABLE_TYPE.
The VARIABLE_TYPE defines what type uBASIC's variables are.
This commit is contained in:
parent
c8de545eda
commit
c865e86b8e
4 changed files with 119 additions and 30 deletions
2
ubasic.h
2
ubasic.h
|
|
@ -30,6 +30,8 @@
|
|||
#ifndef __UBASIC_H__
|
||||
#define __UBASIC_H__
|
||||
|
||||
#define VARIABLE_TYPE char
|
||||
|
||||
void ubasic_init(const char *program);
|
||||
void ubasic_run(void);
|
||||
int ubasic_finished(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue