🔍
Dyadic sv (scalar from vector)
Joins vector elements into a scalar.
Syntax: <x> sv <y>
; sv[<x>; <y>]
whеre x
is a separation symbol, y
is a vector.
Examples with string:
o)"," sv ("a";"b";"c")
"a,b,c"
o)"" sv ("a";"b";"cd")
"abcd"
Numeric scalar from bits vector:
o)0b sv 0000000000000000000000000000000000000000000000000000000000000010b
2
o)0b sv 00000000000000000000000000000010b
2i
o)0x sv 010b
0x02
o)0f sv 0100000000010100000000000000000000000000000000000000000000000000b
5f
Guid from bits vector:
o)0b sv 00010010001010100001111110000100000100010100100001001010110111011011100000001000110111000100001100011111101000010100100100110100b
122a1f84-1148-4add-b808-dc431fa14934
o)0Ng sv 00010010001010100001111110000100000100010100100001001010110111011011100000001000110111000100001100011111101000010100100100110100b
122a1f84-1148-4add-b808-dc431fa14934
Temporal scalar from bits vector:
o)0p sv 0000100100001100001011100101100010110111111110000100010000110011b
2020.08.28D16:23:24.640379955
o)0d sv 00000000000000000001110101111001b
2020.08.28
o)0t sv 00000011100001000101011011100000b
16:23:24.640
Scalar from vector of bytes:
o)0x sv 0xf3eb1bab5f594fc2be35da66c409cda4
f3eb1bab-5f59-4fc2-be35-da66c409cda4
o)0Ng sv 0xf3eb1bab5f594fc2be35da66c409cda4
f3eb1bab-5f59-4fc2-be35-da66c409cda4
o)0x sv 0x090c2ee8ad1a7942
651947622933363010
o)0p sv 0x090c2ee8ad1a7942
2020.08.28D16:33:42.933363010
o)0x sv 0x000000000000000a
10
o)0x sv 0x4024400000000000
4621889486333149184
o)0f sv 0x4024400000000000
10.125