Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Author Topic: Strings longer than 4096 chars?  (Read 2570 times)

0 Members and 1 Guest are viewing this topic.

rkitting

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 44
    • View Profile
Strings longer than 4096 chars?
« on: July 10, 2008, 09:24:06 AM »

Hi,

I'm storing long strings in variables in an .inc file and get an error when it is > 4096 chars. Is there a way to store bigger strings?
Thx.
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Strings longer than 4096 chars?
« Reply #1 on: July 10, 2008, 09:44:13 AM »

4096 is the limit for a string constant in a script (it's a script compiler limit, not engine limit). You can store longer strings by concatenating them.
Out of curiosity, what are you using such huge strings for?
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

rkitting

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 44
    • View Profile
Re: Strings longer than 4096 chars?
« Reply #2 on: July 10, 2008, 10:23:53 AM »

Am displaying text in a hand-held computer the actor carries around. Can also be scrolled and pages can be changed.

Thx a lot! :)
Logged
 

Page created in 0.038 seconds with 23 queries.