Answer to Question #10824 in Visual Basic for aaron smedley

Question #10824
I AM TRYING TO MAKE A SIMPLE TEXT MAZE IN A BATCH FILE. BUT MY "IF" AND "GOTO" COMMANDS ARE NOT WORKING. THE PROGRAM JUST GOES WHERE IT WANTS AND NOT WHERE I SPECIFY... HERE IS A SAMPLE OF WHAT I HAVE, THAT ISNT WORKING.
:F
set /p answer= you are alone in the jungle surrounded by trees. the path leading north is blocked off by a fallen tree, the path leading east is dry and cracked earth, the path to the south is quiet and peaceful, and in the west there is a volcano looming on the horrizon. which direction will you go, e,s, or w
if directionchosen ==w goto D
if directionchosen ==W goto D
if directionchosen ==s goto I
if directionchosen ==S goto I
if directionchosen ==e goto G
if directionchosen ==E goto G

:D
set /p answer= there is a massive volcano right in front of you.there is a rocky path to your north, a path with trees to your east, and the sound of running water to your south. there is a large and indestructable wall blocking any paths leading west. NO MORE SPACE :(
1
Expert's answer
2012-11-12T08:15:30-0500
Unfortunately, your question requires a lot of work and cannot be done for free.
Submit it with all requirements as an assignment to our control panel and we'll assist you.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS