int Data Type, Primitive or Not?

From: Nate Laws (Laws_at_discussions.microsoft.com)
Date: 08/09/04

  • Next message: mantarraya: "Re: visual j# .net redistributable package 1.1 setup ended prematu"
    Date: Mon, 9 Aug 2004 09:28:49 -0700
    
    

    The reason I ask is because I need a way to pass an integer to
    Microsoft.Office.Interop.Excel.SeriesCollection.Item(Object)

    In C#, int is aliased to System.Int32 so doing something like
    SeriesCollection.Item(1) works fine.
            
    However, in J# this will not even compile, and doing something like
    SeriesCollection.Item(new Integer("1")) throws a "Item method of
    SeriesCollection class failed" exception for me.

    Thanks,
    Nate


  • Next message: mantarraya: "Re: visual j# .net redistributable package 1.1 setup ended prematu"

    Relevant Pages

    • Re: DeriveParameters method fails if UDR parameter defined using LIKE
      ... problems with DeriveParameters but alas I fear not. ... trying to use "Cb" won't work, in fact it wouldn't even compile. ... the final parameter is an INT? ... Uknown SQL Type -110 exception. ...
      (comp.databases.informix)
    • Re: program doesnt "seem" to print "hello-out"
      ... What could be the reason? ... Probably the fact that it shouldn't even compile on a standard C ... int main ...
      (comp.lang.c)
    • Re: switch without breaks
      ... > #define REASON 1 ... > int main ... > ...and I think two defaults should compile. ... Prev by Date: ...
      (comp.lang.c)
    • Re: Choosing an exception
      ... If you try to assign an int to a string...then yes you will get a compile ... I'm guessing that you're trying to catch the exception raised ... > it creates a compile time error when fed a dummy value. ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: a code review
      ... >digits- one digit to the other until it becomes a one digit number. ... >When try to compile it ... >what might be the reason for this error? ... >int mispar; ...
      (alt.comp.lang.learn.c-cpp)

    Loading