home *** CD-ROM | disk | FTP | other *** search
-
- FAT-DOS 1.0 ALLMEM PAGE A-1
-
-
-
- ALLMEM - Allocates memory dynamically at run-time.
-
- integer*2 Npar,Seg,Maxpar
- call AllMem(Npar,Seg,Maxpar)
-
- call with:
- Npar - Number of Paragraphs(16 bytes) to allocate.
-
- returns:
- Seg - Segment address of 1st paragraph, or an error code.
- Error Code: 7 - memory control blocks destroyed.
- 8 - insufficient memory.
- Maxpar - Maximum number of available paragraphs, if allocation
- failed, otherwise the actual number of paragraphs allocated.
-
- example: Npar = 10
- call AllMem(Npar,Seg,Maxpar)
- if(Seg .eq.7 .or. Seg.eq.8)go to 1000
-
-
-
- FREMEM - Free memory allocated via AllMem.
-
- integer*2 Seg,Ierr
- call FreMem(Seg,Ierr)
-
- call with:
- Seg - Starting paragraph of memory block allocated with AllMem.
-
- returns:
- Ierr - Error code = 0 -safe return, memory free'd
- 7 -memory control blocks destroyed
- 9 -incorrect segement address
- example:
- NPAR = 16
- call ALLMEM(NPAR,SEG,MAXPAR)
- if(SEG.eq.7.or.SEG.eq.8)go to 900
- call pokeb(Int2(0),Seg,Value)
- .
- .
- call FREMEM(SEG,IERR)
- if(IERR.ne.0)go to 1000
- FAT-DOS 1.0 MODMEM PAGE A-2
-
-
- MODMEM - Modify size of previously allocated memory block.
-
- integer*2 NPAR,SEG,MAXSEG,IERR
- call MODMEM(NPAR,SEG,MAXPAR,IERR)
-
- call with:
- NPAR = desired modified memory size in paragraphs
- SEG = seg of current memory block
-
- returns:
- MAXPAR = maximum no. of paragraphs available(if error)
- IER = 7 memory control blocks destroyed
- = 8 insufficent memeory
- = 9 incorrect seg
-
- example: NPAR = 512
- call ALLMEM(NPAR,SEG,MAXPAR)
- .
- .
- NPAR = 16
- call MODMEM(NPAR,SEG,MAXPAR,IERR)
-
-
- PEEKB - Get a byte value from memory.
-
- integer*2 OFF,SEG,VALUE
- call PEEKB(OFF,SEG,VALUE)
-
- call with:
- OFF - offset value from start of segment, <=64k
- SEG - segment value of byte location, <=64k
-
- returns:
- VALUE - the byte value is stored in the lower byte of the
- integer*2 value and the high byte is zeroed.
-
- example:
- call PEEKB(Int2(0),Int2(#B800),VALUE)
- This call returns the ascii value of the character stored
- in the 1st byte of the CGA adapter memory, at row 0, col 0
- of the screen.
-
- Notes: An integer*2 is signed and may range from -32k to +32k.
- If the segment or offset values exceed this amount you should
- declare the segment and offset as integer*4.
- i.e.
- integer*4 SEG,OFF
- integer*2 VALUE
- SEG = #B800 <--- .gt. 32k
- OFF = 0
- call PEEKB(OFF,SEG,VALUE)
-
- FAT-DOS 1.0 PEEKW PAGE A-3
-
-
- PEEKW - Get a word value from memory.
-
- integer*2 OFF,SEG,VALUE
- call PEEKW(OFF,SEG,VALUE)
-
- call with:
- OFF - offset value from start of segment, <=64k
- SEG - segment value of word location, <=64k
-
- returns:
- VALUE - the word value is returned in this argument.
-
- example:
- call PEEKW(Int2(0),Int2(#0800),VALUE)
- This call returns word stored at SEG= Hex 0800, OFF=0.
-
- Notes: An integer*2 is signed and may range from -32k to +32k.
- If the segment or offset values exceed this amount you should
- declare the segment and offset as integer*4.
- i.e.
- integer*4 SEG,OFF
- integer*2 VALUE
- SEG = #B800 <--- .gt. 32k
- OFF = 0
- call PEEKW(OFF,SEG,VALUE)
-
-
- PEEKL - Get a Long word value from memory.
-
- integer*2 OFF,SEG
- integer*4 VALUE
- call PEEKL(OFF,SEG,VALUE)
-
- call with:
- OFF - offset value from start of segment, <=64k
- SEG - segment value of long word location, <=64k
-
- returns:
- VALUE - the long word value is returned in this argument.
-
- example:
- call PEEKL(0,#0800,VALUE)
- This call returns long word stored at SEG= Hex 0800, OFF=0.
-
- Notes: An integer*2 is signed and may range from -32k to +32k.
- If the segment or offset values exceed this amount you should
- declare the segment and offset as integer*4.
- i.e.
- integer*4 SEG,OFF
- integer*4 VALUE
- SEG = #B800 <--- .gt. 32k
- OFF = 0
- call PEEKL(OFF,SEG,VALUE)
- FAT-DOS 1.0 POKEB PAGE A-4
-
-
-
- POKEB - Store a byte value in memory.
-
- integer*2 OFF,SEG,VALUE
- call POKEB(OFF,SEG,VALUE)
-
- call with:
- OFF - offset value from start of segment, <=64k
- SEG - segment value of byte location, <=64k
- VALUE - the byte value to store.
-
- returns:
- nothing
-
- example: VALUE = ICHAR('A')
- call POKEB(Int2(0),Int2(#B800),VALUE)
- This call stores the ascii value of the character 'A'
- in the 1st word of the CGA adapter memory, at row 0, col 0
- of the screen.
-
- Notes: An integer*2 is signed and may range from -32k to +32k.
- If the segment or offset values exceed this amount you should
- declare the segment and offset as integer*4.
- i.e.
- integer*4 SEG,OFF
- integer*2 VALUE
- SEG = #B800 <--- .gt. 32k
- OFF = 0
- call POKEB(OFF,SEG,VALUE)
-
-
- POKEW - Store a word value in memory.
-
- integer*2 OFF,SEG,VALUE
- call POKEW(OFF,SEG,VALUE)
-
- call with:
- OFF - offset value from start of segment, <=64k
- SEG - segment value of word location, <=64k
- VALUE - the word value to store.
-
- returns:
- nothing
-
- example: VALUE = 128
- call POKEW(Int2(0),Int2(#0800),VALUE)
- This call stores the value 128 at SEG=Hex 0800, OFF = 0.
-
- Notes: An integer*2 is signed and may be range from -32k to +32k.
- If the segment or offset values exceed this amount you should
- declare the segment and offset as integer*4.
- i.e.
- integer*4 SEG,OFF
- integer*2 VALUE
- SEG = #B800 <--- .gt. 32k
- OFF = 0
- call POKEW(OFF,SEG,VALUE)
-
-
- FAT-DOS 1.0 POKEL PAGE A-5
-
-
-
- POKEL - Store a long word value in memory.
-
- integer*2 OFF,SEG
- integer*4 VALUE
- call POKEL(OFF,SEG,VALUE)
-
- call with:
- OFF - offset value from start of segment, <=64k
- SEG - segment value of long word location, <=64k
- VALUE - the long word value to store.
-
- returns:
- nothing
-
- example: VALUE = 128
- call POKEL(Int2(0),Int2(#0800),VALUE)
- This call stores the value 128 at SEG=Hex 0800, OFF = 0.
-
- Notes: An integer*2 is signed and may be range from -32k to +32k.
- If the segment or offset values exceed this amount you should
- declare the segment and offset as integer*4.
- i.e.
- integer*4 SEG,OFF
- integer*4 VALUE
- SEG = #B800 <--- .gt. 32k
- OFF = 0
- call POKEL(OFF,SEG,VALUE)
-
-
- FAT-DOS 1.0 OPFILX PAGE B-1
-
-
- OPFILX - Open an existing file, using the File Handle method.
- The Ier variable should be checked after a call to
- OpFilx() to be sure a valid Handle has been returnd.
-
- character*n File
- integer*2 Mode,Handle,Ier
- call OpFilx(File,Mode,Handle,Ier)
-
- call with:
- File = 'Name'//char(0), Asciiz string
- MODE = 0 read
- = 1 write
- = 2 read/write
-
- returns:
- HANDLE= file handle
- IER = 0 normal return
- 1 needs file sharing
- 2 file not found
- 3 path not found
- 4 no handle avail
- 5 access denied
- 0Ch invalid acces code
-
-
- CRFILX - Create a new file, or open an existing file and truncate
- it to zero length. This uses the File Handle method.
- The Ier variable should be checked after a call to
- CrFilx() to be sure a valid Handle has been returned.
-
-
- character*n File
- integer*2 Attrib,Handle,Ier
- call CrFilx(File,Attrib,Handle,Ier)
-
- call with:
- File = ASCIIZ STRING i.e. 'MyData'//char(0)
- Attrib = 0 normal
- = 1 read only
- = 2 hidden
- = 4 system
-
- returns:
- Handle = file handle
- Ier = 0 function worked o.k.
- 3 path not found
- 4 no handles avail
- 5 access denied
-
- FAT-DOS 1.0 CLFILX PAGE B-2
-
-
- CLFILX - Close a previously opened/created file, using
- the File Handle method. The Ier variable should be
- checked on return to be sure the file closed
- properly
-
- integer*2 Handle,Ier
- call ClFilx(Handle,Ier)
-
- call with:
- Handle = valid handle returned from OpFilx() or CrFilx().
-
- returns:
- Ier = 0 safe return
- 6 invalid handle
-
-
-
- DlFilx - Delete a file, by specifying its name. Check Ier to be
- sure the file was deleted as requested.
-
- character*n File
- integer*2 Ier
- call DlFilx(File,Ier)
-
- call with:
- File = Asciiz string, i.e. 'MYFILE.DAT'//char(0)
- Wildcards * and ? not allowed.
-
- returns:
- Ier = 0 safe return, function worked.
- 2 file not found
- 5 access denied
-
-
- RnFilx - Rename a file. Check Ier on return to be sure the
- function worked correctly.
-
- character*n OldFile,NewFile
- integer*2 Ier
- call RnFilx(OldFile,NewFile,Ier)
-
- call with:
- OldFIle = Asciiz string
- NewFile = Asciiz string
-
- returns:
- Ier = 0 function worked.
- 2 file not found
- 3 path not found
- 5 access denied
-
- FAT-DOS 1.0 SCHFIL PAGE B-3
-
-
-
- SCHFIL - Search for 1st matching file name. If no match is
- found, then Ier is set.
-
- character*n SearchFile,FoundFile
- integer*2 Attrib,Ratt,Rtime,Rdate,Ier
- integer*4 Rsize
- call SchFil(SearchFile,FoundFile,Attrib,
- Ratt,Rtime,Rdate,Rsize,Ier)
-
- call with:
- SEARCHFILE = ASCIIZ STRING
- ATTRIB = Attribute to use in search.
- normal 0
- read-only 1
- hidden 2
- system 4
-
- returns:
- FOUNDFILE = ASCIIZ STRING, i.e. 'MyFile.dat'//char(0)
- RATT = attribute of found file
- RTIME = file time - use inttim() to convert.
- RDATE = file date - use intdat() to convert.
- RSIZE = file size in bytes
- IERR = 0 function worked
- = 2 invalid path
- = 18 no matching directory entry found
-
-
-
- SCHFL2 - Search for next file match. If no more entries are found
- Ier is set.
-
- character*n FoundFile
- integer*2 Ratt,Rtime,Rdate,Ier
- integer*4 Rsize
- call SchFl2(FoundFile,Ratt,Rtime,Rdate,Rsize,Ier)
-
- call with:
- nothing
-
- returns:
- FOUNDFILE = ASCIIZ STRING
- RATT = attribute of found file
- RTIME = file time
- RDATE = file date
- RSIZE = file size in bytes
- IERR = 0 function worked
- = 18 no matching directory entry found
- NOTE: This function can only be called after 1st calling
- SchFil().
-
- FAT-DOS 1.0 CRTEMP PAGE B-4
-
-
-
- CrTemp - Create a unique file in the specified path. This file
- must be deleted by the user before exiting, DOS will
- not delete this file for you.
-
- character*n Path
- integer*2 Attrib,Handle,Ier
- call CrTemp(Path,Attrib,Handle,Ier)
-
- call with:
- Path = Asciiz string with path
- i.e. disk:\subdirectory//char(0)
- i.e. 'a:\people'//char(0)
- Attrib = attibute of file
- 0 - normal
- 1 - read only
- 2 - hidden
- 4 - system
-
- returns:
- Path = Full file specification
- Handle = valid file handle
- Ier = error code
- 0 normal
- 3 path not found
- 5 access denied
-
-
-
- DupHnd - Duplicate a file handle. Ier should be checked for
- errors, on return. When done with the duplicate handle
- you should discard the duplicate handle using ClFilx().
-
- integer*2 OldHandle,NewHandle,Ier
- call DupHnd(OldHandle,NewHandle,Ier)
-
- call with:
- OldHandle = File handle from previous call to OpFilx(),
- or CrFilx().
-
- returns:
- NewHandle = New File Handle, it access's the same file.
- Ier = error code
- 0 normal return
- 4 no handle available
- 6 invalid old handle, or not an open file handle.
-
- FAT-DOS 1.0 GETFDT PAGE B-5
-
-
-
- GETFDT - Get file date and time. This returns the time/date the
- specified file was created. It is in internal format and
- should be converted with intdat(), and inttim().
-
- integer*2 Handle,Date,Time,Ier
- call GetFdt(Handle,Date,Time,Ier)
-
- call with:
- Handle = File handle from CrFilx(), or OpFilx().
-
- returns:
- Date = internal date, use intdat() to convert to real date.
- Time = internal time, use inttim() to convert to real time.
- Ier = error code, 0 normal
- 6 invalid handle
-
-
-
- SETFDT - Set a files date and time of creation values.
-
- integer*2 Handle,Date,Time,Ier
- call SetFdt(Handle,Date,Time,Ier)
-
- call with:
- Handle = File handle of file to modify
- Date = Date in internal format, from datint()
- Time = Time in internal format, from timint()
-
- returns:
- Ier = error code, 0 normal, 6 Handle invalid
-
-
- FAT-DOS 1.0 INTDAT PAGE B-6
-
-
-
- IntDat - Convert internal format Date from GetFdt() to a real date.
-
- integer*2 Date,Yr,Moonth,Day
- call IntDat(Date,Yr,Month,Day)
-
- call with:
- Date = Date from GetFdt().
-
- returns:
- Yr = year
- Month = month
- Day = day
-
-
- INTTIM - Convert internal Time from GetFdt() to real time.
-
- integer*2 Time,Hrs,Min,Sec
- call IntTim(Time,Hrs,Min,Sec)
-
- call with:
- Time = Time from GetFdt().
-
- returns:
- Hrs = hours.
- Min = minutes.
- Sec = seconds.
-
-
- GETFA - Get a Files attributes.
-
- character*n File
- integer*2 Attrib,Ier
- call GetFA(File,Attrib,Ier)
-
- call with:
- File = Asciiz string of path & filename.
-
- returns:
- Attrib = files attributes
- = 1 read only
- = 2 system
- = 4 hidden
- = 32 archive
- Ier = error code
- 0-normal
- 2-file not found
- 3-path not found
- 5- attribute cannot be changed
-
- FAT-DOS 1.0 SETFA PAGE B-7
-
-
- SETFA - Set a Files attributes.
-
- character*n File
- integer*2 Attrib,Ier
- call SetFA(File,Attrib,Ier)
-
- call with:
- File = Asciiz string of path & filename.
- Attrib = files attributes
- = 1 read only
- = 2 system
- = 4 hidden
- = 32 archive
- or a combination of the above.
- returns:
- Ier = error code
- 0-normal
- 2-file not found
- 3-path not found
- 5- attribute cannot be changed
-
- MOVPTR - Move an open files pointer. The pointer locates the
- next byte that is to be read in. This is used to read
- anywhere in a file.
-
-
- integer*2 Handle,Method,Ier
- integer*4 Offset
- call MovPtr(Handle,Method,Offset,Ier)
-
- call with:
- Handle = File handle from OpFilx(), or CrFilx().
- Method = 0 = offset is relative to start of file
- 1 = offset is from current location
- 2 = offset is from end of file
- Offset = number of bytes to move the pointer, based on Method
-
- returns:
- Offset = absolute number of bytes from start of file to pointer
- Ier = error code
- = 0-normal
- 6-invalid handle or file not open
-
- FAT-DOS 1.0 RRDFILX PAGE B-9
-
-
- RDFILX - Read from a file or device using the File Handle method.
- Nbytes returns the actual number of bytes read.
-
-
- integer*2 Handle,Nbytes,Ier
- character*1 Buffer(n) or integer*2 Buffer(n)
- or real*4 Buffer(n) etc..
- call RdFilx(Buffer,Nbytes,Handle,Ier)
-
- call with:
- Nbytes = number of bytes to read
- Handle = File handle of prevously opened file.
-
- returns:
- Buffer = data is read into this buffer
- Nbytes = number of bytes actually read
- Ier = error code
- 0-read worked
- 5-access denied
- 6-invalid file handle
-
- Note: If Nbytes is greater than 32k, Nbyte should be declared as
- an integer*4 variable. The most data that can be read at
- one time is 64k.
-
- WTFILX - Write to a prevously opened file usign the File Handle
- method. Nbytes retuns the actual number of bytes
- written, and should be checked after this subroutine call.
-
- integer*2 Handle,Nbytes,Ier
- character*1 Buffer(n) or integer*2 Buffer(n)
- or real*4 Buffer(n) etc...
- call WtFilx(Buffer,Nbytes,Handle,Ier)
-
- call with:
- Buffer = Data to write.
- Nbytes = Total number of bytes < 64k to write.
- Handle = Valid File Handle from CrFilx() or OpFilx() or CrTemp().
-
- returns:
- Nbytes = Total number of bytes written. If 0 and Ier=0, then the
- disk is probably full. If less than Nbytes given on input
- then the disk is probably full.
- Ier = error code
- 0-write worked
- 5-access denied
- 6-invalid file handle, or file not open
-
- Note: If Nbytes is greater than 32k, Nbyte should be declared as
- an integer*4 variable. The most data that can be written at
- one time is 64k.
- FAT-DOS 1.0 CHINP PAGE C-1
-
-
- CHINP - Wait for a keystroke, and don't echo it to the screen.
- A special key(function and cursor keys) returns a zero. A
- second call to Chinp() will then return the special key code.
- Control-C will interrupt this function.
-
- integer*2 Key
- call Chinp(Key)
-
- call with:
- nothing
-
- returns:
- Key = ascii character code, or special key code
-
-
-
- UCHINP - Wait for a keystroke, and don't echo it to the screen.
- A special key(Function and Cursor keys) returns a zero. A
- second call to UChinp() will then return the special key code.
- Control-C will not interrupt this function.
-
- integer*2 Key
- call UChinp(Key)
-
- call with:
- nothing
-
- returns:
- Key = ascii character code, or a special key code.
-
-
-
- CHINWE - Wait for a keystroke, and does echo it to the screen.
- A special key(function and cursor keys) returns a zero. A
- second call to Chinwe() will then return the special key code.
- Control-C will interrupt this function.
-
- integer*2 Key
- call Chinwe(Key)
-
- call with:
- nothing
-
- returns:
- Key = ascii character code, or special key code
-
-
- FAT-DOS 1.0 KBDIS PAGE C-2
-
-
- KBDIS - Check the keyboard for keystrokes.
-
- integer*2 status
- call KbdIs(status)
-
- call with:
- nothing
-
- returns:
- status = 0 no characters waiting at keyboard
- -1 character waiting at keyboard
-
-
- CLRCON - Clear the keyboard buffer. Removes any characters from
- the type ahead buffer.
-
- call CLrCon()
-
- call with:
- nothing
-
- returns:
- nothing
-
-
- GETSTR - Read a string from the keyboard(console). This uses the
- the File Handle method. When calling this function,
- Nbytes should be set to no more than the number of
- bytes that string is dimensioned for. This function uses
- RdFilx() with the standard input file handle(0). This
- function can read at most 1 line of input.
-
- integer*2 Nbytes,Ier
- character*n String
- call GetStr(String,Nbytes,Ier)
-
- call with:
- Nbytes = maximum number of bytes to read
-
- returns:
- Nbytes = actual number of bytes read
- Ier = error code
- 0-normal
- 5-access denied
- 6-console Handle invalid
- FAT-DOS 1.0 CHOUT PAGE D-1
-
-
-
- CHOUT - Write a character to the console(screen). This function can
- be interrupted by a control-c press. The backspace code(8)
- causes the curser to move left one position
-
- integer*2 Kar
- call chout(Kar)
-
- call with:
- Kar = ascii value of character to display
-
- returns:
- nothing
-
-
-
- PutStr - Write a string to the standard output device. This function
- uses the File Handle function WtFilx(), and uses the
- Handle for the standard output(1).
-
- integer*2 Nbytes,Ier
- character*n STRING
- call PutStr(String,Nbytes,Ier)
-
- call with:
- String = character string to display.
- Nbytes = number of characters to display
-
- returns:
- Nbytes = number of bytes actually displayed
- Ier = error code
- 0-normal return
- 5-access denied
- 6-console handle invalid
-
- FAT-DOS 1.0 DSKRST PAGE E-1
-
-
-
- DSKRST -This function resets the disk drive, and flushes or finishes
- writing any data held in buffers.
-
- call DskRst()
-
- call with:
- nothing
-
- returns:
- nothing
-
-
-
- SETDD - This function sets the current default disk drive. This
- should not be confused with SetDir(), which sets the default
- subdirectory. The number of logical drives in the system
- is also returned.
-
- integer*2 Drive,NumDrives
- call SetDD(Drive,NumDrives)
-
- call with:
- Drive = Logical drive number
- 1-A
- 2-B
- 3-C
- 4-D
- 5-E
- returns:
- NumDrives= number of logical drives in the system.
-
-
-
- GETDD - This function gets the default disk drive.
-
- integer*2 Drive
- call GetDD(Drive)
-
- call with:
- nothing
-
- returns:
- Drive = default disk drive number.
- 1-A
- 2-B
- 3-C
- 4-D
- 5-E
- FAT-DOS 1.0 GETAID PAGE E-2
-
-
- GETAID - Get disk allocation information for the specified disk.
-
- integer*2 Drive,SecPerClu,FATIB,SizeofSec,NumClu
- call GetAID(Drive,SecPerClu,FATIB,SizeofSec,NumClu)
-
- call with:
- Drive = desired drive number.
- 0-default
- 1-A,2-B,3-C,4-D,5-E
- returns:
- SecPerClu= Sectors per cluster
- FATIB = FAT Information Byte
- 0FDh - dual sided 9 sectors per track,PC/XT
- 0F9h - dual sided 15 sectors per track, PC/AT
- 0F8h - Fixed disk (any size)
- SizeofSec= Size of physical sector in bytes
- NumClu = Number of clusters on drive
-
-
-
- SETVF - Set the verify flag on or off. This causes any disk writes
- to be verified. This slows down disk I/O but provides some
- security that disk writes are in fact working alright.
-
- integer*2 Value
- call SetVF(Value)
-
- call with:
- Value = 0 Turn off disk write verification.
- 1 Turn on disk write verification.
-
- returns:
- nothing
-
-
-
- GETVF - Get the disk write verify flag. This returns the disk
- write verification flag.
-
- integer*2 Value
- call GetVF(Value)
-
- call with:
- nothing
-
- returns:
- Value = 0 Disk write verification is OFF.
- 1 Disk write verification is ON.
-
- FAT-DOS 1.0 GETDS PAGE E-3
-
-
- GETFDS - This function returns the free disk space.
-
- integer*2 Drive,SecPerClu,NumAvailClu
- BytesPerSec,CluPerDrive,Ier
- call GetFDS(Drive,SecPerClu,NumAvailClu,
- BytesPerSec,CluPerDrive,Ier)
-
- call with:
- Drive = Drive number to get info on.
- 0-Default
- 1-A,2-B,3-C,4-D,5-E
- returns:
- SecPerClu = Number of sectors per cluster
- NumAvailClu= Number of free clusters
- BytesPerSec= Number of bytes per sector
- CluPerDrive= Number of Clusters per drive
- Ier = error code
- 0-safe return
- Non-zero - invalid drive number requested
-
- Free Disk Space= SecPerClu*NumAvailClu*BytesPerSec
-
-
- SETDTA - This function designates a new Disk Transfer Area(DTA),
- to be used by the disk drive when doing I/O. There is
- a default DTA for each program. If you don't know how to
- make use of this function, don't use it. The DTA should be
- at least a 128 byte work area.
-
- integer*4 LDTA,Space(32)
- call SetDTA(LOC(Space))
- or
- LDTA = LOC(Space)
- call SetDTA(LDTA)
-
- call with:
- LDTA = Location of the Disk Transfer Area you wish used.
-
- returns:
- nothing
-
-
- GETDTA - This function returns the address of the DTA. This is
- equivalent to the LDTA variable passed to SetDTA(), and may
- be passed to SetDTA(), if desired.
-
- integer*4 LDTA
- call GetDTA(LDTA)
-
- call with:
- nothing
-
- returns:
- LDTA = Address of the current DTA.
-