Hello people I'm having a problem trying to parse the whole content of a binary variable into a .txt file.

The length of the bin var is 3779 and when my script executes
the following command:
write $mircdirsc.txt $bvar(&read,1,3779).text

I get an error like:
* String too long: $bvar (line 29, script1)

Any help will be much appreciated smile