defaulttext(
DEFAULT
,
TEXT
)

The defaulttext( function returns a text value, or returns a default value if the text value is empty (“”).


Parameters

This function has two parameters:

default – default value to use if the second parameter is empty.

text – primary text value


Description

This function returns a text value, or returns a default value if the text value is empty (“”).

defaulttext("714","213") ☞ 213
defaulttext("714","") ☞ 714

Note: This function is equivalent to:

?(thetext="",thedefault,thetext)

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.