#ArrayList
26 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @outer swift! Please use
/closeor theClose Postbutton above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
- When they say "return" it's to be taken literally. You're supposed to have a neverending menu loop that, when a command is given, calls the corresponding command, and once that command has terminated, the fact that it is finished makes it fall bacck to the neverending menu loop
- One way or another, this will require higher skills, where you learn to deal with what's called "exceptions"
You need a while loop that displays the menu. The way a while loop works, it will constantly go back to it
Ideally, you would have methods for the command. But it does the same as if they were in the loop too
The loop contains what you want to repeat. You want to repeat reading a command and executing the command given, so yes, it's in the loop
I have no idea of what it truly is like
if(incorrect)/else sounds like a way to do it. Even if a bit weird
Why would you question the if/else? Your issues are elsewhere
What are you doing?
Don't you understand the concept of repeating doing something?
I suppose the end effect is that. But how are you going to make it so that's what happens?
What have I already told you?
Yes. More specifically?
nah, didn't say that
Nah, didn't say that
I guess copy/paste what I said
Yup
neverending menu loop
That makes no sense
I don't understand why you're talking about other stuff
neverending menu loop
talk about that
not about something else
Here you go
Now make it so it checks the command and executes it