Please enable JavaScript to view this site.

R:BASE 11 Help

Navigation: Function Index > C

CVAL

Scroll Prev Top Next More

(CVAL('showkeyword'))

 

Returns the current value or setting of 'showkeyword'. You must either enclose the SHOW keyword in quotation marks or use a dot variable that has a TEXT data type to which you have assigned the SHOW keyword. You can use all SHOW keywords with CVAL, as well as DATABASE, DBPATH, CURRDIR.

 

The following keywords can be used for (CVAL('keyword')):

 

AND

ANSI

ANSIOUTPUT

AUTOCOMMIT

AUTODROP

AUTOSKIP

BELL

BLANK

BUILD

CASE

CHECKPROP

CLEAR

CLIPBOARDTEXT

CMPAUSE

COLCHECK

COLOR

COMPUTER

CONNECTIONS

CURRDIR

CURRDRV

CURRENCY

CURRENTPRINTER

DATABASE

DATE

DATE CENTURY

DATE FORMAT

DATE SEQUENCE

DATE YEAR

DBCOMMENT

DBPATH

DEBUG

DELIMIT

DRIVES

ECHO

EDITOR

EOFCHAR

EQNULL

ERROR

ERROR DETAIL

ERROR VARIABLE

ESCAPE

EXPLODE

FASTFK

FASTLOCK

FEEDBACK

FILES

FIXED

GUID

HEADINGS

IDQUOTES

INSERT

INTENSITY

INTERVAL

ISOWNER

LAST ERROR

LAST_MOD

LAST_SCHEMA_MOD

LASTBLOCKTABLE

LAYOUT

LINEEND

LINES

LOOKUP

MANOPT

MANY

MAXTRANS

MDI

MESSAGES

MIRROR

MULTI

NAME

NAMEWIDTH

NETGROUP

NETLOCALGROUP

NETUSER

NOCALC

NOTE_PAD

NULL

OLDLINE

ONELINE

OUTPUT

PAGELOCK

PAGEMODE

PASSTHROUGH

PLATFORM

PLUS

POSFIXED

PORTS

PRINTERS

PRN_Collation

PRN_ColorMode

PRN_Copies

PRN_DuplexMode

PRN_Orientation

PRN_Quality

PRN_Size

PRN_Source

PRN_Status

PROGRESS

QUALCOLS

QUALKEYS

QUALKEY TABLES

QUOTES

RBADMIN

REFRESH

REVERSE

ROWCOUNT

ROWLOCKS

RULES

SCRATCH

SCREENSIZE

SELMARGIN

SEMI

SERVER

SINGLE

SORT

SORTMENU

STATICDB

TABLELOCKS

TIME

TIME FORMAT

TIME SEQUENCE

TIMEOUT

TOLERANCE

TRACE

TRANSACT

UINOTIF

USER

USERAPP

USERDOMAIN

USERID

UTF8

VERIFY

VERSION

VERSION BITS

VERSION BUILD

VERSION SYSTEM

WAIT

WALKMENU

WHILEOPT

WIDTH

WINAUTH

WINBEEP

WINDOWSPRINTER

WRAP

WRITECHK

ZERO

ZOOMEDIT

 

 

Examples:

 

In the following example, the value of vcval is OFF if the value of MULTI is set to off.

 

SET VAR vcval = (CVAL('MULTI'))

 

In the following example, the user keyword is loaded into a variable and then the variable is used in the CVAL function. It returns the current user identifier.

 

SET VAR vword text = 'USER'

SET VAR vuser = (CVAL(.vword))

 

For more information about SHOW keywords, see SHOW.