mIRC Home    About    Download    Register    News    Help

Print Thread
* String too long: $bvar #175905 30/04/07 12:49 PM
Joined: Sep 2006
Posts: 59
R
Rewtor Offline OP
Babel fish
OP Offline
Babel fish
R
Joined: Sep 2006
Posts: 59
Hey,

Ive made a script that read from a web page with sockread -fn into a $bvar
The only problem is with certain pages i get the error * String too long: $bvar

The error is called when i try to read data from it ($bvar(&Binvar,1-).text)

Any suggestions?

Re: * String too long: $bvar [Re: Rewtor] #175912 30/04/07 02:17 PM
Joined: Oct 2005
Posts: 1,741
G
genius_at_work Offline
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
You have to limit the number of characters you retrieve from the binvars. Regular mIRC identifiers can only handle about 900 character string lengths. Even though binvars can hold more, the rest of mIRC can't.

-genius_at_work

Re: * String too long: $bvar [Re: genius_at_work] #175920 30/04/07 03:08 PM
Joined: Sep 2006
Posts: 59
R
Rewtor Offline OP
Babel fish
OP Offline
Babel fish
R
Joined: Sep 2006
Posts: 59
So basically i need to make use of $bfind? smile

Re: * String too long: $bvar [Re: Rewtor] #175953 01/05/07 12:50 AM
Joined: Oct 2005
Posts: 1,741
G
genius_at_work Offline
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
I've never used binvars so I can't help you with the commands.

-genius_at_work