Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 20:31 26 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Colour Maximite Music

Author Message
TASMA
Newbie

Joined: 30/11/2011
Location: Australia
Posts: 10
Posted: 02:12pm 20 Dec 2012
Copy link to clipboard 
Print this post

Hi, I downloaded the music demo program, but cannot get it to run, only get error message,"Incorrect expression syntax". I did copy T1, T2,T3 to A Drive. Any suggestions.

Regards

Brian
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6098
Posted: 03:19pm 20 Dec 2012
Copy link to clipboard 
Print this post

Where did you download the program from?
What version of MMBasic are you running?

The error message should also give the line number which the error occurred on.

Jim
VK7JH
MMedit   MMBasic Help
 
TASMA
Newbie

Joined: 30/11/2011
Location: Australia
Posts: 10
Posted: 03:56pm 20 Dec 2012
Copy link to clipboard 
Print this post

Hi Jim, I downoaded the programme from Geoff's website and I am using 4.1 version, the line number was [13] OPEN "A:T" + CHR$(48 +i) ".MOD" For Input As # ""

Regards

Brian
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6098
Posted: 04:41pm 20 Dec 2012
Copy link to clipboard 
Print this post

OK
That line should read
Open "A:T" + Chr$(48 + i) + ".Mod" For input As #1

In the file I looked at it ended in #1""
which 'might' work but in the line you have the missing file number is the problem which caused the "Incorrect expression syntax".

Jim
VK7JH
MMedit   MMBasic Help
 
TASMA
Newbie

Joined: 30/11/2011
Location: Australia
Posts: 10
Posted: 05:01pm 20 Dec 2012
Copy link to clipboard 
Print this post

Hi Jim,

Thanks very much, that fixed the problem.

Regards

Brian
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024