[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: about "set" variables
From: |
Ralf Stephan |
Subject: |
Re: about "set" variables |
Date: |
Wed, 20 Sep 2000 13:28:50 +0200 |
> - setOutputHeat: (HeatValue)o
> {
> outputHeat = o;
> return self;
> }
>
> I have searched the files of Heatbugs to find the role played by "i" and
> "o" but cannot see one. When "idealTemperature " and "outputHeat" are
> referred to later, there is no reference to "i" and "o". How do the
> values of "i" and "o" get determined? What do they do?
These are so called locals, they are local to the function block.
The function block consists of the declaration plus all between {}
(definition). Think of it as a temporary variable.
ralf
--
http://ME.IN-berlin.de/~rws/
==================================
Swarm-Modelling is for discussion of Simulation and Modelling techniques
esp. using Swarm. For list administration needs (esp. [un]subscribing),
please send a message to <address@hidden> with "help" in the
body of the message.
==================================