View Single Post
Old 01-22-2013, 12:02 AM   PM User | #10
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,200
Thanks: 59
Thanked 3,996 Times in 3,965 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
Yep. That indeed must be O.

Fun part is...after that, the upper/lower case of method and property names do not matter.

Code:
var fso = new ActiveXObject("Scripting.FileSystemObject")
var fl = fso.OpEnTeXtFiLe("c:\\inetpub\\wwwroot\\junk0.html");
Works just fine. As does fso.opentextfile or fso.openTextFile or whatever.
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is offline   Reply With Quote