PowerTip: Create a Number Array


Summary: Learn how to create a 16-bit integer array.

Hey, Scripting Guy! Question How can I specify the number 1 as a 16-bit integer array?

                      Hey, Scripting Guy! Answer Cast the number as an integer, and  then specify the array.

                                                $a=[int16[]][int16]1

Comments (1)

  1. Greg Wojan says:

    Why do you need the second cast?

    $a=[int16[]]1

    seems to work just fine…