Programmer Guide/General Descriptions/Find Expressions: Difference between revisions

From STX Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 32: Line 32:
{|style="margin-left:1.5em;"
{|style="margin-left:1.5em;"
|-
|-
|<code><var>fieldid</var>:<var>cond</var>:<var>mask</var></code>
|<var>fieldid</var><code>:</code><var>cond</var><code>:</code><var>mask</var>
|Match the value of a string field (type <code>NAME</code> or <code>STRING</code>).{|
|Match the value of a string field (type <code>NAME</code> or <code>STRING</code>).{|
|-
|-

Revision as of 15:49, 28 April 2014

cexpr Description
fieldid:cond
fieldid name or index of a defined field
cond = (is assigned), ! (is not assigned)
fieldid:cond:value
fieldid name or index of a numerical field (0 for simple tables)
cond <, <=, ==, !=, >= or ></code>
value a number or numerical expression, or a string.
fieldid:cond:mask
fieldid name or index of a string field (0 for simple tables)
cond =I match, ignoring case
!I do not match, ignoring case
=R match, respecting case
!R do not match, respecting case
mask match string, may contain wildcard characters. if field is of type name, mask must be a valid name

Navigation menu

Personal tools