refCount

Syntax

refCount(varname)

Arguments

varname is a string indicating a variable name.

Details

Return the number of times a variable is referred to.

Examples

db=database("",VALUE,1 2 3)
refCount(`db);
// output
1

db1=db
db2=db
refCount(`db);
// output
3