home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 18 REXX
/
18-REXX.zip
/
cedit2.zip
/
Global_Set.DOC
< prev
next >
Wrap
Text File
|
1993-11-05
|
923b
|
32 lines
Hello, Hope this is of use.
Global_Set is a REXX procedure to standardize (and save me time
recoding everywhere) redundant initailizations.
See below for usage:
/* In Calling Program */
Initialize: Procedure Expose Global. LocalGlobal.
if Global_Set() <> 0 then do
Say 'Unable to Initialize!'
exit -1
end
numvar = rxVlist(, 'G', 'GlobalQueue')
What it does:
1) Sets ANSI Colors
2) Loads REXXUTIL functions
3) Loads YDBAUTIL functions
-- Needed to transfer Stem data to calling
4) Temporarily loads a DLL created by David Brouse (a co-worker of
mine)
-- Returns information from IBM Lan Server about the USER logged
on.
Be Aware:
1) You MUST have the YDBAUTIL.DLL for this routine to work.
-- On OS/2 Sharware BBS as RXU11.zip
2) You may need to comment or change the User information if you don't
have a network or you don't have IBM Lan Server.