on 6d45ede help sign in
57 lines 2.0 kB history raw
1---
2navhome: /docs
3sort: 1
5---
7# `:sand`
9`{$sand p/term q/@}`; a constant, warm atom.
11### Produces
13A warm (variable) atom `q` with aura `a`.
15### Syntax by example
17Irregular. A table of examples:
19```
20@c UTF-32 ~-foobar
21@da 128-bit absolute date ~2016.4.23..20.09.26..f27b..dead..beef..babe
22 ~2016.4.23
23@dr 128-bit relative date ~s17 (17 seconds)
24 ~m20 (20 minutes)
25 ~d42 (42 days)
26@f loobean & (0, yes)
27 | (1, no)
28@p ~zod (0)
29@rd 64-bit IEEE float .~3.14 (pi)
30 .~-3.14 (negative pi)
31@rs 32-bit IEEE float .3.14 (pi)
32 .-3.14 (negative pi)
33@rq 128-bit IEEE float .~~~3.14 (pi)
34@rh 16-bit IEEE float .~~3.14 (pi)
35@sb signed binary --0b10 (2)
36 -0b101 (-5)
37@sd signed decimal --2 (2)
38 -5 (-5)
39@sv signed base32 --0v68 (200)
40 -0vfk (-500)
41@sw signed base64 --0w38 (200)
42 -0w7Q (500)
43@sx signed hexadecimal --0x2 (2)
44 -0x5 -5
45@t UTF-8 text (cord) 'foobar'
46@ta ASCII text (knot) ~.foobar
47@ub unsigned binary 0b10 (2)
48@uc bitcoin address 0c1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa
49@ud unsigned decimal 42 (42)
50 1.420 (1420)
51@uv unsigned base32 0v3ic5h.6urr6
52@uw unsigned base64 0wsC5.yrSZC
53@ux unsigned hexadecimal 0xcafe.babe
54```
56The `@uv` characters are `0-9`, `a-v`. The `@uw` characters are
57`0-9`, `a-z`, `A-Z`, `-` and `~`.