Defining a VB .NET Preprocessing Symbol

You can define VB .NET preprocessing symbols and values in the preprocessing tab of the reverse engineering dialog box.

Symbol names are not case sensitive but they must be unique. Make sure you do not type reserved words like true, false, if, do and so on. You must always assign a value to a symbol, this value can be a string (no " " required), a numeric value, a boolean value or Nothing.

The list of symbols is saved in the model and will be reused when you synchronize your model with existing code using the Synchronize with Generated Files command.

For more information on the Synchronize with Generated Files command see Synchronizing a Model with Generated Files.

You can use the Set As Default button to save the list of symbols in the registry.

  1. Select Language > Reverse engineering VB .NET .

    The Reverse Engineering VB .NET dialog box is displayed.

  2. Click the Preprocessing tab, then click the Add a row tool to insert a line in the list.
  3. Type symbol names in the Name column.
  4. Type symbol value in the Value column.

    The Defined check box is automatically selected for each symbol to indicate that the symbol will be taken into account during preprocessing.



  5. Click Apply.


Created October 7, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com