Re: EndIf is If?

Hey n872yt3rUse the following line instead

If test == "Testing Reply" Then

Put two equal signs there

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.''God exists because Mathematics is consistent, and the devil exists because we cannot prove it''But our love is like the wind. I can't see it but I can feel it.' -A Walk to remember

Re: EndIf is If?

Try 2 = signs anyway

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.''God exists because Mathematics is consistent, and the devil exists because we cannot prove it''But our love is like the wind. I can't see it but I can feel it.' -A Walk to remember

Re: EndIf is If?

Have you understood what gAr said?

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.''God exists because Mathematics is consistent, and the devil exists because we cannot prove it''But our love is like the wind. I can't see it but I can feel it.' -A Walk to remember

Also, you can't test if TextWindow.Read() is equal to the variable 'test2' because you haven't set it to anything yet. But you already set the "test" variable to TextWindow.Read() on the second line of your program. What I think you meant to do is something like this:

Line by line, the program says this:1. Show the user "Testing" (print it out on the screen).2. Set the variable "test" to whatever the user types.3. Check if the "test" variable is equal to "Testing Reply" (without quotes). If it is, go to step 4, otherwise go to step 5.4. Show the user "This is text." (Without quotes, of course!) Then go to step 8.5. Check if the "test" variable is equal to "Testing Reply 2" (without quotes). If it is, go to step 6, otherwise go to step 7.6. Show the user "This is also text." Then go to step 8.7. Show the user "Sorry, this operation did not perform correctly." Then go to step 8.8. This is the "EndIf." It pretty much says "quit asking all these 'if' questions!"