Dear,
New format
quote:


ScriptLogic Functions (c) 2002 - scripting@wanadoo.nl 2.07

abs Mathematical absolute value.
N allflags Given two numbers, returns a boolean true if ALL the '1' bits in the second number are set in the first number, else returns a boolean false.
N anyflags Given two numbers, returns a boolean true if ANY of the '1' bits in the second number are set in the first number, else returns a boolean false.
N arrayenumkey Creates an array of names of the subkeys contained in a registry key or subkey
N arrayenumvalue Creates an array of names of the registry entries contained in a registry key or subkey
ascan Searches all elements of an array for a matching expression.
asort Sorts the elements of the array.
N cnvtbase Converts numbers from any base (2-36) to any base (2-36). i.e. base 2=binary, 8=octal, 10=decimal, 16=hex, etc.
N cnvtbase2 Within the numeric and string limits of KiXtart, converts any numeric base to any other numeric ase.
comparefiledates Compares the dates of two files.
compareversions Compares two multi-segment version strings.
datemath Performs mathematical computations on a date or computers days between two dates.
day Returns the day portion of a specific date.
displaytext Displays text at specified coordinates (or centered on row). Color may be optionally specified.
exp Mathematical Exponentiation
N flip_currency Add or remove the currency symbol (as defined in your system setup) in a number.
N flip_dec Add or remove the decimal character (as defined on your system) in a number/string.
N flip_numsep Add or remove number separators (i.e. commas for U.S.) in a number.
N flip_sertime Given a time, returns seconds since midnight. Given seconds since midnight, returns a time.
N fmt Given a string and formatting codes, returns a formatted string.
getdefaultprinter Gets the name of the current user's default Windows printer.
getfileext Returns only the filename's extension, given a filespec.
getfilename Returns the filename-only portion of a given filespec.
getfilepath Returns the path-only portion of a given filespec.
getfoldersize Return the total bytes consumed by the files in a folder tree.
N getlinecount Counts the lines in a given text file.
N getlines Gets a line or range of lines from a text file.
getservicestartup Returns the startup state of any service, given its 'short' name.
getsoftwarelist Return and array consisting of the software programs installed on the client.
iif Also known as an Immediate IF, this function evaluates a logical expression and then returns one of two results.
ingroups Checks whether the user is a member of a group, given a list of one or more groups.
instring Scans a string for the presence of a second string.
isunc Indicates whether the given path is a UNC or not.
join Combine the elements from an array into a single, concatenated string.
joinrev Combine the elements from an array (in reverse order) into a single, concatenated string.
makepath Creates a multi-level directory structure on a local or remote system.
mapdrv Briefly describe the action of the function.
mod Mathematical modulus
month Returns the month portion of a specific date.
monthname Returns the month name, given a specific date or number.
numsep Inserts thousand separators in a number.
occurs Calculates the number of times a string occurs within another string, element or all the elements of an array.
ordinal Takes a number and returns the named series of that number (e.g.: 1st, 2nd, 53rd, 89th, etc.).
queryhotfix Queries the installation of a specific Operating System Hot Fix or displays all Hot Fixes installed on the specified computer.
U repeat Returns a string composed of specified character(s) repeated n times.
serialdate Convert dates to numbers (and back) for the purpose of performing date math.
serialtime Convert time to numbers (and back) for the purpose of performing time math.
U strip Removes (by default) all punctuation from a given string. However, any list of characters may be specified for removal.
stuff Allows to add, replace, remove or substitute characters of one text string with another.
U unique Creates a zero-length unique-named file in the specified directory and returns the fully qualified file spec.
verbosedate Returns a verbose representation of a specific date. Example: "April 1st, 2001".
wait Pauses script execution for a specified number of seconds or until a key is pressed.
U word Returns the nth word from a string.
U words Count the number of words in a text string.
N write Send a string to one ore more destinations.
xor Performs a binary Exclusive Or on two numbers.
year Returns the year portion of a specific date.

Functions 57 20020227 (14 new entries/5 updated entries)




greetings.

Last updated 27 February 2002

_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA