Eval Function Reference Index

Please see the introduction of the Eval Function Reference for a description of the function reference format.

FunctionDescription
binToTxt
Converts binary data to text (for insertion into a database). 
ceil
Rounds a number to the nearest integer with greater absolute value 
concat
Concatenates a variable number of strings 
cos
Calculates the cosine of an angle given in radians 
crypt
One way encryption for added security with passwords 
delete
Calls deconstructor and deletes an object 
downcase
Converts a string into lowercase 
dtAddDays
Returns a date a given number of days from a specified date 
dtDaysInMonth
Returns the number of days in the month of a specified date 
dtEpoc
Returns the number of days since Jan 1 1970 for the current or given date 
dtFormatMonth
Converts between different month formats 
dtFormatTime
Returns the given time according to the format string 
dtFullWeekday
Returns the full weekday name for a given weekday number 
dtLegalDate
Returns true if the specified date is valid 
dtNextDayOfWeek
Returns the date of the next given day of the week after the specified date 
dtStrFromDate
Returns the specified date (and time if supplied) according to the format string 
dtStrFromEpoc
Returns specified date (days since Jan 1, 1970) according to the format string 
dtStrFromNow
Returns today's date and time according to the format string 
dtStrFromTime
Returns specified date and time (seconds since Jan 1, 1970) according to the format string 
dtTime
Returns the number of seconds since Jan 1 1970 for the current or given date and time 
dtToday
Returns today's date in mm-dd-yyyy format 
escapeQuote
Escapes the quotes in a string appropriate for use in SQL statements 
eval
Executes a dynamic Eval command 
execCmd
Executes a shell command and captures STDOUT 
execSteelBlue
Executes a command-line SteelBlue page 
fileExists
Checks for existence and readability of a file 
find
Returns the location of a specified substring in a string. 
floor
Rounds a number to the nearest integer with lesser absolute value 
flush
Flushes the STDOUT buffer 
formatNum
Formats a number using sprintf format strings. 
getConfig
Gets the value of a configuration variable 
getEnv
Gets the value of an environment variable 
getSequence
Simulates a sequence using Access or mySQL autonumber columns. 
group
Returns true if the user is part of a list of comma separated groups 
invalidateCache
Invalidates (deletes) previously cached SteelBlue pages. 
length
Determines length of a binary string 
loadFile
Loads the contents of a file into a string (in binary mode) 
makeHREF
Creates a URL to access a given SteelBlue screen 
mod
Performs the 'mod' operation 
my
Declares variables in the local scope 
nextKey
Iterates through the keys of an associative array 
print
Prints (binary) strings to STDOUT 
rand
Returns a random integer 
regExpFind
Returns true if a specified regular expression matches a given string 
regExpGrab
Executes regular expression search and returns a matched pattern string 
regExpReplace
Executes regular expression search and replace on a string 
removeSpaces
Removes leading spaces from a string 
return
Exits currently executing function and returns the given value 
return2BR
Converts newlines to BR tags in a string 
round
Rounds a number to the nearest integer 
saveFile
Saves a binary file on the server. 
sin
Calculates the sine of an angle given in radians 
sql
Executes an arbitrary SQL command (no data returned) 
strcmp
Compares two strings for lexicographic order 
su
Change the active username and institution of the user 
substr
Returns a specified substring of a string 
timestwo
Integer multiplication by 2 (example function in DynamicFuncEvaluator.cpp) 
txtToBin
Converts text data (processesd by binToTxt()) back to binary. 
unpad
Removes a possible leading 0 from numbers 
upcase
Converts a string into uppercase