View Single Post
Old 05-14-2007   #122 (permalink)
goldfndr
Knight Tooth Puller
 
goldfndr's Avatar
 
Join Date: Aug 2004
Location: Bellevue, WA, USA
Posts: 182
Quote:
Originally Posted by eureka
Microsoft VBScript runtime error.
Wrong number of arguments or invalid property assignment: "DegDirection"
Line:1 Char:1
SCode 800A01C2
Thanks for the bug report. My bad -- insufficient (zero?) testing.

In ns04speech.vbs, change line 413 (or so) from:

& strDirection(DegreesToCompass(DegDirection(OldLat, NowLat, OldLon, NowLon),TellDirection))

to:

& strDirection(DegreesToCompass(DegDirection(), TellDirection))

and that will take care of the DegDirection error. The function DegDirection is defined in ns04master.vbs without any parameters.
__________________
For quickest response, catch me on IRC: #wigle

Last edited by goldfndr : 05-14-2007 at 08:26 PM.
goldfndr is offline   Reply With Quote