Re: Example where Euphoria defaults on a boolean expression
On 23 Nov 2002, at 17:31, Rom wrote:
<snip>
> How to evaluate (A and B and C) (...the kind of logical statements Euphora
> supports) when we don't know C is however unresolvable (we can neither
> conclude
> True nor False, which will leave us with an unresolved result). Euphoria
> forces
> us to state some value for anything, so you may say that C cannot be unknown.
> That we don't know the value of a var is something any program used for
> programming logic must deal with. I feel dealing with that is the first step
> in
> any AI-project.
Correct. The first step is to know if you do not know something. This means
knowing if equal(table,"red"), which is bad is table was undefined. Also in Eu,
you can't import a new OOP-ish object of table during runtime. You can add
it to an associated array, but you can't add the methods of how to deal with
tables.
Kat
|
Not Categorized, Please Help
|
|