Submodule_Methods_FldName

Type: Submodule Parent Module: ModuleCMethods

This submodule checks notation containing $objs.//myField// to determine whether a new object name ($name) was generated by the O7Analyzer library to fix bad characters. If so the name of the object is changed to the new name and the, now redundant, "//" delimeters are removed.

Functionality

Only window classes are processed. Searches all methods for commands containing "//".

For each such reference located:

  1. Determine the $name of the object within the "//" delimiters.
  2. Look up the object name in the file of bad object names "fBadControls"
  3. Change the code so that it uses the new $name of the object generated by the O7Analyzer library.

For example. Calculate #F as $topwind.$objs.//myFile.myField//.$backcolor.$assign(kRed).

Might be converted to Calculate #F as $topwind.$objs.myFile_myField.$backcolor.$assign(kRed).

Assumptions

  1. None.

User Setup Required for this Module

  1. None.