Changeset 4558 for trunk/manuals

Show
Ignore:
Timestamp:
11/01/08 13:19:27 (2 months ago)
Author:
pmoura
Message:

Added support for using the set_logtalk_flag/2 directive in source files. This directive is executed when read (thus affecting the compilation of the source code that follows) but its scope is restricted to the source file being compiled.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/manuals/userman/running.html

    r4549 r4558  
    9898Value = off 
    9999yes</pre> 
     100<p> 
     101Logtalk also implements a <a title="Consult reference manual" href="../refman/directives/set_logtalk_flag2.html"><code>set_logtalk_flag/2</code></a> directive, which can be used to set flags within a source file. For example, assuming a source file defining several entities, you may want to use different settings for compiling each entity. This can be easily accomplished by preceding each entity with the necessary <code>set_logtalk_flag/2</code> directives. Note that the scope of this directive is local to the source file containing it. 
     102<p> 
    100103 
    101104<h4>Lint flags</h4> 
     
    529532    <div class="copyright"> 
    530533        <span>Copyright &copy; <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> &mdash; <a href="http://logtalk.org">Logtalk.org</a></span><br/>  
    531         <span>Last updated on: October 30, 2008</span> 
     534        <span>Last updated on: October 31, 2008</span> 
    532535    </div> 
    533536    <div class="navbottom">