PowerTip: Create a Number Array

PowerTip: Create a Number Array

  • Comments 1
  • Likes

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

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • Why do you need the second cast?

    $a=[int16[]]1

    seems to work just fine...