Too many }
paul_one
03 Nov 2004, 10:17When loading up a half-finished ASL example I get the "too many }" error message box...
It's due to a missing )...
Bug?
I though quest counted the {'s and the }'s then gave which was wrong - the same for ()'s...
It's due to a missing )...
Bug?
I though quest counted the {'s and the }'s then gave which was wrong - the same for ()'s...
paul_one
03 Nov 2004, 11:26Hey Alex - is there any way to search for a space in a string?
the underscore doesn't give me anything.
I'm using $instr(#string#; _)$ but that doesn't work, so any suggestions?
the underscore doesn't give me anything.
I'm using $instr(#string#; _)$ but that doesn't work, so any suggestions?
I think Im Dead
03 Nov 2004, 15:32Try it without the space
$instr([Optional Starting Position;]#String#;_)$
That's how I got it working. Either way though, the highlighter idea we talked about won't ever work really well, because Quest formats string variables to lowercase, and removes punctuation, so any system would be really generic and not allow ULTIMATE CUSOMIZATION! So I stopped bothering.
$instr([Optional Starting Position;]#String#;_)$
That's how I got it working. Either way though, the highlighter idea we talked about won't ever work really well, because Quest formats string variables to lowercase, and removes punctuation, so any system would be really generic and not allow ULTIMATE CUSOMIZATION! So I stopped bothering.
paul_one
04 Nov 2004, 08:53Hmmm - what about using quest.customcommand or something like that?
Anyway - I tried it a different way and now I'm getting a VERY odd result.
Thanks for the inspiration by the way - been a little since someone kicked me into a programming frenzy!
Anyway - I tried it a different way and now I'm getting a VERY odd result.
Thanks for the inspiration by the way - been a little since someone kicked me into a programming frenzy!
I think Im Dead
04 Nov 2004, 09:20The highlighter might still be possible, I don't know. Quest is really pick with how it stores string variables sometimes.
I'm getting into a good coding frenzy as well, in the middle of coding a general text parsing system for posting news items and forum posts/replies in quest. I think I'm going off too little sleep now since I'm noticing I'm adding more problems than I'm fixing. Breaking for a bit.
If you weren't such a twat we could eventually join forces on something ambitious as hell. Llike a game engine with dynamic room sizes, descriptions, etc, in a grid based format, sort of like old tile-based games, or more recently like Baldur's Gate 1 & 2, Icewind Dale 1 & 2, Diablo 1 & 2, but of course done entirely in descriptive text.
Of course that's just my dream to develop and I don't think I could ever accomplish it alone, because I'd go insane.
I'm getting into a good coding frenzy as well, in the middle of coding a general text parsing system for posting news items and forum posts/replies in quest. I think I'm going off too little sleep now since I'm noticing I'm adding more problems than I'm fixing. Breaking for a bit.
If you weren't such a twat we could eventually join forces on something ambitious as hell. Llike a game engine with dynamic room sizes, descriptions, etc, in a grid based format, sort of like old tile-based games, or more recently like Baldur's Gate 1 & 2, Icewind Dale 1 & 2, Diablo 1 & 2, but of course done entirely in descriptive text.
Of course that's just my dream to develop and I don't think I could ever accomplish it alone, because I'd go insane.
paul_one
04 Nov 2004, 10:34Hah... Yeah - I'd give help and idea's to you if you ever call.
ASL needs a couple of additions though - as I'm noticing a couple of niggles now...
I think Friday I'll make a library or two (one for numbers & decimals).
I've still got an error when I do mine as typing in two letters only makes mine go into a loop that freezes quest. And typing uuu and ii results in ui or something like that, so the loop goes away :confused:.
ASL needs a couple of additions though - as I'm noticing a couple of niggles now...
I think Friday I'll make a library or two (one for numbers & decimals).
I've still got an error when I do mine as typing in two letters only makes mine go into a loop that freezes quest. And typing uuu and ii results in ui or something like that, so the loop goes away :confused:.
007bond
04 Nov 2004, 19:36I lib for numbers would be great help for a lot of people.