Menu

#60 Add 26 variables

0.6.5
open
nobody
None
2015-05-11
2015-05-10
Dennis
No

Since .A to .Z are currently unimplemented, there's room for 26 two-letter variables with useful default values.

Commonly used numbers:

100 1000 10000 1e6 1e9 128 256 65536 Y32# Y64# 5mq)2/

Commonly used strings:

"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz+/"
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"abcdefghijklmnopqrstuvwxyz"
"0123456789ABCDEF"
"0123456789abcdef"
"0123456789"
65536,:c
127c,32>
256c,

If implemented, the ranges of all positive and all non-negative integers would be useful.

Also, .X, .Y and .Z could contain the following blocks:

{q:.X}
{q~:.Y}
{[q~]:.Z}

And that's 26 already...

Discussion

  • user23013

    user23013 - 2015-05-11

    But .X.X is already as long as q:XX. There is no point to use it.

     
  • Dennis

    Dennis - 2015-05-11

    Unless you're in a loop.

    { … .X … }g
    
     

Log in to post a comment.

MongoDB Logo MongoDB