|
View Message | Back to Messages |
John W Ful Wed Jan 16 2008 at 8:28 pm Help please..Illegal Function Call
Hi other worldy people.. I just enrolled in a QBasic class (17 years of age) for fun at my local college...
I am a newbie who can figure most things out as I have already begun to write more complicated code than anyone else in my class.
ANYWHO.. I HAVE A PROBLEM.. CAN ANYONE FIGURE OUT WHY there is an "Illegal Function Call" in this code:
--------------------------BEGIN CODE-------------------------------
'*** Excerpt from "Menuet", by Johann Sebastian Bach ***
DIM Measure$(1 TO 8) ' Measure$ contains the notes to be
' played in each measure.
Measure$(1) = "04 D4 03 ML G A B 04 C"
Measure$(2) = "04 D4 03 MN G4 ML G4"
Measure$(3) = "04 MN E4 ML C D E F#"
Measure$(4) = "04 G4 03 MN G4 ML G4"
Measure$(5) = "04 MN C4 ML D C 03 B A"
Measure$(6) = "03 B4 ML 04 C 03 B A G"
Measure$(6) = "03 MN A4 ML B A G F#"
Measure$(8) = "G2. MN"
CLS
PRINT
PRINT " *** An excerpt from 'Minuet', by Johann Sebastian Bach ***"
PLAY "T180 L8 03 MN"
FOR I = 1 TO 8
PLAY Measure$(I)
NEXT I
END
---------------------------END CODE--------------------------------
Put this in a notepad and save it as "BACH.BAS" or something
and figure out the problem if you can..?
THANKS A BUNCH!! IF you figured this out could you please >> EMAIL ME! =-) at: JohnWFul@Hotmail.com
THANKS AGAIN!!!!!
|
|