Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
func key with a member of class
#1
Hi

I try to learn how to use a class and i have an issue with a single cmd:
why i can t use a.login with key ?
Code:
Copy      Help
class testC
    str login
    str pass

testC a

a.login="mylogin"
a.pass="mypass"

key (a.login);;<-- is not good

str login="mylog2"

key (login) ;;<-- is good
#2
Macro Macro2504
Code:
Copy      Help
class testC
,str'login
,str'pass


Forum Jump:


Users browsing this thread: 1 Guest(s)