Axe Software Forums
  Quest Developer Forum
  Limitations


Author Topic:   Limitations
Wizard posted 12-07-2001 15:39 GMT     
Alex, what are the limitations of Quest. Thing like:

� How many variables can be defined in a single program?
� How many array elements can be defined?
� How many characters/rooms in a game?
� How many object in a room?
� How many deep on nested if/then/else.

As my game mushrooms into this huge monster information like this become more important. I didn�t find it in the documentation, maybe I missed it.

Thanks, Wizard

Tyrant posted 12-07-2001 17:04 GMT          
Yes, I've been meaning to ask that as well. My battle system alone is over 35.0K and still climbing as I add more enemies. Also, how many procedures can be added in one game?
MaDbRiT posted 12-07-2001 20:52 GMT          
I believe Alex once revealed that Quest is coded 'using Integer variables here there and everywhere' which gives a theoretical limit of 32767 of each thing.

I have used nested 'If Thens' to levels that are dangerously difficult to follow without any problems - I suspect the code will become unmanageable long before the physical limits of Quest became an issue. :-)

Al

Wizard posted 12-07-2001 21:56 GMT          
MaDbRiT , thanks, I too have nested if's to the point it is starting to resemble Lisp code.

It is good to know that "I" am the limitation. If I can manage it, chances are Quest can also.

I think I am going to follow your lead with the libraries. It is a good method for getting those tested, tried and true routines out of the code you are working on.

Thanks again, Wizard

Alex posted 12-07-2001 23:04 GMT          
Al is correct - the limits are 32767 of everything. This includes lines of ASL code which is going to be the barrier you hit before anything else, and I suppose a game could forseeably get that big what with libraries and everything - which is why I need to remember to up the limit to two billion which should be plenty (if you averaged only one character per line that's a 2gb ASL file you've got yourself there). Just as soon as my computer comes back...........