[q-lang-cvs] q/doc q.1,1.9,1.10 qdoc.texi,1.49,1.50 version.texi,1.40,1.41
Brought to you by:
agraef
From: Albert G. <ag...@us...> - 2006-04-25 11:28:35
|
Update of /cvsroot/q-lang/q/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19044/doc Modified Files: q.1 qdoc.texi version.texi Log Message: updated documentation Index: qdoc.texi =================================================================== RCS file: /cvsroot/q-lang/q/doc/qdoc.texi,v retrieving revision 1.49 retrieving revision 1.50 diff -C2 -d -r1.49 -r1.50 *** qdoc.texi 24 Apr 2006 21:30:09 -0000 1.49 --- qdoc.texi 25 Apr 2006 11:28:13 -0000 1.50 *************** *** 1581,1591 **** The Q language allows you to declare function and (free) variable symbols explicitly, by means of the syntactic constructs discussed in ! this chapter. Symbol declarations are optional; if you introduce a new ! symbol without declaring it, the compiler declares it for you. However, ! you will sometimes wish to ensure that a new symbol is created to ! override a symbol of the same name from an imported module, or you want ! to attach special attributes to a symbol, and then you have to use an ! explicit declaration. Syntactically, symbol declarations take the ! following form: @smallexample --- 1581,1598 ---- The Q language allows you to declare function and (free) variable symbols explicitly, by means of the syntactic constructs discussed in ! this chapter. Symbol declarations are mostly optional; if you introduce ! a new symbol without declaring it, the compiler declares it for ! you. However, you will sometimes wish to ensure that a new symbol is ! created to override a symbol of the same name from an imported module, ! or you want to attach special attributes to a symbol, and then you have ! to use an explicit declaration. Moreover, while implicit declarations ! are often convenient when you want to get something done quickly, for ! larger projects you might prefer to play it safe and ensure that each ! symbol actually has a proper explicit declaration. In such cases you can ! run the compiler with the @code{--pedantic} option (see @ref{Running ! Compiler and Interpreter}) to warn you about undeclared occurrences of ! an identifier. ! ! Syntactically, symbol declarations take the following form: @smallexample *************** *** 12798,12807 **** This option causes version number and copyright information to be displayed, after which the program terminates. ! @item --warnings, -w ! Print warnings about undeclared function and variable symbols. If this ! option is in effect, then the first occurrence of each undeclared symbol ! on the right-hand side of a definition or equation is reported, so you ! will have to declare or define all symbols before they are used, to make ! the compiler happy. @end table --- 12805,12821 ---- This option causes version number and copyright information to be displayed, after which the program terminates. ! @item --warnings[=@var{level}], -w[@var{level}], --pedantic ! Print warnings about undeclared function and variable symbols. If just ! @code{-w} or @code{-w1} is specified then function symbols will be ! reported as undeclared at the end of each source file, if they are ! neither imported nor declared anywhere in the file, where all ! appearances of a function symbol on the left-hand side of equations and ! variable definitions count as implicit declarations. To get more ! warnings, use the @code{-w2} option (or, equivalently, ! @code{--pedantic}), which will warn you about @emph{all} function and ! variable symbols which are used without a prior @emph{explicit} ! declaration (or, in the case of variable symbols, a prior definition of ! the variable). I.e., when using that option, you really have to declare ! each and every symbol explicitly, to make the compiler happy. @end table Index: q.1 =================================================================== RCS file: /cvsroot/q-lang/q/doc/q.1,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** q.1 23 Oct 2004 14:04:05 -0000 1.9 --- q.1 25 Apr 2006 11:28:13 -0000 1.10 *************** *** 1,5 **** .if n .ds - \%-- .if t .ds - \(em ! .TH Q 1 "April 2004" "Q Version 6.x" .SH NAME q \- eQuational programming language --- 1,5 ---- .if n .ds - \%-- .if t .ds - \(em ! .TH Q 1 "April 2006" "Q Version 7.x" .SH NAME q \- eQuational programming language Index: version.texi =================================================================== RCS file: /cvsroot/q-lang/q/doc/version.texi,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -d -r1.40 -r1.41 *** version.texi 24 Apr 2006 22:34:15 -0000 1.40 --- version.texi 25 Apr 2006 11:28:14 -0000 1.41 *************** *** 1,3 **** ! @set UPDATED 24 April 2006 @set UPDATED-MONTH April 2006 @set EDITION 7.1 --- 1,3 ---- ! @set UPDATED 25 April 2006 @set UPDATED-MONTH April 2006 @set EDITION 7.1 |