inner classes problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • josh

    inner classes problem

    Hi I've the following problem when I try to use

    AA.BB.x where isOK == false

    and in fact I have the following error:

    make is not defined


    AA =
    {
    BB =
    {
    make : function()
    {
    return "no";
    },

    x : isOK ? "yes" : make()
    }

    }

    why? x in that way can't be initializated to a calling function return
    value?

    Thanks
  • Joost Diepenmaat

    #2
    Re: inner classes problem

    josh <xdevel1999@gma il.comwrites:
    Hi I've the following problem when I try to use
    >
    AA.BB.x where isOK == false
    >
    and in fact I have the following error:
    >
    make is not defined
    This has already been answered. And your code still doesn't do what you
    claim it does.


    --
    Joost Diepenmaat | blog: http://joost.zeekat.nl/ | work: http://zeekat.nl/

    Comment

    Working...