This document describes the Texis Web Script (Vortex) language and
associated utilities. The information contained within may be updated
or changed in future versions.
Overview
Vortex Statements
Vortex Directives
Special Variables
$cmd
$cmdlnargs
$date
$errnum , $errscript , $errline etc.
$indexcount
$rows.min , $rows.max
$sqlresult. ... vars
$loop
$next
$null
$pathroot
$ret
$ret.count
$ret.seq
$ret.off
$ret.err , $ret.ownerid , $ret.owner , $ret.groupid , $ret.group , $ret.size , etc.
$ret.code , $ret.token , $ret.msg
$sourcepath
$url
$urlfunc , $urlext
$urlq
$urlroot
$userpath
$__FILE__
$__LINE__
$__SCRIPT__
$__FUNCTION__
$__OSTYPE__
$__OSNAME__
Builtin Functions
sum - return sum of variable values
fmt , strfmt - formatted output
fmtcp - set fmt control parameters
fmtinfo - get fmt control parameters
mm - enable/disable automatic hit markup
sb - enable/disable automatic search and replace
apicp - modify Metamorph query control parameters
apiinfo - get current Metamorph query control parameters
sqlcp - modify low-level SQL control parameters
pagelinks - paginate SQL results
flush - flush output
header - print HTTP header
rex , split - regular expression search
sandr - regular expression search and replace
strstr , strstri - find substring in string
substr - extract substring from string
strcmp , strcmpi - compare strings
strncmp , strnicmp - compare strings, fixed length
strlen - length of string
strrev - reverse string
upper - convert to upper case
lower - convert to lower case
strfold - fold string by case
strfoldcmp - compare strings folded by case
sort - sort variables
uniq , uniqcount - produce unique list of values
count - return number of variable values
strtonum - convert string to number
rand - generate pseudo-random number
randpick - return pseudo-random value of a variable
srand - seed the pseudo-random number generator
exit - exit program
fetch - fetch URLs
submit - submit HTML form
urlinfo - get detailed page info
urltext , urllinks - get formatted text, URL links
urlcp - modify URL control parameters
urlutil - URL/network utility
nslookup - domain name and IP address lookup
nsinfo - get info from last name lookup
options - print options list
radiobutton - print radio buttons list
checkbox - print checkbox list
doctype - print DOCTYPE declaration
cal - print a calendar with links
calrule - translate a calendar rule and iterate dates
calendar - print calendar form
caldate - create date list from calendar submission
clist - create comma-separated list
slist - create Metamorph set list
wordlist , wordcount , wordoccurrencecounts - get words and frequencies from index
createdb - create database
adminsql - execute arbitrary SQL
loguser - log user accesses
userstats - get user statistics
resetstats - reset user statistics
abstract - generate an abstract from text
rmcommon - remove common prefix/suffix from text
pwencrypt - encrypt/hash password Unix-style
encrypt - encrypt data
decrypt - decrypt data
readvars - read URL-encoded variables
varinfo - get miscellaneous variable information
getvar - get variable values
setvar - set a named variable
push - push values into a variable
pop - pop value off a variable
slice - get sequence of values from a variable
vxcp - set Vortex control parameters
vxinfo - get miscellaneous Vortex information
hash - produce a hash or checksum for data
geo2code - latitude/longitude encoding for regional search
code2geo - decode latitude/longitude encoding
pdfxml - convert Metamorph hit to PDF markup information
xtree - maintain sorted list of values
profiler - assist in searching query profiles
read - read files
send - print raw data
spew - print files
sleep - sleep for a while
sysinfo - get system-specific information
syscp - set system-specific information
sysutil - file and system utilities
stat - obtain file size and attributes
watchpath - watch a file or directory for changes
getpid - get process id
procexists - see if process exists
kill - terminate or send a signal to a process
loadavg - return system load averages
XML API
MIME API
refInfo API
Vortex Library Modules
Vortex Scheduling
Creating User Functions
Vortex Command Line Options
Vortex texis.ini Configuration Settings
Vortex Error Messages
Copyright © Thunderstone Software Last updated: Apr 15 2024