feature {manager}
show_secret_info(x:BANK_CUSTOMER) is
-- mono o manager mporei na tin kalesei
do
io.put_string ("%NPoia stoixeia tou pelati ")
print(x.name)
io.put_string (" thelete na deite?")
io.put_string ("%NName %NAge %NaDdress %NPhone")
io.put_string ("%NPliktrologiste to kefalaio gramma ")
io.read_character
inspect io.last_character
when 'N' then print(name)
when 'A' then print(age)
when 'D' then print(address)
when 'P' then print(phone)
else
print("%NLathos epilogi")
end
end
Only manager can access this procedure...right?
when i try to call it, occurs an error.
these are the objects i create
b1,manager:BANK_CUSTOMER
......
manager.show_secret_info(b1)
error message:
erro code VUEX(2)
Error:feature of qualified call is not available to client class.
what to do:make sure feature after dot is exported to caller.
How to export?