home *** CD-ROM | disk | FTP | other *** search
- ********************
-
- PROCEDURE Cleanrptup
-
- SELECT &ret_area
- STORE "" TO thru_what, with_file, ret_area, ssthead1, ssthead2
- STORE "" TO ssthead3, ssthead4, ssthead5, ssthead6, sstfoot1, sstfoot2
- STORE "" TO sstfoot3, sstcon1, sstcon2, sstcon3, sstcon4, sstcon5, sstcon6
- STORE "" TO sstcon7, sstcon8, sstcon9, sstcon10, sstcon11, sstcon12
- STORE "" TO sst_filter, sstfile, ssttotal1, ssttotal2, ssttotal3
- STORE "" TO sststot1, sststot2, sststot3, ssthcnt, sstfcnt, sstccnt, sst_spec
- STORE "" TO sstdate, ssttime, sst_tog1, sstpage, sst_f_str, sst_ndx, sst_t_file
- STORE "" TO sstgroup, sstsgroup, sst_newg, sstgname, brch, macplus, which_sst
- STORE "" TO macplus, ret_area, which_sst, the_area, old_color, eext, get_file, ny
- STORE "" TO ext, go_file, v, return_to, ok_file, extt, tteqw, thekey, tteqww, the_ww_rd
-
- RELEASE thru_what, with_file, ret_area, ssthead1, ssthead2
- RELEASE ssthead3, ssthead4, ssthead5, ssthead6, sstfoot1, sstfoot2
- RELEASE sstfoot3, sstcon1, sstcon2, sstcon3, sstcon4, sstcon5, sstcon6
- RELEASE sstcon7, sstcon8, sstcon9, sstcon10, sstcon11, sstcon12
- RELEASE sst_filter, sstfile, ssttotal1, ssttotal2, ssttotal3
- RELEASE sststot1, sststot2, sststot3, ssthcnt, sstfcnt, sstccnt, sst_spec
- RELEASE sstdate, ssttime, sst_tog1, sstpage, sst_f_str, sst_ndx, sst_t_file
- RELEASE sstgroup, sstsgroup, sst_newg, sstgname, brch, ny
- RELEASE macplus, ret_area, which_sst, the_area, old_color, eext, get_file
- RELEASE ext, go_file, v, return_to, ok_file, extt, tteqw, thekey, tteqww, the_ww_rd
-
- RESTORE FROM Holding.sys ADDITIVE
-
- IF FILE("Noname.grp")
- ERASE Noname.grp
- ENDIF
-
- ERASE Holding.sys
-
- IF TYPE("allscreens") != "U"
- IF FILE("all*.arr")
- PUBLIC allscreens[DEC_ARRAY("Array1")]
- PUBLIC allcolor[LEN(allscreens)], allwindows[LEN(allscreens)]
- RESTARRAY("Array1", allscreens)
- RESTARRAY("Array2", allcolor)
- RESTARRAY("Array3", allwindows)
- ERASE Array1.arr
- ERASE Array2.arr
- ERASE Array3.arr
- ENDIF
- ENDIF
-
- ********************
-
- FUNCTION Fields_in
-
- PARAMETERS a_number, row_corner, col_corner
-
- IF EMPTY(sst_t_file)
- _oldcolor = SETCOLOR()
- SETCOLOR(Reverse())
- @ 24,01 SAY "A database MUST be selected FIRST. Any Key..."
- INKEY(0)
- SETCOLOR(_oldcolor)
- @ 24,00
- RETURN("")
- ENDIF
-
- EXTERNAL Pan_down, Pan_up
-
- SET KEY 3 TO Pan_down
- SET KEY 18 TO Pan_up
- STORE 1 TO start_with, base_count
- STORE FCOUNT() TO end_with
- STORE .F. TO up, down
- Wpush(row_corner, col_corner, 14+row_corner, 15+col_corner)
- DO WHILE .T.
- the_row = row_corner + 1
- base_count = start_with - 1
- FOR the_count = start_with TO start_with + 10
- @ the_row, col_corner+1 PROMPT " " + Fill_out(FIELDNAME(the_count), 12) + SHOW_CHAR(a_number, TYPE(FIELDNAME(the_count)))
- the_row = the_row + 1
- IF EMPTY(FIELDNAME(the_count + 1))
- the_count = the_count + 1
- EXIT
- ENDIF
- NEXT
- the_count = the_count - 1 && This backs it off one position from the FOR NEXT loop counter!
- IF the_count > 12
- @ the_row + 1, col_corner+1 SAY "PgUp - More"
- ENDIF
- IF the_count != FCOUNT()
- @ the_row + 1, col_corner+1 SAY "PgDn - More"
- ENDIF
- MENU TO what_ever
- IF what_ever = 0
- IF !up .AND. !down
- pass_back = ""
- EXIT
- ELSE
- IF up
- start_with = start_with - IF(start_with < 10, 0, 9)
- ELSE
- start_with = start_with + IF(start_with + 9 > end_with, 0, 9)
- ENDIF
- STORE .F. TO up, down
- ENDIF
- ELSE
- IF !EMPTY(Show_char(a_number, TYPE(FIELDNAME(what_ever + base_count))))
- pass_back = FIELDNAME(what_ever + base_count)
- EXIT
- ENDIF
- ENDIF
- Clear_area()
- ENDDO
- Wpop()
-
- EXTERNAL Pan_down, Pan_up
-
- SET KEY 3 TO Pan_down
- SET KEY 18 TO Pan_up
- RETURN(pass_back)
-
- *******************
-
- FUNCTION Show_char
-
- PARAMETERS show_a, show_b
-
- DO CASE
- CASE show_a = 0
- RETURN(CHR(17))
- CASE show_a = 1
- RETURN(IF(show_b = 'C', CHR(17), " "))
- CASE show_a = 2
- RETURN(IF(show_b = 'N', CHR(17), " "))
- CASE show_a = 3
- RETURN(IF(show_b = 'D', CHR(17), " "))
- CASE show_a = 4
- RETURN(IF(show_b = 'L', CHR(17), " "))
- OTHERWISE
- RETURN(" ")
- ENDCASE
-
- **********************
-
- PROCEDURE Assignmac
-
- macplus[1] = "Double"
- macplus[2] = "Single"
- macplus[3] = "Begin Macro"
- macplus[4] = "End Macro"
- macplus[5] = "Dashes"
- macplus[6] = "Page No."
- macplus[7] = "Date"
- macplus[8] = "Time"
-
- * End of File
-
-