Search found 5 matches
- Thu Feb 21, 2019 8:38 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Putting loop in different procedures of code
- Replies: 14
- Views: 8445
Re: Putting loop in different procedures of code
Thanks for everyones help i have figured that out annoyingly there must be errors with other parts of my code but an error that doesnt make sense to me is a bad command error for using indentation ??
- Mon Feb 18, 2019 10:21 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Putting loop in different procedures of code
- Replies: 14
- Views: 8445
Re: Putting loop in different procedures of code
Ok so from this example is the code for the user input before the onmouseup ?
- Mon Feb 18, 2019 9:17 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Putting loop in different procedures of code
- Replies: 14
- Views: 8445
Re: Putting loop in different procedures of code
@Bogs.
The example does say "repeat", so I think that is a given. I assume the question refers to the ability in general to call command and function handlers from within other handlers, and to do so within a repeat is just a particular example.
@ mbell03:
In a button script, does this help ...
- Mon Feb 18, 2019 9:09 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Putting loop in different procedures of code
- Replies: 14
- Views: 8445
Re: Putting loop in different procedures of code
I really don't understand what it is that you are trying to do. I don't see anything in your pseudocode that suggests you need a loop that starts in one handler and ends in another. This is something you cannot do given the structures you suggest in your pseudocode.
You can achieve the same ...
- Fri Feb 15, 2019 11:15 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Putting loop in different procedures of code
- Replies: 14
- Views: 8445
Putting loop in different procedures of code
Hi i have a question about creating a loop that starts and ends in different procedures of code
I am following Pseudocode that says i
1. Start loop
2.
3.
4.
5. End loop
Each step of pseudocode must be a different procedure
ie on initialise
end initialise
Here is the code and the error message ...
I am following Pseudocode that says i
1. Start loop
2.
3.
4.
5. End loop
Each step of pseudocode must be a different procedure
ie on initialise
end initialise
Here is the code and the error message ...