mIRC Home    About    Download    Register    News    Help

Print Thread
/bdup - What is it for? (undocumented) #259914 10/02/17 03:02 PM
Joined: Aug 2016
Posts: 44
R
rockcavera Offline OP
Ameglian cow
OP Offline
Ameglian cow
R
Joined: Aug 2016
Posts: 44
Dear Khaled, I'm sorry for the inconvenience.

I noticed that there is a "/bdup" command that is not listed anywhere. It works with binary variables. I found that it was added in version 7.42. As far as I know, it does the same as "/bcopy -c &outbvar 1 &inbvar 1 $bvar(&inbvar,0)".

Syntax: /bdup <&inbvar> <&outbvar>

I discovered using debugging programs.

I wonder if this is the correct way to use it, and why was it added in the version 7.42 undocumented?


rockcavera
#Scripts @ irc.VirtuaLife.com.br
Re: /bdup - What is it for? (undocumented) [Re: rockcavera] #259915 10/02/17 04:40 PM
Joined: Dec 2002
Posts: 4,521
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 4,521
Yes, all it does is copy data between variables. If I recall correctly, I was using it to test binary variable features and it should have been commented out of the code. It will be removed in the next version.

Re: /bdup - What is it for? (undocumented) [Re: Khaled] #259918 10/02/17 04:57 PM
Joined: Aug 2016
Posts: 44
R
rockcavera Offline OP
Ameglian cow
OP Offline
Ameglian cow
R
Joined: Aug 2016
Posts: 44
Thank you for always replying.


rockcavera
#Scripts @ irc.VirtuaLife.com.br