This shows you the differences between two versions of the page.
el:getslice [2020/02/28 10:46] |
el:getslice [2020/02/28 10:46] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== GetSlice ===== | ||
+ | ==== Format ==== | ||
+ | getslice(// | ||
+ | ==== Description ==== | ||
+ | Return a string that contains a Hexadecimal (base 16) representation of the rectangle defined by the parameters. | ||
+ | ==== Example ==== | ||
+ | < | ||
+ | color 16-1 | ||
+ | plot 1,1 | ||
+ | color 16^2-1 | ||
+ | plot 1,2 | ||
+ | color 16^3-1 | ||
+ | plot 2,1 | ||
+ | color 16^4-1 | ||
+ | plot 2,2 | ||
+ | print getslice(1, 1, 2, 2) | ||
+ | </ | ||
+ | displays | ||
+ | < | ||
+ | 0002000200000f000fff0000ff00ffff | ||
+ | </ | ||
+ | |||
+ | ==== See Also ==== | ||
+ | [[putslice|PutSlice]] | ||
+ | ==== New To Version ==== | ||
+ | 0.9.6b |