Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Basic4ppc Wishlist
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Basic4ppc Wishlist Missing any feature?

"Break" command for iterations

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-19-2010, 01:23 PM
Basic4ppc Expert
 
Join Date: May 2008
Location: Berkshire, UK
Posts: 810
Awards Showcase
Beta Tester 
Total Awards: 1
Default "Break" command for iterations

The "Exit" command drops out of a loop, that is Go-To after the innermost containing Loop or Next command.

Some languages have a handy "Break" that only terminates the current iteration, that is Go-To before the Loop or Next command.

Mike.
Reply With Quote
  #2 (permalink)  
Old 06-20-2010, 11:42 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,691
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

I believe that you are referring to the "continue" keyword in C languages, right?
Reply With Quote
  #3 (permalink)  
Old 06-20-2010, 12:06 PM
Basic4ppc Expert
 
Join Date: May 2008
Location: Berkshire, UK
Posts: 810
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by Erel View Post
I believe that you are referring to the "continue" keyword in C languages, right?
Ah, you could be right. I do have a Psion OPL manual to hand and I see that there the "Break" works like your "Exit", leaving the loop, whereas OPL has a "Continue" working like my suggestion; and probably in C as you identify. I expect I was always getting them confused. However "Exit" is clearly not a continuation of any sort!

Mike.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Catching the "Shift", "right" & "left" keys linum Questions (Windows Mobile) 3 08-21-2009 01:22 PM
calling the device's "Programs" or "settings" screens karmba_a Questions (Windows Mobile) 3 03-15-2009 05:41 PM
Auslesen einer Tabelle in eine Textbox und löschen von "0,00-Ergebnissen" JOTHA German Forum 8 11-29-2008 08:50 AM
"AddEvent" and "buttonUp/buttonDown" Byak@ Questions (Windows Mobile) 12 09-10-2008 03:04 PM
calling the device's "Programs" or "settings" screens HarleyM Questions (Windows Mobile) 0 12-05-2007 02:59 AM


All times are GMT. The time now is 02:12 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0