ive been trying to use a binvar to output a socket from a txt file, being data.txt. Anyhow, usually start and end end up being:
%start 3668
%end 3955
To return the text in between it ive been using $bvar... Idk if theres a char limit or something, but it keeps on saying:
* String too long: $bvar (line 32, cscript.mrc)
Line 32 being %read
alias csearchparse {
bread data.txt 0 $file(data.txt).size &var
set %start $calc($bfind(&var, 1, <H4>1.) + 6)
set %end $bfind(&var, 1, <H4>2.)
set %read $bvar(&var, %start, %end)
}
Is there another way around $bvar, or am I just using it wrong. I just thought the reason for using binvar was to maximise the number of chars, which in this case it doesnt. Thanks ahead of time