Creating the rciContains() routine

About this task

To create the rciContains() routine:

Procedure

  1. Choose Edit > Insert > Routine and enter the following information in the New Routine wizard.
    Routine Property Value
    Routine Name (SQL) rciContains
    Language C
    Return type Boolean
    Statement Local Variables No
    Arguments
    • Name: circle, Type: rciCircle, Default: none
    • Name: point, Type: rciPoint, Default: none
    Routine Calling Options Only the Routine does not accept NULL arguments check box must be checked; clear the Routine may return inconsistent check box.
    Routine Name (C) rciContains
    Shared object path Leave as default
    Behavior of Routines Well-behaved
    Special Stack Requirements None
    Cost of a Routine 0
    Related Routines None
    Object grant privileges Grant execute privileges
  2. Click Finish and then choose Project > Save to save your project.