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

feat: different variable scope #52

Open
3 tasks
Jan0660 opened this issue Apr 30, 2023 · 0 comments
Open
3 tasks

feat: different variable scope #52

Jan0660 opened this issue Apr 30, 2023 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@Jan0660
Copy link
Owner

Jan0660 commented Apr 30, 2023

Allow variables to have a scope specified like $global:profile_path.

  • global for variables in the global scope
  • current for the current scope, e.g. { $h = 1; { $local:h =2; print $local:h; } print $h; } would result in 2 and 1 being printed
  • (RCaron.Shell) env for setting and getting environment variables
@Jan0660 Jan0660 added this to RCaron Apr 30, 2023
@Jan0660 Jan0660 added this to the v0.2.0 milestone Apr 30, 2023
@Jan0660 Jan0660 added the enhancement New feature or request label Apr 30, 2023
@Jan0660 Jan0660 moved this to Todo in RCaron Apr 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant