Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
String Arrays and memory
#5
(03-01-2021, 07:59 AM)boriel Wrote:
(02-28-2021, 05:43 PM)RandomiserUsr Wrote: Thank you Boriel for you response.

I have actually just now progressed further.
Seems there is a limit on DIM A$(100) character width  i.e.

Code:
A$(1) =" 160(about) Characters" 

one string had 205 characters so I thought just cut it down bit by bit to see if it was an issue and it was.
I have a print routine which has a print to a "window" which has a word wrap so I expect it was the word wrap that is causing the pain.

I have a work around but interested to know if my thoughts were correct or not?


Regards
Ken
There should be no limit in character length. Strings are limited to 65535 (64K) length. This is either a bug on the compiler or a problem with the heap.

Can you please send me a code snippet which reproduces de issue, plz?
Hi boriel thanks for this and sorry I've not been on *health issues* 

I have not been able reproduce this again so perhaps it was a glitch ?

Thank you for this :-)
Reply


Messages In This Thread
String Arrays and memory - by RandomiserUsr - 02-27-2021, 10:51 PM
RE: String Arrays and memory - by boriel - 02-28-2021, 05:02 PM
RE: String Arrays and memory - by RandomiserUsr - 02-28-2021, 05:43 PM
RE: String Arrays and memory - by boriel - 03-01-2021, 07:59 AM
RE: String Arrays and memory - by RandomiserUsr - 03-06-2021, 12:21 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)