-
Notifications
You must be signed in to change notification settings - Fork 967
✏️ fix[typo]: Update tutorial-import-stl-named-module.md #4727
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
Conversation
The code snippets were incorrectly reversed. The snippet "$Env:VCToolsInstallDir\modules\std.ixx" is specific to PowerShell. In PowerShell, environment variables are accessed using the $Env: prefix. The snippet "%VCToolsInstallDir%\modules\std.ixx" is for the Command Prompt (CMD). In CMD, environment variables are enclosed in percent signs (%). So, the original phrase... "If you use PowerShell, substitute "$Env:VCToolsInstallDir\modules\std.ixx" for "%VCToolsInstallDir%\modules\std.ixx" is wrong and should be reversed.
@edmund-leibert : Thanks for your contribution! The author(s) have been notified to review your proposed change. |
Learn Build status updates of commit 67026a8: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
Feel free to let me know if my correction is incorrect. Other than this minor error, this tutorial was well written. Look forward to hearing your input! 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for correcting that. Most appreciated.
#sign-off |
#hold-off |
Actually, the original is correct. I made the same mistake you did when I read it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I modified the wording to hopefully make it more clear.
The original was correct, but obviously confusing as it tripped us both up.
Learn Build status updates of commit 1994036: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
#sign-off |
sorry - commented on an unrefreshed page |
The code snippets were incorrectly reversed.
The snippet
"$Env:VCToolsInstallDir\modules\std.ixx"
is specific to PowerShell. In PowerShell, environment variables are accessed using the $Env: prefix.The snippet
"%VCToolsInstallDir%\modules\std.ixx"
is for the Command Prompt (CMD). In CMD, environment variables are enclosed in percent signs (%).So, the original phrase...
is wrong and should be reversed to...