+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  Pascal Style Strings - Length Byte/s
Pages: [1]
Author Topic: Pascal Style Strings - Length Byte/s  (Read 1 times)
Nightcrawler
Guest
« on: October 27, 2010, 10:37:50 am »

Have any of you seen any games with pascal style strings that use MORE than one byte for the length? I've been working on TextAngel and going the extra distance to support multi-byte (and associated endian choice) pascal lengths is a pain. It's not worth it if it applies to very few, if any games.

Every pascal style implementation I've ever personally seen uses the standard single byte length. I see Atlas supports this, so maybe there is some other game out there. Unfortunately, Atlas does not support pascal lengths that include the length byte/s. I do support that option.

I wanted to throw it out there and see if this is as rare as a I believe it to be.
Klarth
Guest
« Reply #1 on: November 01, 2010, 01:35:24 am »

I've only seen multibyte pascal style strings in the windows driver development kit.  I just added the length option as a "just in case".  I wouldn't be surprised if there are games that use 16bit pascal lengths, but I haven't seen any.
Pages: [1]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC