Post 1 made on Wednesday January 14, 2009 at 11:40 |
pthornhill Long Time Member |
|
|
I' trying the following code to catch instance when the extender is not available - however "ext1 == null" is never true even when there's no network connection or no extender on the network.
var ext1 = CF.extender[1]; if (ext1 == null) {System.print("couldnt get the extender");} else {rest of code assuming extender is available}
What's the best way to catch instance where extender is not available, so you don't execute any further code which will error when extender doesn't respond?
|
|
|