Re: Wish List Again
On 29 May 2000, at 11:17, Robert Craig wrote:
> Languages that don't require you to declare
> variables are not saving you any time in the long run (especially if
> they don't complain about uninitialized variables, and quietly "do you
> a favor" by setting them to 0 or "").
Except it's nice to be able to build variables with names you don't
know when you wrote the code. I get around this in Eu now by
making a var and then subsequencing it with tagged fields.
In mirc, this line:
set %didgreet.op [ $+ . $+ [ $gettok($address($nick,4),2,$asc(@)) ]
$+. $+ [ $chan ] ] yes $ctime $nick
builds this var:
%didgreet.op.ts2-d17.yar.auracom.com.#fullmoon yes 959628528
Sam
So later on, i can test if the code greeted *anyone* at ts2-
d17.yar.auracom.com in that room, when, and what nick they used.
I can, using the same var access method, make a list of known vars,
known addresses, last seen times from that addy, etc.. In Eu, i
haveto declare the var, and build subsequences. Ok, not a problem
yet. But trying to access the var when it doesn't exist isn't a problem
in mirc because it returns $null , in Eu it's a bounds error.
Kat
|
Not Categorized, Please Help
|
|