cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
abrasha
Level 4

External obejct method is a reserved word of InstallScript!

Hi!

After I created an object using CoGetObject() I try to call its method:

objComputer.Delete("user", strUser);

but InstallScript editor automatically convert the method name to upper case:

objComputer.DELETE("user", strUser);

Now compiler raises error because of DELETE is a predefined constant!
:confused:

My questions:
1. How disable automatic converting to the "right" case of any word
2. What to do if a method-name of external object is exactly equal to reserved word (function, constant)?

Thank you
Labels (1)
0 Kudos
(1) Reply
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

To turn off automatic text case correction, right-click on some empty space in the InstallScript editor and click Properties. On the Properties dialog, go to the Language/Tabs tab and uncheck "Correct text case while typing language keywords" and click OK.
0 Kudos