home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 18 REXX
/
18-REXX.zip
/
vxdemo.zip
/
SYSTEM.$$$
/
FUNCTION.MTC
< prev
next >
Wrap
Text File
|
1993-09-15
|
8KB
|
119 lines
VX-REXX built in functions
Arithmetic;Binary to hexadecimal conversion;B2X_retval_Binary;RF1Parm
Arithmetic;Character to decimal conversion;C2D_retval_String_N;RF2Parm
Arithmetic;Character to hexadecimal conversion;C2X_retval_String;RF1Parm
Arithmetic;Decimal to character conversion;D2C_retval_number_Length;RF2Parm
Arithmetic;Decimal to hexadecimal conversion;D2X_retval_number_Length;RF2Parm
Arithmetic;Find the largest of a set of numbers;Max;MinMax
Arithmetic;Find the smallest of a set of numbers;Min;MinMax
Arithmetic;Format a number;Format_number_Number_Before_After_ExpPlace_ExpTrig;RF5Parm
Arithmetic;Get a random number;Random_number_Min_Max_Seed;RF3Parm
Arithmetic;Get the absolute value of a number;Abs_absval_Number;RF1Parm
Arithmetic;Get the current setting of Numeric Digits;Digits_digits;RF0Parm
Arithmetic;Get the current setting of Numeric Form;Form_form;RF0Parm
Arithmetic;Get the current setting of Numeric Fuzz;Fuzz_fuzz;RF0Parm
Arithmetic;Get the sign of a number;Sign_sign_Number;RF1Parm
Arithmetic;Hexadecimal to binary conversion;X2B_retval_HexString;RF1Parm
Arithmetic;Hexadecimal to character conversion;X2C_retval_HexString;RF1Parm
Arithmetic;Hexadecimal to decimal conversion;X2D_retval_HexString_Length;RF2Parm
Arithmetic;Perform a bit by bit AND;BitAnd_retval_Number1_Number2_Pad;RF3Parm
Arithmetic;Perform a bit by bit OR;BitOr_retval_Number1_Number2_Pad;RF3Parm
Arithmetic;Perform a bit by bit XOR;BitXor_retval_Number1_Number2_Pad;RF3Parm
Arithmetic;Truncate a number;Trunc_newnumber_Number_Decimals;RF2Parm
Debugging;Return a specified line from a source file;SourceLine_line_LineNum;RF1Parm
Debugging;Trace function;Trace;Trace
Dialog;File selection dialog;VRFileDialog;VRFileDi
Dialog;Message dialog;VRMessage;VRMess
Dialog;Multiline message dialog;VRMessageStem;VRMessSt
Dialog;Prompt dialog;VRPrompt;VRPrompt
Environment;Get the name of the host environment;Address_env;RF0Parm
Environment;Redirect standard output;VRRedirectStdIO;VRRedire
Environment;Restore directory and environment variables;EndLocal_ok;RF0Parm
Environment;Return the last error message;VRError_error;NoParmsF
Environment;Set directory and environment variables;SetLocal_ok;RF0Parm
File;Change the attributes on a file;VRChAttr;VRChAtt
File;Change the current directory;VRChDir_ok;DirFunc
File;Change the current drive;VRChDrive_oldDrive;DrivFunc
File;Copy a file or group of files;VRCopyFile;VRCopyF
File;Create a file;VRCreateFile_ok;FileFunc
File;Delete a file;VRDeleteFile_ok;FileFunc
File;Determine if a directory exists;VRIsDir_ok;DirFunc
File;Determine if a file exists;VRFileExists_ok;FileFunc
File;Expand a file name;VRExpandFileName_filename;FileFunc
File;Find a file;VRFindFile;VRFindF
File;Get a directory listing;VRDir;VRDir
File;Get or change the current directory;Directory_dir_NewDir;RF1Parm
File;Get the current directory;VRCurrDir_dir;DrivFunc
File;Get the current drive;VRCurrDrive_drive;NoParmsF
File;Make a new directory;VRMkDir_ok;DirFunc
File;Parse a file name;VRParseFileName;VRParse
File;Remove a directory;VRRmDir_ok;DirFunc
File;Rename a file or group of files;VRRenameFile;VRRename
File;Set a file date and time;VRFileDate;VRFileD
Object;Get information on the last event;VRInfo;VRInfo
Object;Get the file for the current window;VRWindowPath_filename;NoParmsF
Object;Get the handle for the current window;VRWindow_window;NoParmsF
Object;Load a secondary window;VRLoadSecondary;VRLoads
Object;Load a window;VRLoad;VRLoad
Queues;Get the number of lines in current queue;Queued_lines;RF0Parm
REXX Constructs;DO ... END construct;simple-do;RXCONS
REXX Constructs;DO 100 ... END construct;simple-iterative-loop;RXCONS
REXX Constructs;DO FOREVER ... LEAVE ... END construct;do-forever-leave;RXCONS
REXX Constructs;DO i = 1 TO 100 ... END construct;unconditional-iterative-loop;RXCONS
REXX Constructs;DO i = 1 TO 100 BY 1 FOR 100 ... END construct;conditional-iterative-loop-with-by-for;RXCONS
REXX Constructs;DO i = 1 TO 100 UNTIL construct;conditional-iterative-loop-with-until;RXCONS
REXX Constructs;DO i = 1 TO 100 WHILE construct;conditional-iterative-loop-with-while;RXCONS
REXX Constructs;DO UNTIL ... END construct;do-until;RXCONS
REXX Constructs;DO WHILE ... END construct;do-while;RXCONS
REXX Constructs;IF-THEN construct;if-then;RXCONS
REXX Constructs;IF-THEN-ELSE construct;if-then-else;RXCONS
REXX Constructs;SELECT-WHEN-OTHERWISE construct;select-when;RXCONS
Streams;Find the length of a stream;Chars_length_IOStream;RF1Parm
Streams;Find the number of lines in a stream;Lines_lines_IOStream;RF1Parm
Streams;Get or set information for a stream;Stream;Stream
Streams;Read a character in from a stream;CharIn_char_IOStream_Start_Length;RF3Parm
Streams;Read a line in from a stream;LineIn_line_IOStream_First_Count;RF3Parm
Streams;Write a character out to a stream;CharOut_count_IOStream_String_Start;RF3Parm
Streams;Write a line out to a stream;LineOut_count_IOStream_String_First;RF3Parm
String manipulation;Center a string;Center_centerstr_String_Length_Pad;RF3Parm
String manipulation;Check if a string uses only certain characters;Verify_position_String_CharSet_Option_Start;RF4Parm
String manipulation;Check if string2 is an abbreviation of string1;Abbrev_ok_String1_String2_Length;RF3Parm
String manipulation;Compare two strings;Compare_firstdif_String1_String2_Pad;RF3Parm
String manipulation;Delete a substring from a string;DelStr_newstring_String_Start_Length;RF3Parm
String manipulation;Delete words from a string;DelWord_newstring_String_StartWord_NumWords;RF3Parm
String manipulation;Find the first occurrence of one string in another;Pos_position_Substring_String_Start;RF3Parm
String manipulation;Find the last occurrence of one string in another;LastPos_position_Substring_String_Start;RF3Parm
String manipulation;Get a specified word from a string;Word_word_String_WordNum;RF2Parm
String manipulation;Get a substring from a string;SubStr_substring_String_start_length_Pad;RF4Parm
String manipulation;Get all characters in a range;XRange_chars_Start_End;RF2Parm
String manipulation;Get the leftmost characters from a string;Left_newstring_String_Length_Pad;RF3Parm
String manipulation;Get the length of a specified word;WordLength_length_String_WordNum;RF2Parm
String manipulation;Get the length of a string;Length_length_String;RF1Parm
String manipulation;Get the location of a phrase in a string;WordPos_wordnum_Phrase_String_Start;RF3Parm
String manipulation;Get the number of words in a string;Words_words_String;RF1Parm
String manipulation;Get the position of a specified word;WordIndex_position_String_WordNum;RF2Parm
String manipulation;Get the rightmost characters from a string;Right_newstring_String_Length_Pad;RF3Parm
String manipulation;Get words from a string;SubWord_newstring_String_StartWord_NumWords;RF3Parm
String manipulation;Insert one string into another;Insert_newstring_New_Target_Start_Length_Pad;RF5Parm
String manipulation;Make multiple copies of a string;Copies_string_Original_Copies;RF2Parm
String manipulation;Overlay one string onto another;Overlay_newstring_New_Target_Start_Length_Pad;RF5Parm
String manipulation;Perform a translation on a string;Translate_newstring_String_outTable_inTable_Pad;RF4Parm
String manipulation;Put characters between words in a string;Space_newstring_String_NumChars_Pad;RF3Parm
String manipulation;Reverse a string;Reverse_newstring_String;RF1Parm
String manipulation;Strip leading or trailing characters;Strip;Strip
System;Delete an entry from an INI file;VRDelIni;VRDelIni
System;Get a disk label;VRDiskLabel_label;DrivFunc
System;Get an entry from an INI file;VRGetIni;VRGetIni
System;Get error text for a REXX error number;ErrorText_text_ErrNumber;RF1Parm
System;Get info about the current trapped condition;Condition;Conditio
System;Get information about a disk;VRDiskInfo;VRDiskI
System;Get the date;Date;Date
System;Get the time;Time;Time
System;Get the version of a VX-REXX DLL;VRVersion_version;FileFunc
System;Make a beep noise;Beep_ok_Frequency_Duration;RF2Parm
System;Set an entry in an INI file;VRSetIni;VRSetIni
Variables;Check the data type of a quantity;Datatype_type_Value_Type;RF2Parm
Variables;Check the state of a symbol;Symbol_state_Name;RF1Parm
Variables;Get an argument passed to a procedure;Arg;Arg
Variables;Get the value of a symbol;Value_value_Name_NewValue_Selector;RF3Parm