[jawsscripts] pc_com scripts

Can anyone tell me what is wrong with the function IniWriteInteger ?
The compile states that Parameter one should be of type string not int.
I suspect FS has changed something somewhere with this and maybe other 
functions as well since 6.2.  I'm open to suggestions of all kinds.  BTW, I am 
using my own pcsws.jsm so I don't think the common.jsm would have any part in 
this issue.  I must be missing something obvious but I've probably looked at 
this too much and need a different view, thanks from anyone who is interested.  
Script SavePCSWSSettings ()
var int WriteSuccess 
let writeSuccess = IniWriteInteger (section_UserSettings, hKey_MarginAlertCol, 
MarginAlertCol, IniFileName)
IniWriteInteger (section_UserSettings, hKey_MarginAlertType, MarginAlertType, 
IniFileName)
IniWriteInteger (section_VerbositySettings, hKey_TerminalScreenEcho, 
TerminalScreenEcho, IniFileName)
IniWriteInteger (section_VerbositySettings, hKey_StatusLineEcho, 
StatusLineEcho, IniFileName)
if WriteSuccess then Say (msg308, OT_JAWS_MESSAGE) ; Application settings saved
else Say (msg309, OT_JAWS_MESSAGE) ; error saving application settings
endIf
EndScript

Oracle <http://www.oracle.com/> 
Don Mauck | Accessibility Evangelist 
Cross Applications Unlimited
7700 Technology Way
Denver CO 80237
Phone (303) 334-4184
Email don.mauck@xxxxxxxxxx 
 

Other related posts: