Project

General

Profile

Actions

Added in 1.9.0

$ifmatch

Returns the first parameter of an if-then-else comparison.

Same as $v1, see also $ifmatch2.

Example

; In this case '$ifmatch' will be 'text' and '$ifmatch2' will be 'sometext'.
if (text isin sometext) {
  echo -ag ifmatch is $ifmatch2
}

Updated by Per Amundsen over 9 years ago · 1 revisions

Also available in: PDF HTML TXT