The O7Analyzer performs the following pre-conversion tasks:
Check for format names containing: trailing spaces, periods, slashes and other bad characters. If format name is bad, generate a new name by stripping trailing spaces and/or converting periods and slashes to underscores.
Save the old and new names to the datafile table "fBadFormats" containing:
Save the values of any format properties that are lost during the core conversion process
Save the identity and value of the property to the datafile table "fLostProperties" containing:
Check for window field names containing: periods, slashes and other bad characters. (These are treated as bad format names above.)
Save the old and new names to the datafile table "fBadControls" containing:
Identify and fix duplicate procedure names. Identify and fix unnamed procedures. Check for procedure names containing: trailing spaces, periods, slashes and other bad characters. If a menu line shortcut key is prefixed by 1 or 2 spaces then remove them. (These are treated as bad format names above.) Duplicate procedures in a format are made unique by appending _1, _2 etc. to the name of the duplicate procedure.
Save the old and new names to the datafile table "fBadProcs" containing:
For each format, save the following information about all procedures to the datafile table "fProcs":
* Note that since the procedure text is not currently used by any Post-conversion task, the saving of it is currently disabled to reduce the size of the output datafile.
Find optional parameters without default values.
For each one, create entries in datafile table "fUninitedParms" containing:
When you read the $objinitval property of variables that contains the name of another variable this is normally returned as #???. This will attempt to obtain the real contents of the initial value by extracting it from the procedure code rather than the notational definition of the variable.
This will only be done for local and parameter variables. For each such variable found, create entries in datafile table "fInitVals" containing:
Check all procedures to determine if they call any field event handler procedures on windows in this or another library.
For each such call found, create entries in datafile table "fCalledEventHandlers" containing:
See also Post Conversion Tasks.