Back Forum Reply New

Limit of string length for writefilestart?

I need to add a lot of characters to a string, and write it to a file, but there seem to be a limit around 100.

What do I do?

[EDIT: Is it writefilestart which has a limit of 100 characters?]

Tin2tin

I found out that it's writefile(start), which has this limitation. Run this script and see that the resulting fil will be missing the last characters. Can this limit be raised?Code:
ovText = quot;1 ----------------------------quot;+chr(13)+
\ quot;2 ----------------------------quot;+chr(13)+
\ quot;3 ----------------------------quot;+chr(13)+
\ quot;4 ----------------------------quot;+chr(13)+
\ quot;5 ----------------------------quot;+chr(13)+
\ quot;6 ----------------------------quot;+chr(13)+
\ quot;7 ----------------------------quot;+chr(13)+
\ quot;8 ----------------------------quot;+chr(13)+
\ quot;9 ----------------------------quot;+chr(13)+
\ quot;10 ----------------------------quot;+chr(13)+
\ quot;11 ----------------------------quot;+chr(13)+
\ quot;12 ----------------------------quot;+chr(13)+
\ quot;13 ----------------------------quot;+chr(13)+
\ quot;14 ----------------------------quot;+chr(13)+
\ quot;15 ----------------------------quot;+chr(13)+
\ quot;quot;
Blankclip(length=128, width=32,height=32, fps=25)
writefilestart(quot;C:\test.txtquot;,quot;ovtextquot;)The writefile* functions have a limit of 16 strings upto 254 chars each. These are in a static buffer. It could be increased but there needs to be a rational limit.

Thanks, it might be a good idea to increase the number of characters.

I found a workaround using the 'append=true' function.

But thanks for clearing this up for me.

Tin2tin
¥
Back Forum Reply New