flag

flag, function

def const dash pure flag(n: number): long

Returns a 64-set containing only the integer n.

Examples

table T = with
  [| as N |]
  [| 0 |]
  [| 42 |]

T.Set = text(flag(T.N))

show table "Flags" with
  T.N
  T.Set

This produces the following table:

N Set
0 {0}
42 {42}

Errors

n must be an integer between 0 and 63.

See also

User Contributed Notes
0 notes + add a note