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
    43
    Thanks
    5
    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 07:18 PM.

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,987
    Thanks
    4
    Thanked 2,660 Times in 2,629 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'); 

  • #3
    New Coder
    Join Date
    Oct 2008
    Posts
    43
    Thanks
    5
    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
    •