Quick question about OBSE strings

Post » Tue May 17, 2011 2:37 pm

What's the maximum size of a string_var? That is, how many characters/bytes can it hold? 16k? 64k? unlimited? I looked through the OBSE docs but couldn't find the answer...

Thanks!
User avatar
Natasha Biss
 
Posts: 3491
Joined: Mon Jul 10, 2006 8:47 am

Post » Tue May 17, 2011 6:11 am

What's the maximum size of a string_var? That is, how many characters/bytes can it hold? 16k? 64k? unlimited? I looked through the OBSE docs but couldn't find the answer...

Thanks!

I'm pretty sure it's unlimited. String_Vars are basically specialised arrays.
User avatar
Becky Cox
 
Posts: 3389
Joined: Thu Jun 22, 2006 8:38 am

Post » Tue May 17, 2011 6:57 am

Max length is ~ 64k characters.
User avatar
Steve Bates
 
Posts: 3447
Joined: Sun Aug 26, 2007 2:51 pm

Post » Tue May 17, 2011 6:00 am

Max length is ~ 64k characters.

Thanks Scruggs. Now, to pester Kyoma to increase the size limit per volume in his journal mod. :poke:
User avatar
Dagan Wilkin
 
Posts: 3352
Joined: Fri Apr 27, 2007 4:20 am

Post » Tue May 17, 2011 12:43 am

Max length is ~ 64k characters.
But kMaxMessageLength is still only 0x4000 and the (journal related) functions all still use that as a cap. :(
User avatar
Leonie Connor
 
Posts: 3434
Joined: Mon Mar 12, 2007 4:18 pm


Return to IV - Oblivion