home *** CD-ROM | disk | FTP | other *** search
- /*
- *
- * VernSix.Ch
- *
- * Standard definitions for various functions in VernSix5.Lib
- * Copyright (c) 1991 by Vernon E. Six, Jr.
- * All Rights Reserved World Wide
- *
- */
-
- // Sun 10-20-1991 11:41:39
- //
- // Replacement for INDEX ON
- //
- #xcommand INDEX ON <key> TO <file> [<u: UNIQUE>] ;
- => VS_ShowNtx( <"file">, <(key)>, TYPE(<key>), if( <.u.>,.T.,) )
-
-
- // Fri 10-25-1991 10:17:43
- //
- // Replacement for FWRITE( n_Handle, string + CHR(13) + CHR(10) )
- //
- #xcommand FWriteLine( <handle>, <string> ) ;
- => FWrite( <handle>, <string> + CHR(13) + CHR(10) )
-
-
- // Tue 11-12-1991 14:14:35
- //
- // Compile a code block at runtime
- //
- #xtranslate COMPILE( <string> ) ;
- => &( "{||" + <string> + "}" )
-
-
- // Tue 11-19-1991 12:07:42
- //
- // Push Buttons
- //
- #xtranslate pbOK => {" Ok "}
-
- #xtranslate VS_YesNoBox( <string>, <width>, <color> ) ;
- => VS_Alert( {"",PADC(<string>, <width>),""}, {" Yes "," No "}, <color> )
-
- #define pbNO 2
- #define pbYES 1
-
- // End of VernSix.Ch
-