Anti-nuisance lawsuit warning: The purpose of these notes is to remind me, Zoegond, of stuff or to help me work stuff out. They may contain mistakes.

Quick

  • ($a, $b....) = unpack("A2A7...", $packed)
  • push( array, list )

Wednesday, November 17, 2010

JScript

Most of the time with JScript you are working with Windows objects and concepts rather than Javascript ones. Particularly note that you have to use the VB 'Collection' syntax, eg

WScript.Arguments.Item(0)

not

WScript.Arguments.Item[0]


(the latter will silently fail).

Yes, you can say

WScript.Arguments(0)

but that's just too unJavascriptish for me, I prefer to spell it out at length.

Followers

Blog Archive