octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #53439] double quote and single quote equality


From: Dildar Sk
Subject: [Octave-bug-tracker] [bug #53439] double quote and single quote equality producing different result unlike MATLAB
Date: Fri, 23 Mar 2018 06:33:44 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?53439>

                 Summary: double quote and single quote equality producing
different result unlike MATLAB
                 Project: GNU Octave
            Submitted by: hodor123456
            Submitted on: Fri 23 Mar 2018 10:33:42 AM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: Dildar Sk
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

in MATLAB,


>> 'abc' == "abc"

ans =

  logical

   1

>> "abc" == "abc"

ans =

  logical

   1



in Octave,


>> 'abc' == 'abc'
ans =

  1  1  1

>> 'abc' == "abc"
ans =

  1  1  1

>> "abc" == "abc"
ans =

  1  1  1





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53439>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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