TIP: Click on subject to list as thread! ANSI
echo: qedit
to: JORJ STRUMOLO
from: GEORGE DE BRUIN
date: 1995-10-23 12:54:00
subject: TSE: bits and borders

> Speaking of FileExists(), or any other command that would manage
> it, is there a way to test if a file, any file, exists in a
> directory (which will exist).  Previously, FileExists() couldn't
Try the FindFirst() / FindNext() commands, or you may just want to use
BuildPickBuffer().  Using any of these commands you should be able to
determine if a file exists in a sudbirectory.
> How does DOS handle screen border colors, I wonder?  Is there
> any way to do this with low-level stuff, instead of popping
> quickly out of the editor and then back in on a start under DV?
Not very well (ie DOS support).   You can set it using the low
level functions in TSE:
   proc SetVidBorder(integer b)
       register r
       // Set the video border attribute
       r.bx = b shl 8          // attr in bh
       r.ax = 1001h            // for Int 10h function 01h call
       intr(10h, r)            // set the border
   end
      SetVidBorder(Color(Cyan on Black))
      SetVidBorder(Color(Black on Black))
                           George J. De Bruin
                       SemWare Technical Support
 
------------------------------------------------------------------------------
 SemWare Corporation         Phone: (770) 641-9002  FAX: (770) 640-6213
 WEB: http://www.semware.com  FTP: ftp.semware.com  
george.de.bruin@semware.com
 
------------------------------------------------------------------------------
---
 þ TSEmr 1.0 #10000 þ The SemWare Editor Pro. 2.5 & TSE Jr 4.0 DOS, Mem-Res, 
OS/2
--- FidoPCB v1.4 [ff151/a]
---------------
* Origin: SemWare Support BBS * 404-641-8968 * (1:133/314)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.