home *** CD-ROM | disk | FTP | other *** search
- DECLARE FUNCTION strval$ (a%)
- DEFINT A-Z
- '$DYNAMIC
- COMMON SHARED masterFile$, numberoffields, ff, progfile$, startp
- '$INCLUDE: 'PROLIB71.BI'
-
- REM $STATIC
- SUB mainscreen
- bg = WHITE
- fg = BLACK
- rev = RED
-
- COLOR WHITE, BLUE
-
- DrawBox 1, 1, 80, 25, 2, WHITE, BLUE, 4, WHITE, BLUE, 0
- DrawBox 2, 20, 40, 4, 2, BLACK, WHITE, 1, BLACK, WHITE, 1
-
- CenterText "The PROgram GENerator DataBase", 3, fg, bg
- CenterText "By: RAYMOND E DIXON, Jacksonville, FL", 4, fg, bg
-
- END SUB
-
- SUB maxfields
-
- DIM DispLine$(6)
- DispLine$(1) = "You have (10) fields"
- DispLine$(2) = "max in this version!"
- DispLine$(3) = "registered version has"
- DispLine$(4) = "255 fields and 25 screens"
- DispLine$(5) = ""
- DispLine$(6) = "Press any key to continue"
-
- Message DispLine$(), 4, 3, BLACK, WHITE, balck, WHITE
-
- END SUB
-
- SUB nodatafile
- DIM DispLine$(5)
- DispLine$(1) = "You have't created a data file"
- DispLine$(2) = "so no fielf data can be used"
- DispLine$(3) = "design or select another file"
- DispLine$(4) = ""
- DispLine$(5) = "Press any key to continue"
- Message DispLine$(), 5, 3, BLACK, WHITE, balck, WHITE
-
- END SUB
-
- SUB noreport
-
- DIM DispLine$(5)
- DispLine$(1) = "You have't created a report"
- DispLine$(2) = "select report from menu and"
- DispLine$(3) = "design or select default report"
- DispLine$(4) = ""
- DispLine$(5) = "Press any key to continue"
- Message DispLine$(), 5, 3, BLACK, WHITE, balck, WHITE
-
- END SUB
-
- SUB noscreen
- DIM DispLine$(5)
- DispLine$(1) = "You have't created a screen"
- DispLine$(2) = "select screen from menu and"
- DispLine$(3) = "design or select default screen"
- DispLine$(4) = ""
- DispLine$(5) = "Press any key to continue"
- Message DispLine$(), 5, 3, BLACK, WHITE, balck, WHITE
-
- END SUB
-
- SUB PROSRC.INFO.1 (NS, pf$)
-
- PRINT #ff, "DEFINT A-Z"
- PRINT #ff, " sub " + pf$ + ".info" + LTRIM$(STR$(NS)) + " static"
- PRINT #ff, ""
- PRINT #ff, " 'Display details on screen"
- PRINT #ff, " fg = white "
- PRINT #ff, " bg = blue "
- PRINT #ff, ""
-
- END SUB
-
- SUB PROSRC.SCN.1 (NS, pf$)
-
- PRINT #ff, "DEFINT A-Z"
- PRINT #ff, " sub " + pf$ + ".scn" + LTRIM$(STR$(NS)) + " static"
- PRINT #ff, ""
- PRINT #ff, " 'Display details on screen"
- PRINT #ff, " fg = white "
- PRINT #ff, " bg = blue "
- PRINT #ff, ""
-
- END SUB
-
-