⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 987-990.html

📁 linux-unix130.linux.and.unix.ebooks130 linux and unix ebookslinuxLearning Linux - Collection of 12 E
💻 HTML
字号:
<HTML>

<HEAD>

<TITLE>Linux Unleashed, Third Edition:Adabas-D and other Databases</TITLE>

<SCRIPT>
<!--
function displayWindow(url, width, height) {
        var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>

 -->




<!--ISBN=0672313723//-->

<!--TITLE=Linux Unleashed, Third Edition//-->

<!--AUTHOR=Tim Parker//-->

<!--PUBLISHER=Macmillan Computer Publishing//-->

<!--IMPRINT=Sams//-->

<!--CHAPTER=62//-->

<!--PAGES=987-990//-->

<!--UNASSIGNED1//-->

<!--UNASSIGNED2//-->



<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="985-987.html">Previous</A></TD>

<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>

<TD><A HREF="990-993.html">Next</A></TD>

</TR>

</TABLE>

</CENTER>

<P><BR></P>

<H4 ALIGN="LEFT"><A NAME="Heading4"></A><FONT COLOR="#000077">What Is FlagShip?</FONT></H4>

<P>FlagShip is a compiler, meaning it produces executable code with no intermediary pseudo-code. No interpretive version of FlagShip exists, so you may need an interpreter such as FoxPro or dBASE to develop complex applications. FlagShip was designed to allow existing xBase applications to run without modification (or a minimum of modification in some cases to correct filename problems) under Linux and other UNIX versions. No run-time or user royalty fees are charged, so once an application has been developed and compiled, it can be distributed anywhere without you having to pay royalties to the authors.

</P>

<P>FlagShip is fully compatible with dBASE and Clipper, as well as most other xBase versions, such as Fox, FoxPlus, and FoxPro, dbMan, QuickSilver, and others. It includes all the really neat features of the xBase compatibles, such as:</P>

<DL>

<DD><B>&#149;</B>&nbsp;&nbsp;Macro support

<DD><B>&#149;</B>&nbsp;&nbsp;Arrays, objects, and code blocks

<DD><B>&#149;</B>&nbsp;&nbsp;User-defined functions and user-defined commands

<DD><B>&#149;</B>&nbsp;&nbsp;Index and array sorts

<DD><B>&#149;</B>&nbsp;&nbsp;Compatibility with most xBase file formats, including <TT>.dbf</TT>, <TT>.dbt</TT>, <TT>.mem</TT>, <TT>.lbl</TT>, <TT>.frm</TT>, and <TT>.fmt</TT>

<DD><B>&#149;</B>&nbsp;&nbsp;A C API for interfacing C code and FlagShip code in one application

</DL>

<BLOCKQUOTE>

<P><FONT SIZE="-1"><HR><B>Tip:&nbsp;&nbsp;</B><BR>Many Web sites allow you to download the FlagShip demos, and you can find them through a search engine such as AltaVista (<A HREF="http://www.altavista.digital.com">http://www.altavista.digital.com</A>) or Yahoo! (<A HREF="http://www.yahoo.com">http://www.yahoo.com</A>), or direct from the vendor of FlagShip, Multisoft Datentechnik Gmbh, at <A HREF="http://www.fship.com">http://www.fship.com</A>. There is also an FTP server for the company at <A HREF="ftp://fship.com/pub/multisoft">ftp://fship.com/pub/multisoft</A>. The demo versions are quite large (about 4.5MB). Several documents are available for FlagShip from FTP and Web sites. Make sure you download the English files as most sites have both English and German documents available (Multisoft Datentechnik Gmbh is based in Germany).<HR></FONT>

</BLOCKQUOTE>

<P>FlagShip has no equivalent of the dBASE dot prompt or interactive command interface found in other xBase products. However, there is a public-domain program called dbu that provides the capability to create files and indexes, add, change, or locate records, and browse files interactively.

</P>

<P>FlagShip uses the curses toolkit for its user interface. During installation, you get a set of terminfo files specifically for FlagShip. When running a FlagShip program in an xterm, you may get hieroglyphics instead of line drawing characters. Fiddling with the acsc parameter in the fslinxterm terminfo entry may not help. Try using the vga font that comes with DOSemu package.</P>

<P>FlagShip doesn&#146;t have a function specifically for managing pull-down menus. What FlagShip and Clipper programmers normally do is use <TT>&#64;PROMPT/MENU TO</TT> statements to create the horizontal menu and a function called <TT>ACHOICE()</TT> for the vertical menus. You can set hot keys with the <TT>SET KEY keyid TO</TT> statement. Normally, the statement would be a function invocation. Within this function, you can call the <TT>READVAR()</TT> function to find out which field the cursor was in when the key was pressed. An input field can be validated by adding the <TT>VALID</TT> statement parameter to the <TT>&#64;SAY/GET</TT> statement. Again, the statement would normally be a function invocation. Within the function, the value the user typed in could be looked up in a database file.</P>

<P>FlagShip has functions for managing windows that work very nicely, but the functions are not part of the basic package. You have to buy the FStools library. As the name suggests, the FStools library is a clone of the Clipper Tools library. There are also windowing functions in the NanForum library (containing mathematical and statistics functions), which is public domain.</P>

<P>A key feature of FlagShip is the <TT>TBROWSE()</TT> object. You use this in place of the <TT>BROWSE</TT> command that exists in other languages. If you don&#146;t have any previous experience with object-oriented programming, setting up <TT>TBROWSE()</TT> for the first time is not easy. The best course of action is to use the examples and samples in the fsman pages. FlagShip is picky about reserved words. If you have a filename such as browse, you are liable to encounter problems running programs. Keep a list of all the reserved words in FlagShip and avoid using these as file or program names. Check the list of reserved words in the fsman pages.</P>

<P>FlagShip programs can be attached to WWW pages, making it possible for net surfers to access and update databases. This feature, plus the capability to link in your C and C&#43;&#43; programs, makes FlagShip a very powerful data management tool.</P>

<P>FlagShip has an online reference program called <TT>fsman</TT>, which contains the entire FlagShip manual of more than 1,000 pages, which means that you do not have thick manuals all over your desk. The samples of code in the manual can be saved as text files on disk. This makes it easy to incorporate programming examples in the manual into whatever program you are working on at the time. Of course, you could also use the mouse to copy text from <TT>fsman</TT> into your program by cutting and pasting between windows.</P>

<P>FlagShip isn&#146;t just a port of a DOS-based compiler. It has been designed to provide full functionality under UNIX. Source code will run faster under Linux than under DOS (compiler with Clipper, for example) because of the better operating system design of Linux. FlagShip also removes many of the limitations of DOS- and Windows-based xBase applications.</P>

<P>If you have any requirement to port dBASE or Clipper applications to Linux, or you are looking for a simple relational database system, FlagShip is an excellent choice.</P><P><BR></P>

<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="985-987.html">Previous</A></TD>

<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>

<TD><A HREF="990-993.html">Next</A></TD>

</TR>

</TABLE>

</CENTER>





</td>
</tr>
</table>

<!-- begin footer information -->





</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -