[AGDev-newbies] weird sound error
Thomas Ward
tward1978 at earthlink.net
Sat Jun 3 12:12:30 BST 2006
Hi, Richard.
Well, I can tell you both lines are identical, and that means both of
them are correct. Can you send us your build errors so we can find out
why it is flagging the second as wrong?
My guess is since you have the thunder sound loaded prier in the code
the compiler is flagging the second one as an error do to the fact that
thunder is already loaded and it can't do it it again. Don't know for
sure until I see your build errors.
Richard Bennett wrote:
> Hey list, can someone tell me what is wrong with this line of code? I
> have looked over and over it again and can't figure out what is wrong
> with it but something is obviously wrong with it. The first line I am
> posting is the correct one(or DevCPP tells me so) and the 2nd one is
> wrong(or DevCpp tells me) but I don't understand why. It may be that I
> have been listening to it so much that I can tell, but I went as far
> to paste them in a file and did a search for the top one(correct one)
> and it couldn't find it, I don't know and definitely don't understand
> because they sound the same to me. Can someone help?
> *** line of code ***
>
> correct:
>
> sounds[THUNDER]=load_sample("thunder.wav");
>
> incorrect:
>
> sounds[THUNDER]=load_sample("thunder.wav");
>
> Richard Bennett *BEAN*
> Georgia State Phi Beta Lambda(PBL) Secretary
> personal e-mail:
> rbennett at southlink.us <mailto:rbennett at southlink.us>
> Windows Messenger(or MSN messenger):
> ichabodsparrow at hotmail.com <mailto:ichabodsparrow at hotmail.com>
> ------------------------------------------------------------------------
>
> _______________________________________________
> AGDev-newbies mailing list
> AGDev-newbies at lists.agdev.org
> http://lists.agdev.org/cgi-bin/mailman/listinfo/agdev-newbies
>
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.7.4/351 - Release Date: 5/29/2006
>
More information about the AGDev-newbies
mailing list