home *** CD-ROM | disk | FTP | other *** search
- <<* GENPRG.INC *>>
- <<#
-
- function GetPrgName( prompt : string ) : string
- string fspec
- begin
- input prompt to fspec
- if fspec
- filespec( fspec,fpath,fname,fext )
- fspec := fpath + fname + '.PRG' <<*Force '.PRG' extension*>>
- end
- RETURN fspec
- end <<*GetPrgName*>>
-
- <<* Commented out for now. Only one version available! *>>
- <<* procedure SelectProduct
- integer choice
- begin
- choice := 2
- initmenu( 'Available Products' )
- 'FoxBASE+ 2.10'
- 'add new versions here'
- end
- menu to choice
- if choice = 0
- set ProductCode to 1
- else
- set ProductCode to choice
- endif
- end *>>
- <<*SelectProduct*>>
- <<* EOF: GENPRG.INC *>>
- #>>