topheader Welcome 34.206.1.144 @ xps.scios.ch on Fri Mar 29 10:17:01 UTC 2024
topheader
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

clips:clip6bos [2010/01/04 19:47]
clips:clip6bos [2010/01/04 19:47] (current)
Line 1: Line 1:
 +
 +<​HTML>​
 +<​HEAD>​
 +<META HTTP-EQUIV="​Content-Type"​ Content="​text/​html;​ charset=Windows-1252">​
 +<​TITLE>​DEFGLOBAL</​TITLE>​
 +</​HEAD>​
 +
 +<BODY BGCOLOR="#​FFFFFF"​ TEXT="#​000000">​
 +
 +<OBJECT TYPE="​application/​x-oleobject"​ CLASSID="​clsid:​1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e">​
 + <PARAM NAME="​Keyword"​ VALUE="​DEFGLOBAL">​
 +</​OBJECT>​
 +
 +<​H1><​A NAME="​defglobal"></​A>​DEFGLOBAL</​H1>​
 +
 +<​P></​P>​
 +
 +<​P>​With the defglobal construct, global variables can be defined, set, and </P>
 +
 +<​P>​accessed within the CLIPS environment. ​ Global variables can be accessed </P>
 +
 +<P>as part of the pattern matching process, but changing them does not invoke </P>
 +
 +<​P>​the pattern matching process. ​ The bind function is used to set the value </P>
 +
 +<P>of global variables.</​P>​
 +
 +<​P>​The syntax of the defglobal construct is:</​P>​
 +
 +<​PRE><​CODE>&​lt;​defglobal-construct&​gt;​ ::= (defglobal [&​lt;​defmodule-name&​gt;​] ​
 +                             &​lt;​global-assignment&​gt;​*)
 +
 +&​lt;​global-assignment&​gt; ​  ::= &​lt;​global-variable&​gt;​ = &​lt;​expression&​gt;​
 +
 +&​lt;​global-variable&​gt; ​    ::= ?​*&​lt;​symbol&​gt;​*</​CODE></​PRE>​
 +
 +</​BODY>​
 +</​HTML>​
  
 
 
clips/clip6bos.txt ยท Last modified: 2010/01/04 19:47 (external edit)
topheader
© 1998-2021, SciOS Scientific Operating Systems GmbH

Legal | Credits | Profile | Contact | Customer Login