Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: amorphous
That doesn't seem to be the case with PS. The entire script is run through the complier before any code is executed.

This seems to produce faster running code, but imposes some "gotchas", as variable binding within script blocks happens at compile time before variables are populated. Variable types that are passed by value will be null if you don't re-close the script block over the variables at run time.

65 posted on 12/28/2015 5:29:25 PM PST by tacticalogic ("Oh bother!" said Pooh, as he chambered his last round.)
[ Post Reply | Private Reply | To 63 | View Replies ]


To: tacticalogic

I not familiar with it, so maybe it’s some hybrid of the two. But I doubt it, otherwise you lose advantages of a common interpreter sharing running code between multiple apps. Then again it may use some new way of executing code I’m unaware of. Maybe someone can chime in with more knowledge of how it works?


67 posted on 12/28/2015 5:43:11 PM PST by amorphous
[ Post Reply | Private Reply | To 65 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson