node32.html
来自「htmdoc for html coding」· HTML 代码 · 共 311 行
HTML
311 行
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2 Final//FR"><!-- Converted with LaTeX2HTML 95.1 (Fri Jan 20 1995) --><!-- by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds --><!-- Modified Simulog 03/97 --><HTML><HEAD><TITLE>5.3 Obtaining general information</TITLE><LINK REL=STYLESHEET TYPE="text/css" HREF="./Modulef.css" TITLE="Modulef CSS"><meta name="description" value="5.3 Obtaining general information"><meta name="keywords" value="Guide2"><meta name="resource-type" value="document"><meta name="distribution" value="global"></HEAD><BODY BGCOLOR="#FFFFFF"><P> <IMG SRC="../icons/smallmod.gif" WIDTH=211 HEIGHT=50 ALIGN=BOTTOM ALT="Modulef"><A NAME=tex2html807 HREF="node31.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/previous_motif.gif" ALT="previous"></A><A NAME=tex2html813 HREF="node29.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/up_motif.gif" ALT="up"></A><A NAME=tex2html815 HREF="node33.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/next_motif.gif" ALT="next"></A><A NAME=tex2html817 HREF="node2.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/contents_motif.gif" ALT="contents"></A><A NAME=tex2html818 HREF="node58.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/index_motif.gif" ALT="index"></A><A HREF="../Guide2-18/node32.html"><IMG BORDER=0 SRC="../icons/zoom18.gif" ALIGN=BOTTOM ALT="[BIG]"></A><A HREF="../Guide2-14/node32.html"><IMG BORDER=0 SRC="../icons/zoom14.gif" ALIGN=BOTTOM ALT="[Normal]"></A><A HREF="../Guide2-10/node32.html"><IMG BORDER=0 SRC="../icons/zoom10.gif" ALIGN=BOTTOM ALT="[small]"></A><BR><B> Next: </B> <A NAME=tex2html816 HREF="node33.html">5.4 Manipulation of files</A><B>Up: </B> <A NAME=tex2html814 HREF="node29.html">5 Diverse utilities</A><B> Prev: </B> <A NAME=tex2html808 HREF="node31.html">5.2 Manipulating characters</A><B><A HREF="node58.html" >Index</A></B><B><A HREF="node2.html" >Contents</A></B><HR SIZE=3 WIDTH="75%"><H1><A NAME=SECTION04530000000000000000>5.3 Obtaining general information</A></H1><A NAME=2487> </A><A NAME=part2utinfo> </A><P><P>The programs sometimes require general information (machine constants, user name, etc.).For this purpose, functions<b> DINFO</b>, <b> IINFO</b>, <b> KINFO</b>, <b> RINFO</b>return information, respectively of typeDOUBLE PRECISION, INTEGER, CHARACTER*80, and REAL.<P>For example, <b> IINFO('GRAND')</b> returns the largest integer possibleon that particular machine. These functions must obviously be adapted to each type of machine[<A HREF="node57.html#guide1"><A NAME=tex2html160 HREF="../Guide1/welcome.html">MODULEF User Guide - 1</A></A>].<P><H3><A NAME=SECTION04530100000000000000> Utility DINFO</A></H3><A NAME=2679> </A><A NAME=UTDINFO> </A><P><blockquote> DOUBLE PRECISION FUNCTION DINFO(<IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img85.gif">)<P>CHARACTER*(*) KEYWORD</blockquote><P>This utility returns an item of information of type DOUBLE PRECISION,as a function of parameter KEYWORD:<P><DL COMPACT><DT>'CPU':<DD>CPU time measured from a fixed moment.<P><DT>'DELTA CPU':<DD>Increase in CPU time.<UL><LI> The first call returns the same value as <b> DINFO('CPU')</b>.<P><LI> The next calls return the difference between the current valueof the CPU time and the value obtained at the previous call.<P></UL><P>Remark: For the result to be meaningful, the user must take care to localize all the callsto <b> DINFO('DELTA CPU')</b>.<P><DT>'DELTA HORLOGE':<DD>Increase in clock time.<P><UL><LI> The first call returns the same value as <b> DINFO('HORLOGE')</b>.<P><LI> The next calls return the difference between the current value of the clock timeand the value obtained at the previous call.<P></UL><P>Remark:For the result to be meaningful, the user must take care to localize all callsto<b> DINFO('DELTA HORLOGE')</b>.<P><DT>'GRAND':<DD> Largest real (in double precision).<P><DT>'HORLOGE':<DD>Clock time measured from a fixed moment.<P><DT>'PETIT':<DD>Smallest positive real (in double precision).<P><DT>'PRECISION':<DD>Precision = smallest real <b>p</b> such that <b>1+p > 1</b>(in double precision).<P> </DL><H3><A NAME=SECTION04530200000000000000> Utility IINFO</A></H3><A NAME=2686> </A><A NAME=UTIINFO> </A><P><blockquote> INTEGER FUNCTION IINFO(<IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img85.gif">)<P>CHARACTER*(*) KEYWORD</blockquote><P>This utility returns an item of information of type INTEGER, as a function of parameterKEYWORD:<P><DL COMPACT><DT>'L' or 'LECTEUR':<DD>Input number.All MODULEF input is read using this unit number.This number can be modified by:<blockquote> CALL LIBSET('LIRE', ...)</blockquote><P><DT>'LECTEUR INITIAL':<DD>Initial input number (see also <b> 'LECTEUR'</b>).This number is assigned by the userat the beginning of execution in utility <b> INITIS</b> (p. <A HREF="node30.html#UTINITIS"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/cross_ref_motif.gif" ALT="gif"></A>).<P><DT>'I' or 'IMPRIMANTE'<DD>Output number.All MODULEF output is sent to this unit number.This number can be modified by:<blockquote> CALL LIBSET('IMPRIMANTE', ...)</blockquote><P><DT>'IMPRIMANTE INITIALE':<DD>Initial printer number (see also <b> 'IMPRIMANTE'</b>).This number is assigned by the user at the beginningof execution via utility<b> INITIS</b> (p. <A HREF="node30.html#UTINITIS"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/cross_ref_motif.gif" ALT="gif"></A>).<P><DT>'INTERACTIVITE':<DD>Interactivity (little used):0 batch,1 interactive without graphics,2 interactive with graphics.This number is modified by:<blockquote> CALL LIBSET('TERMINAL', ...)</blockquote><P><DT>'INTERACTIVITE INITIALE':<DD>Initial interactivity (see also <b> INTERACTIVITE</b>).This number is assigned at the start of execution by utility<b> INITIS</b> (p. <A HREF="node30.html#UTINITIS"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/cross_ref_motif.gif" ALT="gif"></A>).<P><DT>'BAVARD':<DD>MODULEF print parameter (from 0 to 10):the higher the number, the more output.This number can be modified by:<blockquote> CALL LIBSET('BAVARDAGE', ...)</blockquote><P><DT>'GRAND':<DD>Largest integer.<P><DT>'LANGUE':<DD>Language: 0 French, 1 English.It is preferable to statically filter the lines in a program containing#F, #GB, ..., in column 73.<P><DT>'RECL' or 'UNITE RECL':<DD>In the OPEN command for unformatted input/output,keyword <b> RECL</b> defines a length measured in a unit which depends onthe processor ([<A HREF="node57.html#Fortran77">Fortran 77</A>], p. 12-20, l. 1 to 16).This keyword gives the size of a machine-word expressed in this unit.<P><DT>'REEL2':<DD>Effective type of the double precision dynamic arrays(5 in general, 2 on super-computers).<P> </DL><H3><A NAME=SECTION04530300000000000000> Utility KINFO</A></H3><A NAME=2693> </A><A NAME=UTKINFO> </A><P><blockquote> CHARACTER*80 FUNCTION KINFO(<IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img85.gif">)<P>CHARACTER*(*) KEYWORD</blockquote><P>This utility returns an item of information of type CHARACTER*80,as a function of parameter KEYWORD:<P><DL COMPACT><DT>'DATE':<DD>Date (YYMMDD), whereYY denotes the year, MM the month, and DD the day.<P><DT>'HEURE':<DD>Time (HHMMSSFFFFFF), whereHH is the hour from 00 to 23, MM the minutes from 00 to 59, SS the seconds from 00 to 59, andFFFFFF the microseconds from 000000 to 999999.<P><DT>'MACHINE':<DD>Name of the host machine.<P><DT>'POBA':<DD>Name of file <b> POBA</b> (basis polynomials).<P><DT>'PRE_HELP' or 'SYMD':<DD>Absolute name of directory <b> PPAD</b>(data of the main programs).<P><DT>'PROC':<DD>Name of file <b> PROC</b> (procedure base).<P><DT>'SUF_HELP':<DD>Suffix of the help files.<P><DT>'TESD':<DD>Absolute name of directory <b> TESD</b>(test data).<P><DT>'TITRE':<DD>Title (see <b> INITI</b>).<P><DT>'UTILISATEUR':<DD>User name.<P> </DL><H3><A NAME=SECTION04530400000000000000> Utility RINFO</A></H3><A NAME=2700> </A><A NAME=UTRINFO> </A><P><blockquote> REAL FUNCTION RINFO(<IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img85.gif">)<P>CHARACTER*(*) KEYWORD</blockquote><P>This utility returns an item of information of type REAL,as a function of parameter KEYWORD:<P><DL COMPACT><DT>'GRAND':<DD>Largest real.<P><DT>'PETIT':<DD>Smallest positive real.<P><DT>'PRECISION':<DD>Precision = smallest real <b>p</b> such that <b>1+p > 1</b>.<P> </DL><P><P><P><HR SIZE=3 WIDTH="75%"><IMG SRC="../icons/smallmod.gif" WIDTH=211 HEIGHT=50 ALIGN=BOTTOM ALT="Modulef"><A NAME=tex2html807 HREF="node31.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/previous_motif.gif" ALT="previous"></A><A NAME=tex2html813 HREF="node29.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/up_motif.gif" ALT="up"></A><A NAME=tex2html815 HREF="node33.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/next_motif.gif" ALT="next"></A><A NAME=tex2html817 HREF="node2.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/contents_motif.gif" ALT="contents"></A><A NAME=tex2html818 HREF="node58.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/index_motif.gif" ALT="index"></A><A HREF="../Guide2-18/node32.html"><IMG BORDER=0 SRC="../icons/zoom18.gif" ALIGN=BOTTOM ALT="[BIG]"></A><A HREF="../Guide2-14/node32.html"><IMG BORDER=0 SRC="../icons/zoom14.gif" ALIGN=BOTTOM ALT="[Normal]"></A><A HREF="../Guide2-10/node32.html"><IMG BORDER=0 SRC="../icons/zoom10.gif" ALIGN=BOTTOM ALT="[small]"></A><BR><B> Next: </B> <A NAME=tex2html816 HREF="node33.html">5.4 Manipulation of files</A><B>Up: </B> <A NAME=tex2html814 HREF="node29.html">5 Diverse utilities</A><B> Prev: </B> <A NAME=tex2html808 HREF="node31.html">5.2 Manipulating characters</A><B><A HREF="node58.html" >Index</A></B><B><A HREF="node2.html" >Contents</A></B><BR> <HR><P><ADDRESS></ADDRESS></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?