A big D on my hat - Printable Version +- Forum (https://www.boriel.com/forum) +-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12) +--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11) +---- Forum: Help & Support (https://www.boriel.com/forum/forumdisplay.php?fid=16) +---- Thread: A big D on my hat (/showthread.php?tid=583) |
A big D on my hat - ardentcrest - 02-18-2014 How do I do, Code: dim a$(3) Re: A big D on my hat - boriel - 02-18-2014 ardentcrest Wrote:How do I do,At the moment, ZX BASIC does not support read, data. You have to do: Code: a$(1) = "text1" Note: Support for READ, DATA and RESTORE is planned (for backward compatibility). Re: A big D on my hat - ardentcrest - 02-18-2014 Thanks Re: A big D on my hat - ardentcrest - 02-18-2014 Quote:temp.bor:16: identifier 'v$' is a var, not an array Code: dim v$(10) :| Re: A big D on my hat - boriel - 02-18-2014 ardentcrest Wrote:This seems a bug I've recently fixed. Can you check you have the latest version? (1.4.0s1860)Quote:temp.bor:16: identifier 'v$' is a var, not an array Re: A big D on my hat - ardentcrest - 02-18-2014 mine 1.4.0-s1860 remember I'm using borIDE Re: A big D on my hat - boriel - 02-18-2014 Damn it! I forgot to upload the fix! hock: And the packing script is in a machine 2500km away from me :oops: :lol: Will try to upload the new version tonight. Re: A big D on my hat - ardentcrest - 02-18-2014 :evil: :evil: :evil: :evil: :roll: Re: A big D on my hat - ardentcrest - 02-19-2014 Code: for i=1 to len(q$)-1 input.bas:38: warning: Empty loop works if I remove the if line but still give empty loop warning OK need to add end if but nothing appears in the x$ Re: A big D on my hat - ardentcrest - 02-19-2014 got it I have to learn basic all over again, not just for the spectrum but for the compiler :evil: Re: A big D on my hat - dbolli - 02-10-2015 Try this for an interim solution Code: #include "read-data-restore.bas" Regards, Derek. |