Have a question, is it way that will allow nested class B to get Instance variable from class A?
Var from class A have not to be Static. Like this:
Code: Select all
Class A{
Var:=1
Class B{
Msg()
{
MsgBox % A.Var ;What to write here or not here, to get A.Var?
}
}
}
Test:= New A
Test.B.Msg()
return