Module lillib:dattypes

This module provides useful data types.

Version

April 07, 1999

Since

July 08, 1998

Author


Contents

Predicate


Top of this page Contents Index of this package LiLFeS Documents LiLFeS Home Page Tsujii laboratory

Predicate

define_variable/1

Formatdefine_variable(+$VARIABLE)
Arguments
+$VARIABLEvariable name of a variable to be defined
This predicate defines a new variable named $VARIABLE

define_string_variable/1

Formatdefine_string_variable(+$VARIABLE)
Arguments
+$VARIABLEvariable name of a variable to be defined
This predicate defines a new string variable named $VARIABLE

define_integer_variable/1

Formatdefine_integer_variable(+$VARIABLE)
Arguments
+$VARIABLEvariable name of a variable to be defined
This predicate defines a new integer variable named $VARIABLE

define_float_variable/1

Formatdefine_float_variable(+$VARIABLE)
Arguments
+$VARIABLEvariable name of a variable to be defined
This predicate defines a new float variable named $VARIABLE.

init_string_variable/1

Formatinit_string_variable(+$VARIABLE)
Arguments
+$VARIABLEvariable name of a variable to be defined
This predicate defines a new string variable named $VARIABLE, and initializes it to "".

init_integer_variable/1

Formatinit_integer_variable(+$VARIABLE)
Arguments
+$VARIABLEvariable name of a variable to be defined
This predicate defines a new integer variable named $VARIABLE, and initializes it to 0.

init_float_variable/1

Formatinit_float_variable(+$VARIABLE)
Arguments
+$VARIABLEvariable name of a variable to be defined
This predicate defines a new float variable named $VARIABLE, and initializes it to 0.0.

set_variable/2

Formatset_variable(+$VARIABLE, +$VALUE)
Arguments
+$VARIABLEvariable name of a variable
+$VALUEbot a value to be set
This predicate lets the value of $VARIABLE be $VALUE.

get_variable/2

Formatget_variable(+$VARIABLE, -$VALUE)
Arguments
+$VARIABLEvariable name of a variable
-$VALUEbot a value of a variable
This predicate lets $VALUE be the value of $VARIABLE.

add_variable/2

Formatadd_variable(+$VARIABLE, +$VALUE)
Arguments
+$VARIABLEvariable (of integer or float) name of a variable
+$VALUEinteger or float a value to be added
This increases the value of $VARIABLE by $VALUE.

inc_variable/1

Formatinc_variable(+$VARIABLE)
Arguments
+$VARIABLEvariable (of integer) a name of a variable
This predicate increments a variable

inc_variable/2

Formatinc_variable(+$VARIABLE, -$OLD)
Arguments
+$VARIABLEvariable (of integer) a name of a variable
-$OLDinteger an old value of a variable
This predicate increments a variable. $OLD will be an old value of the variable.

inc_variable/3

Formatinc_variable(+$VARIABLE, -$OLD, -$NEW)
Arguments
+$VARIABLEvariable (of integer) a name of a variable
-$OLDinteger an old value of a variable
-$NEWinteger a new value of a variable
This predicate increases the value of $VARIABLE by 1. $OLD and $NEW are respectively the old and new value of $VARIABLE.

Top of this page Contents Index of this package LiLFeS Documents LiLFeS Home Page Tsujii laboratory

Send comments to:
MITSUISHI Yutaka (mitsuisi@is.s.u-tokyo.ac.jp)

This document is automatically created by lildoc on Fri Sep 24 14:13:58 2004