Project

General

Profile

Actions

Feature #5520

closed

/bset suggestion for 16bits + 32bits numbers

Added by westor (GR) over 2 years ago. Updated over 2 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Scripting
Target version:
Start date:
04/03/2022
Due date:
% Done:

0%

Estimated time:
Operative System:
All

Description

Hello,

If its possible for AdiIRC to having some new switches that will treat a value above 255 as 16bits or 32bits number for little/big endian, this is going to help a lot as AdiIRC already having some extra properties for reading.

Description :

-w = word, 16 bits little endian
-nw = word, 16 bits big endian
-l = word, 32 bits little endian
-nl = word, 32 bits big endian

OR

-l16 -l32 = word, 16 or 32 bits little endian
-b16 -b32 = word, 16 or 32 bits big endian

Examples :

//bset -w &a -1 256 | echo -ag $bvar(&a,1-) should produce 0 1
//bset -nw &a -1 256 | echo -ag $bvar(&a,1-) should produce 1 0
//bset -l &a -1 256 | echo -ag $bvar(&a,1-) should produce 0 1 0 0
//bset -nl &a -1 256 | echo -ag $bvar(&a,1-) should produce 0 0 1 0

- Thanks!

Actions

Also available in: Atom PDF