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

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

[Octave-bug-tracker] [bug #32863] x.y.z syntax for structure fails ("sca


From: anonymous
Subject: [Octave-bug-tracker] [bug #32863] x.y.z syntax for structure fails ("scalar cannot be indexed with .")
Date: Sun, 20 Mar 2011 11:35:04 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MS-RTC LM 8; .NET4.0C; InfoPath.3)

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

                 Summary: x.y.z syntax for structure fails ("scalar cannot be
indexed with .")
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sun 20 Mar 2011 11:34:55 AM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Documentation
                  Status: None
             Assigned to: None
         Originator Name: Jonathan Schachter
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.2.4
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Either the documentation for structures in the manual is wrong or there is a
bug in the way to create structures of structures.  The docs say that both of
the below are kosher:

x.y = 1
x.y.z = 2

While the first assignment suceeds, the second gives this error:

   error: scalar cannot be indexed with .

The relevant section of the docs is "6.1.1 Basic Usage and Examples."






    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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