Can you help me learn? I can't understand it!
Posted: Tue Oct 11, 2022 6:16 pm
Hi!
I apologize first of all to everyone.
I don't know how to program, I don't understand anything, but I am drawn to computers and programming.
A friend of mine who teaches computer science sent me Livecode 7 to do some testing. I fell in love (with Livecode, naturally!).
But like all lovers I am also dumb!
Having said that I ask you for help on this little stack, because I can't get it to work, yet it should be simple:
a. I created a stack with two cards
b. in the second card I created a field and a button. This button has the task to write a sentence in the field
c. I created a button in the first card. My goal is to command the button in the second card for it to write the sentence in the field.
The result I can get is opening the script editor of the second card's button that tells me, "button "Write": execution error at line 2 (Chunk: no such object), char 1".
What I'd like to do is command buttons on other cards to do things on the cards where they reside, but I can't do that. LiveCode's system is like telling me, in the specific case of the example, that the button that should be commanded by my button is as if it were on tab number one, where the field is not. (?)
However, it is much easier to understand if you see the stack that I attach....
I really appreciate your help, I don't know where to turn!
Thanks again!
Lorena
I apologize first of all to everyone.
I don't know how to program, I don't understand anything, but I am drawn to computers and programming.
A friend of mine who teaches computer science sent me Livecode 7 to do some testing. I fell in love (with Livecode, naturally!).
But like all lovers I am also dumb!
Having said that I ask you for help on this little stack, because I can't get it to work, yet it should be simple:
a. I created a stack with two cards
b. in the second card I created a field and a button. This button has the task to write a sentence in the field
c. I created a button in the first card. My goal is to command the button in the second card for it to write the sentence in the field.
The result I can get is opening the script editor of the second card's button that tells me, "button "Write": execution error at line 2 (Chunk: no such object), char 1".
What I'd like to do is command buttons on other cards to do things on the cards where they reside, but I can't do that. LiveCode's system is like telling me, in the specific case of the example, that the button that should be commanded by my button is as if it were on tab number one, where the field is not. (?)
However, it is much easier to understand if you see the stack that I attach....

I really appreciate your help, I don't know where to turn!
Thanks again!
Lorena