Search:

Type: Posts; User: Norm

Search: Search took 0.49 seconds.

  1. [SOLVED] Re: Object does not recognize variables but it's class does? (Feel like a noob :( )

    Either extend the class to create a new type
    or use the class's constructor to make each instance of the class different by passing it values as needed.
  2. [SOLVED] Re: Object does not recognize variables but it's class does? (Feel like a noob :( )

    Try making a constructor to do the work.

    Calling a class's constructor from inside of its constructor can make an infinite call/loop possible.


    Sorry, that is exactly where the error is...
  3. [SOLVED] Re: Object does not recognize variables but it's class does? (Feel like a noob :( )

    What are you trying to do? That anonymous class attempt looks wrong.
    Why not use the class's constructor?

    The compiler's full error message has a better explanation of the error. Trying to type...
  4. [SOLVED] Re: Object does not recognize variables but it's class does? (Feel like a noob :( )

    Where is shipName defined? The compiler can not find its definition.


    Hard to say without seeing what the errors are.

    Copy the full text of the compiler's error messages and paste them here.
  5. [SOLVED] Re: Object does not recognize variables but it's class does? (Feel like a noob :( )

    The code tags you used don't work. Please fix them.

    Copy and paste the code and the error message when the internet connection comes back.
  6. [SOLVED] Re: Object does not recognize variables but it's class does? (Feel like a noob :( )

    Please edit your post and wrap your code with code tags:


    YOUR CODE HERE

    to get highlighting and preserve formatting.


    Please copy the full text of the error message and paste it here. It...
Results 1 to 6 of 6