Skip to content

Instantly share code, notes, and snippets.

@pdimov
Created March 1, 2021 15:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pdimov/ad90d917ef26072e1d6f2259771a7799 to your computer and use it in GitHub Desktop.
Save pdimov/ad90d917ef26072e1d6f2259771a7799 to your computer and use it in GitHub Desktop.
> help
"Enter a variable name ('x', 'y', 'v', or 'm') to print its value; enter variable=value to assign a new value to a variable. Values are in JSON format."
> x
1
> x="foo"
Error: not a number
> x=1.4
Error: not exact
> x=2
> x
2
> y
3.14E0
> v
[1,2,3]
> m
{"BTC":4.489868E4,"ETH":1.38657E3}
> v=[1, 7, 11]
> v
[1,7,11]
> help=5
Error: 'help': variable is const
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment