-
Notifications
You must be signed in to change notification settings - Fork 49
Hashtable
Øyvind Kallstad edited this page Sep 15, 2017
·
5 revisions
A hashtable starts with @{
and ends with }
$myHashTable = @{
Name = $name
Email = $email
Phone = $phone
}
@{
and }
are scoped as punctuation.section.braces.begin and punctuation.section.braces.end respectively. The whole hashtable are give the scope of meta.hashtable and all the syntax rules are included within the braces.
Use
- Prerequisites
- Workflow
- Tests
- Comment
- String
- Numeric constant
- Type
- Function
- Command (Cmdlet)
- Class
- Enum
- Switch
- Array
- Hashtable
- Subexpression
- Control
- Variable
- Operator