Welcome to APLNext Sign in | Join | Help
in
Community Website
Blogs Forums

Questions, are these bugs or just the way things are?

Last post 12-19-2006, 12:56 AM by Fred.Waid. 1 replies.
Sort Posts: Previous
  • Questions, are these bugs or just the way things are?

     12-06-2006, 4:19 PM

    A couple of questions. I'm using RC3.1

    (1)   Is this a bug or can you explain:

        A'12345' 

    String B'54321'

        <rho>¨A B

    5  <empty vector>

        A

    12345

        B

    4

    (note it seems B always get 2nd element of the string)

        String B = 'DCBA'

        B

    C

        String B = '?*&^%'

        B

    *

    ______________________________

    (2) Just trying to understand how this works. . .

    When trying to use a message box like

    System.Windows.Forms.MessageBox.Show(x,"Kreg MathUtils");

    I get the error:

    'package#' object has no attribute 'Windows'

    If I include the statement

    using System.Windows.Forms

    this problem goes away. I thought if I was willing to type the full name

    , System.~.~.~.Whatever, it was not required to have the using statment.

  • Re: Questions, are these bugs or just the way things are?

     12-19-2006, 12:56 AM

    I am not certain, but I think you were doing this in the session.  It is not possible to create strong type variables in the session, only in functions or classes.

    In your example if you had checked the value of String after the assignment I think you would have found that you had overwritten the class with a character value.  We do not require the parenthesis enclosing for assigning to multiple values.

    If you create your example in a function, you will get the results you expected.  We need to a webcast on using the session.  We have a major update to the session coming, probably right between Christmas and New Years.

    As for the using and reference, our original design required the using, but we are changing this to match the C# expectation of being able to explicitly specify a class or method.

    This will also be in the Christmas to New Years release.

     

View as RSS news feed in XML
Powered by Community Server, by Telligent Systems