Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » HDi » Script   (RSS)

Fun Friends for Functions, Part 2: Handling Exceptions

Previously we looked at how you can bind a function to a set of arguments and then call the resultant function at some time in the future. This technique is very powerful, but as-is it is a ticking bomb. As Amy points out in her blog post on exception
Posted by ptorr | 0 Comments
Filed under: , ,

Fun Friends For Functions

And now for a more techy post. In ECMAScript, functions are considered first-class objects. "What," you might ask, "differentiates a 'first-class' object from a merely 'economy-class' object?" Well, the main thing is that functions in ECMAScript are treated
Posted by ptorr | 0 Comments
Filed under: , ,

Maintaining Callback Semantics

One of the key programming concepts in HDi is the use of asynchronous processing with callback functions. The HDi platform exposed to title authors is not multi-threaded (which helps reduce the complexity of writing applications), but many of the functions
Posted by ptorr | 0 Comments
Filed under: ,

Sliced bread ain’t got nuthin’ on this!

Forget being the best thing since sliced bread – this is the best thing ever . Well maybe not quite that good, but it's still darn cool! Finally – FINALLY! – you can get decent IntelliSense for JScript inside Visual Studio ! Holy hotcakes, Batman! This
Posted by ptorr | 3 Comments
Filed under: , ,

Using Timers Effectively in HDi

The use of timers in HDi applications is very common, and there are a few things you should keep in mind when using them to avoid performance issues when playing back your title. I will categorise these as: The autoReset problem The closure problem The
Posted by ptorr | 3 Comments
Filed under: ,

Simple ACA dumper

Quick one today – if you have an ACA with some files in it, you can use the createaca tool (provided as part of the Jumpstart Kit ) to list the files inside it. Trouble is that the output is not very helpful; it contains too much information. So here
Posted by ptorr | 0 Comments
Filed under: , ,
 
Page view tracker