Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Oct 2008
    Posts
    47
    Thanks
    6
    Thanked 2 Times in 2 Posts

    Post What is wrong with this code?

    @echo off
    @title MyLife
    if g. goto w.

    :w.
    if w. no exist goto manual

    :manual
    goto manual

    the manual goes infinitive loop, what is wrong?
    Last edited by tribalmp; 04-30-2013 at 08:18 PM.

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,994
    Thanks
    4
    Thanked 2,662 Times in 2,631 Posts
    The terminology you've used isn't really suitable for a public forum. Please modify it to use suitable phrases.
    The problem is simple. Since batch files are spaghetti-rific you simply have a label's first instruction to go back to its label.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 
    Been gone for a few months, and haven't programmed in that long of a time. Meh, I'll wing it ;)

  • #3
    New Coder
    Join Date
    Oct 2008
    Posts
    47
    Thanks
    6
    Thanked 2 Times in 2 Posts
    Quote Originally Posted by Fou-Lu View Post
    The terminology you've used isn't really suitable for a public forum. Please modify it to use suitable phrases.
    The problem is simple. Since batch files are spaghetti-rific you simply have a label's first instruction to go back to its label.
    I understand perfectly, just post here as a joke.
    But still got a good programming resolution.

    Thanks


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •