Product Documentation
Cadence SKILL Development Reference
Product Version IC23.1, June 2023

ilgPositionInComment

ilgPositionInComment( 
x_column 
x_row 
[ ?tab w_tab ]
) 
=> t / nil

Description

Checks if the specified coordinates (x_column x_row) fall within a comments block in the SKILL IDE document.

Arguments

x_column

Column coordinates of the specified location.

x_row

Row coordinates of the specified location.

w_tab

The window ID of the SKILL IDE editor window. Default is the current tab window.

Value Returned

t

The specified coordinates (x_column x_row) fall within a comments block in the SKILL IDE document.

nil

The specified coordinates (x_column x_row) do not fall within a comments block in the SKILL IDE document.

Examples

If the SKILL IDE editor window has the following text:

defun(test (x y "xx")
/* function test */
x + y
) ; return sum x and y
ilgPositionInComment(1 1)
=> nil
ilgPositionInComment(10 2)
=> t
ilgPositionInComment(8 4)
=> t

Related Topics

SKILL IDE Functions


Return to top
 ⠀
X