BleuLlama / TinyBasicPlus

A C implementation of Tiny Basic, with a focus on support for Arduino
401 stars 117 forks source link

Why I can't use DREAD,AREAD? #32

Closed RESBI closed 6 years ago

RESBI commented 6 years ago

DREAD What? AREAD What?

What???

BleuLlama commented 6 years ago

You need to use proper syntax for them. You're not specifying where it should read from, also, DREAD/AREAD are functions and need to be called as such.

Some examples of the proper format:

10 A = DREAD( 3 ) 20 B = AREAD( 2 ) 30 DWRITE 4, HIGH 40 AWRITE 6, 128

RESBI commented 6 years ago

Thank you!