1. Re: Calling functions as proedures

> 
> From: Juergen Luethje <j.lue at gmx.de>
> Subject: Re: Calling functions as procedures
> 
> 
> Elliott wrote:
> 
> 
>>     I'd like to use something like ~my_function(a, 3, 6). '~' is not
>>used anywhere else, and quite definetely shows the fact that you are
>>ignoring the return value. It's certainly more visible than _.
> 
> 
> I just suggested _my_function(a, 3, 6), because AFAIK '_' is used in LUA
> as a dummy variable.
> So instead of
>      VOID = my_function(a, 3, 6)
> I thought of
>         _ = my_function(a, 3, 6).
> 
> And then, I thought of the short form _my_function(a, 3, 6).
> But I agree, that ~my_function(a, 3, 6) is better readable!
> 
> 
>>The one problem might be the location, or existence, even, of the key
>>on alternate language keyboards.
> 
> 
> If '~' does not exist on a keyboard, that would be a big problem.
> IMHO the user cannot be expected, always to copy '~' from the clipboard
> or something like that.
> 
> 
>>I wouldn't know where or how it would be different, though, as I  don't
>>have one of those keyboards.
> 
> 
> I only can tell about the German keyboard:
> There is this special key, which is a combination of <Alt> and <Ctrl>.
> In German, this key is named <AltGr>. Unfortunately I don't know the
> English name for this key, but I hope that you know what I mean.
> 
> On the German keyboard, we get '~' by pressing <AltGr>&<+>.
> I don't like pressing keys with <AltGr>, but I have to do it several
> times anyway (e.g. I must press <AltGr>&<q> to get '@'), so I'm used to
> it.
> 
> I clearly vote for your
>      ~my_function(a, 3, 6)
> suggestion!
> 
> <snip>
> 
> Regards,
>    Juergen
> 
Seconded. It is in the wish list I posted mid-August.

CChris

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu