Open bb file error

Blitz3D Forums/Blitz3D Beginners Area/Open bb file error

Ambicatos(Posted 2007) [#1]
Hi everyone. I am working on a simple question-and-answer game. I am part-way through writing the code, and when I try to test it, I get a strange error. First, the "open .bb file" window pops up, as though I had hit "open" on the taskbar. The program is not supposed to open any files and I have no idea why it's doing that. Then, if I actually do click on a .bb file to open, I get a message that says, "Data expression must be constant". Has anyone ever run into a problem like this or have an idea what might be causing it? Thanks.


big10p(Posted 2007) [#2]
Like this?

http://www.blitzbasic.com/Community/posts.php?topic=53256#595554


Ambicatos(Posted 2007) [#3]
Yes, that is the exact same problem although ... this is going to sound stupid ... I didn't put quotes around my data strings ... putting the quotes on resolved the problem. Thanks.


IPete2(Posted 2007) [#4]
Not stupid so much as a learning experience!

IPete2.