Variable naming [fixed]
jochem4207
Posts: 47
I work with collegeaus on a project. Like almost everyone does. He used some variable naming when building up the project. Now i'm giving it the finishing touch so I renamed some variables.
For example:
From:
PluginServicePortValue
To:
PLS_PortValue
And my whole script stopped working. I've tested and broke my head about it. But I think (still need to run some more tests) that redgate doesn't like to have underscores in the variable names.
Is it me this time? Or is it something that is not yet implemented?
And thanks for noting my other bug on your important board
For example:
From:
PluginServicePortValue
To:
PLS_PortValue
And my whole script stopped working. I've tested and broke my head about it. But I think (still need to run some more tests) that redgate doesn't like to have underscores in the variable names.
Is it me this time? Or is it something that is not yet implemented?
And thanks for noting my other bug on your important board
Comments
http://documentation.red-gate.com/displ ... -Variables
You can either modify your PowerShell to not have the underscore, or alternatively, use the other way to access the variable.