How to send a break?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: How to send a break?

  1. #1
    Cesar Guest

    How to send a break?


    How Would I create or what is the command to write a "break"?

  2. #2
    joshua kramer Guest

    Re: How to send a break?


    Breaks are used to break outta a loop...

    for (int i = 1; i < 10; i++){
    // code
    if (want outta for loop){break;}
    }


    "Cesar" <delgadoalex2001@aol.com> wrote:
    >
    >How Would I create or what is the command to write a "break"?



  3. #3
    Paul Clapham Guest

    Re: How to send a break?

    "Cesar" was probably asking about the break that's a special signal you send
    over a telephone line to indicate you're going away or something like that.
    I have no idea how you'd do that in Java... anyone else?

    "joshua kramer" <jdk6859@cs.rit.edu> wrote in message
    news:3ad7a244$1@news.devx.com...
    >
    > Breaks are used to break outta a loop...
    >
    > for (int i = 1; i < 10; i++){
    > // code
    > if (want outta for loop){break;}
    > }
    >
    >
    > "Cesar" <delgadoalex2001@aol.com> wrote:
    > >
    > >How Would I create or what is the command to write a "break"?

    >




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center