[alicebot-archcomm] RE: [alicebot-archcomm]Attribute var
Jon Baer
alicebot-archcomm@list.alicebot.org
Mon, 18 Mar 2002 19:43:48 -0500
Yeah but you are appending the variable item to one specific user @ all times
when using <set>.
Those "variables" don't belong to the application, but to the user/session. A
"variable" is something that belongs to the app itself and even then it's
usually tied to a server property, so you either have:
x(user) or y(server)
I think when it evolves (?) and you have user lists mingling with other user
lists and performing logic and comparisons and voting that's when the language
takes on a mind of it's own ;-)
- Jon
Kim Sullivan wrote:
> > "variable" to me was sounding very one dimensional.
>
> I don't know but to me a "variable" was anything that could change it's
> value (ie isn't a constant - which can be either specified directly or with
> an identifier). If you take complex numbers, they're already 2d - and having
> complex variables is relatively common. And an arithmetic vector can have
> any integer dimension, as can any linear vector space (if you get into
> really high mathematics, then there can be even fractional dimensions I
> think). And from all of these, you can make a variable simply by stating
> from where a particular 'x' can take it's value.
>
> If you want an 'n' dimensional variable in AIML, you will probably have to
> allow for an 'array' type. You could either adopt a complex system like SETL
> has (which is completely dynamic and more or less typeless) or have a more
> strict definition like C, Java or Pascal have. Using a setl system would be
> relatively easy but IMHO quite difficult to implement (garbage collection
> and all that stuff), whereas a more strict system probably requires
> additional overhead for managing via AIML itself (and probably programming
> knowledge from the AIML author as well).
>
> Kim
>
> _______________________________________________
> alicebot-archcomm mailing list
> alicebot-archcomm@list.alicebot.org
> http://list.alicebot.org/mailman/listinfo/alicebot-archcomm