Error Woun't Dissappear
BlitzMax Forums/BlitzMax Beginners Area/Error Woun't Dissappear
| ||
As you can see i've converted most of my source code to BlitzMAX. However it keeps giving me "Expected Expression but, encountered end-of-file" error. As you can see from this code, it use absolutely no arrays what so ever. So why am i getting this error? Also at the beginning of my code when i imported it, 2 files were added to be inported. What do these 2 files do?fixed |
| ||
Function MoveBall() End Ball |
| ||
Ok, well now i get "Expression of type 'String' cannot be invoked". Heres the code:fixed Its refering AppTitle near the beginning. Any ideas? |
| ||
AppTitle = "whatever" |
| ||
If it's the apptitle you *should* be getting Identifier Apptitle not found The command should be apptitle$="Pong Master 1.0" <edit> You seem to be fixing these minutes after posting which must have been minutes after getting the problem. It might be less frustrating to take a bit more time checking for a solution before posting. |
| ||
Actually i'm fixing them as you post the solution. I just don't want to reveal my full source code online. |
| ||
If it's the apptitle you *should* be getting No it shouldn't. AppTitle is a pre-defined global, so it does exsist. Always. Identifier Apptitle not found |
| ||
Didn't the code say 'apptitle "blah"' rather than 'global apptitle "blah"'? First one is Id not found, second is expression of string etc. Doesn't matter and not too fussed anyway. @Dark Mars Software, Actually i'm fixing them as you post the solution Which is why I think you might benefit from having a slightly longer look at finding a solution before posting. No big deal really but might annoy people if they spend a while trying to help only to find you've solved the problem within minutes. Again, I'm not too fussed anyway. |
| ||
Didn't the code say 'apptitle "blah"' rather than 'global apptitle "blah"'? Yes. AppTitle is a Global defined by BRL, in brl.mod/blitz.mod/blitz.bmx. So it always exists, whether you declare it or not. It defaults to "BlitzMAX Application". |