help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strcmp not behaving as expected


From: Sergei Steshenko
Subject: Re: Strcmp not behaving as expected
Date: Mon, 22 Oct 2012 19:06:35 -0700 (PDT)

>________________________________
> From: Mumble07 <address@hidden>
>To: address@hidden 
>Sent: Tuesday, October 23, 2012 12:58 AM
>Subject: Re: Strcmp not behaving as expected
> 
>Thanks for all the help guys, I should be more mindful of my variables in the
>future :P
>
>
>


Function redefinition, especially in case of replacing a function with 
non-function, should be accompanied by a warning - regardless what Matlab does.

An example:

"
address@hidden:~/junk> cat -n function_redefinition.pl
     1  use strict;
     2  use warnings;
     3
     4  sub foo{1}
     5  sub foo{2}
address@hidden:~/junk> ~/AFSWD/install/perl-5.14.2/bin/perl 
function_redefinition.pl
Subroutine foo redefined at function_redefinition.pl line 5.
address@hidden:~/junk>   

".


Regards,
  Sergei.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]