Getter

Get variable from Basic

Basic_GetType
inline u8 Basic_GetType()

Get Basic variable type This is the value sent by Basic's USR() function.

Basic_GetByte
inline i8 Basic_GetByte()

Get Basic variable as 8-bits interger This is the value sent by Basic's USR() function.

Basic_GetWord
inline i16 Basic_GetWord()

Get Basic variable as 16-bits interger This is the value sent by Basic's USR() function.

Basic_GetFloat
inline f32 Basic_GetFloat()

Get Basic variable as 32-bits float number This is the value sent by Basic's USR() function.

Basic_GetString
inline const c8* Basic_GetString()

Get Basic variable as string pointer This is the value sent by Basic's USR() function.

Basic_GetStringLength
inline u8 Basic_GetStringLength()

Get Basic string variable length This is the value sent by Basic's USR() function.

Setter

Set variable for Basic

Basic_SetByte
inline void Basic_SetByte(
i8 val
)

Set Basic variable as 8-bits interger This is the value returned by Basic's USR() function.

Parameters
val
i8

Value to be send to Basic

Basic_SetWord
inline void Basic_SetWord(
i16 val
)

Set Basic variable as 16-bits interger This is the value returned by Basic's USR() function.

Parameters
val
i16

Value to be send to Basic

Basic_SetFloat
inline void Basic_SetFloat(
f32 val
)

Set Basic variable as 32-bits float number This is the value returned by Basic's USR() function.

Parameters
val
f32

Value to be send to Basic

Basic_SetString
inline void Basic_SetString(
const c8* val,
u8 len
)

Set Basic variable as string pointer This is the value returned by Basic's USR() function.

Parameters
val
const c8*

Value to be send to Basic