![]() |
![]() ![]() ![]() ![]() ![]()
|
Author | Topic: What stupid mistake have i made this time then? |
Luridii |
![]() my battle sys is in a library. In it theres a setup procedure !include <battle.lib> is at the top of my asl file define procedure <setup> this is in the library (... represents loads of defineing variables etc!) in the startscript of my asl file there is do <setup> I run the game...and it tells me the procedure doesn't exist! ...so whats my stupid mistake this time? |
Alex |
![]() Doesn't seem to be any mistake to me - can you send me your ASL file and library please? |
Computer Whizz |
![]() in the library, did you put !library on the first line? Did you put !asl-version <284> in there? Did you remember that define procedure's don't have to go into anything, eg: Well, other then that I can't think of anything else! Computer |
Luridii |
![]() Ive remembered everything in cws list, i'll send the files now. |
Luridii |
![]() Hey I fixed it! :eek: In the library I put an extra end define after i'd defined the rooms, and it worked. Now it sees the procedures, but tells in the log me i have too many end defines. However I have some strings set up with |cl |b etc in them, it can see that they're there in the strings debug menu, but it tells me they're not there in the log file. And if I put them at the start of the text i want to format it doesnt work... |
Computer Whizz |
![]() aahhh, yes... the old "There's no variable 'name'" bug. I've had that. I've set up a string variable named 'name' in the startscript..... Then it only comes up with the log window saying "there's no variable defined!!". Computer |