Category : Dbase (Clipper, FoxBase, etc) Languages Source Code
Archive   : TRUSHADE.ZIP
Filename : TS.PRG

 
Output of file : TS.PRG contained in archive : TRUSHADE.ZIP
* ts.prg
* tests shadow.c
* By: Dave Kanter with help from the friendly people at KWIBBLE
* Placed in the public domain along with shadow.c.
* Compile the c program with: tcc -c -G -N- -f- -ml
* Link with:
* tlink ts shadow, ts, nul, clipper extend \turboc\lib\cl

set color to gr+/b && set a color so you can see the shadow
clear

for x = 1 to 1896 && put something on the screen to shade
??'X'
next

set color to gr+/bg
@5,5 clear to 10,20 && make a box
@5,5 to 10,20 double
shade(5,5,10,20) && here it is
@23, 0

****************************************************
function shade
parameters t, l, b, r

private st, sl, sb, sr, br, rs
st = t + 1
sl = l + 1
sb = b + 1
sr = r + 1
br = savescreen(sb, sl, sb, sr)
rs = savescreen(st, sr, sb - 1, sr)
br = shadow(br) && call the C program
rs = shadow(rs) && for each box side
restscreen(sb, sl, sb, sr, br) && use clipper for screen display
restscreen(st, sr, sb - 1, sr, rs)
return .t.


  3 Responses to “Category : Dbase (Clipper, FoxBase, etc) Languages Source Code
Archive   : TRUSHADE.ZIP
Filename : TS.PRG

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/