Results 1 to 5 of 5
  1. #1
    return_cheats's Avatar
    Join Date
    Jan 2017
    Gender
    male
    Location
    Behind You.
    Posts
    15
    Reputation
    10
    Thanks
    8
    My Mood
    Stressed

    What harm can an infinite loop actually cause?

    Code:
    Do While (5 > 2)
         ' Console.Write(":?x{dd};");
    Loop
    Why is it bad? Or is it bad?

  2. #2
    RoPMadM's Avatar
    Join Date
    Jul 2013
    Gender
    male
    Location
    __asm
    Posts
    226
    Reputation
    12
    Thanks
    251
    My Mood
    Cynical
    Just run it, it will infinitely run and output your string. Because of the intelligent memory management of the VB.net compiler there won't be any overflow.
    And of course it won't do any damage.

  3. #3
    Biesi's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Posts
    4,993
    Reputation
    374
    Thanks
    8,808
    My Mood
    Twisted
    Well, it is "bad" because it will block the thread it is running on (if not intended)

  4. #4
    return_cheats's Avatar
    Join Date
    Jan 2017
    Gender
    male
    Location
    Behind You.
    Posts
    15
    Reputation
    10
    Thanks
    8
    My Mood
    Stressed
    [Resolved]
    I can't change the thread title.

  5. #5
    Hugo Boss's Avatar
    Join Date
    Oct 2011
    Gender
    male
    Posts
    28,752
    Reputation
    4790
    Thanks
    5,902
    My Mood
    Angelic
    Closed, since resolved.

     
    Super User since 08-29-2017
    Global Moderator from 10-02-2016 - 08-29-2017
    Premium Seller since 11-16-2016
    Moderator from 09-24-2015 - 01-09-2016
    Alliance of Valiant Arms Minion from 11-12-2015 - 01-09-2016
    Market place Minion from 09-24-2015 - 01-09-2016
    Crossfire Minion from 09-11-2015 - 01-09-2016

    Middleman from 07-07-2015 - 01-09-2016
    Market Place Minion from 03-03-2014 - 08-01-2014
    Middleman from 01-30-2014 - 08-01-2014
    Moderator from 03-29-2013 - 04-04-2013
    Market Place Minion from 03-07-2013 - 04-04-2013
    Premium Member since 01-25-2013
    Middleman from 12-04-2012 - 04-04-2013
    Registered since 10-9-2011

Similar Threads

  1. I can't believe I actually made another account...
    By Fatty* in forum Flaming & Rage
    Replies: 16
    Last Post: 11-17-2009, 01:55 AM
  2. what i can do with points in mpgh
    By artur619 in forum General
    Replies: 48
    Last Post: 10-26-2009, 05:26 PM
  3. Replies: 77
    Last Post: 08-25-2009, 01:49 PM
  4. what functions can be used in a vb.net dll?
    By t7ancients in forum Visual Basic Programming
    Replies: 0
    Last Post: 04-01-2009, 07:20 PM
  5. [REQUEST]what you can make for Combat arms using VB6?
    By Darkklord in forum Programming Tutorial Requests
    Replies: 1
    Last Post: 11-09-2008, 05:58 AM