Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SET Function #4

Open
gavbarnett opened this issue Jul 12, 2016 · 0 comments
Open

Add SET Function #4

gavbarnett opened this issue Jul 12, 2016 · 0 comments

Comments

@gavbarnett
Copy link
Collaborator

gavbarnett commented Jul 12, 2016

Implement SET function similar to CMD on windows.
This allows long strings or values to be reduced to simple variables.
Add SET and an associated memory space (array)
Add functionality to ECHO to decode variables

SET a=6
SET b=3
SET c=cat
ECHO %a%
6
ECHO %b%
3
ECHO a
a
Echo Thats a nice %c% that lives at %b% queens street.
Thats a nice cat that lives at 3 queens street.
SET  //prints all variables
a=6
b=3
c=cat

Later consider extending with math & array functions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant