
How to: Create a New Variable - Visual Basic | Microsoft Learn
Sep 15, 2021 · How to: Create a New Variable (Visual Basic) You create a variable with a Dim Statement.
about_PSItem - PowerShell | Microsoft Learn
PowerShell includes the $PSItem variable and its alias, $_, as automatic variables in scriptblocks that process the current object, such as in the pipeline. This article uses $PSItem in the examples, but …
DECLARE @local_variable (Transact-SQL) - SQL Server
Nov 18, 2025 · The value can be a constant or an expression, but it must either match the variable declaration type or be implicitly convertible to that type. For more information, see Expressions.
New-Variable (Microsoft.PowerShell.Utility) - PowerShell
The New-Variable cmdlet creates a new variable in PowerShell. You can assign a value to the variable while creating it or assign or change the value after it is created.
Variables (Transact-SQL) - SQL Server | Microsoft Learn
Nov 18, 2025 · The scope of a variable is the range of Transact-SQL statements that can reference the variable. The scope of a variable lasts from the point it's declared until the end of the batch or stored …
Predefined variables - Azure Pipelines | Microsoft Learn
When you use a variable in a template that isn't marked as available in templates, the variable doesn't render. The variable doesn't render because its value isn't accessible within the template's scope.
Understand variables in canvas apps - Power Apps | Microsoft Learn
Aug 27, 2025 · To declare a variable and its type, just include it in any of these functions anywhere in your app. These functions don't create variables; they only fill variables with values. You never …
Set function - Power Platform | Microsoft Learn
Mar 22, 2024 · Use the Set function to set the value of a global variable, which temporarily holds a piece of information, such as the number of times the user has selected a button or the result of a data …
Define variables - Azure Pipelines | Microsoft Learn
Oct 27, 2025 · User-defined variables can be set as read-only. There are naming restrictions for variables (example: you can't use secret at the start of a variable name). You can use a variable …
Variables actions reference - Power Automate | Microsoft Learn
Jun 20, 2024 · To increase or decrease the value of a numeric variable, use the Increase variable and Decrease variable actions, respectively. Most actions output their result into a variable.