Changeset 4436 for trunk/manuals

Show
Ignore:
Timestamp:
08/19/08 08:30:19 (5 months ago)
Author:
pmoura
Message:

Added support for using the ensure_loaded/1 and the set_prolog_flag/2 directives in source files. These directives are both processed when read (thus affecting the compilation of the source code that follows) and copied to the generated intermediate Prolog files.

Files:
1 modified

Legend:

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

    r4213 r4436  
    3737</p> 
    3838<p> 
    39 Logtalk source files may contain arbitrary Prolog directives and clauses interleaved with Logtalk entity definitions. These directives and clauses will not be compiled by Logtalk and will be copied unchanged to the corresponding Prolog output file. This feature is included to help the integration of Logtalk with Prolog extensions such as, for example, constraint programming extensions. 
     39Logtalk source files may contain arbitrary Prolog directives and clauses interleaved with Logtalk entity definitions. These directives and clauses are  be copied unchanged to the corresponding Prolog output file. This feature is included to help the integration of Logtalk with Prolog extensions such as, for example, constraint programming extensions. The following Prolog directives are processed when read (thus affecting the compilation of the source code that follows): <code>ensure_loaded/1</code>, <code>op/3</code>, and <code>set_prolog_flag/2</code>. The <code>initialization/1</code> directive may be used for defining an initialization goal to be executed when loading a source file.  
    4040</p> 
    4141<p> 
     
    163163    <div class="copyright"> 
    164164        <span>Copyright &copy; <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> &mdash; <a href="http://logtalk.org">Logtalk.org</a></span><br/>  
    165         <span>Last updated on: April 21, 2008</span> 
     165        <span>Last updated on: August 16, 2008</span> 
    166166    </div> 
    167167    <div class="navbottom">