HOW CAN YOU END A PROGRAM within the program??? (TERMINATING THE PROGRAM)

I want my program to end if it encounters a certain string... i tried break.. but that doesn't do the job.. that just ends a loop... how can i end the program.. and maybe display a message such as "ERROR: Incorrect Input - Program will now terminate"...
Thanks in adavnace

thanks.. it works perfectly!

Similar Messages

  • How can you minimize or (turn) off the "side panel" in Web Intelligence in the view mode.

    How can you minimize or (turn) off the "side panel" in Web Intelligence in the view mode.
    It is possible to turn on/off options within the Side Panel by Customization of Groups.
    But it seems You cannot influence the way Web Intelligence present (minimized or Off) the Side Panel in the IE??
    Is there a solution for this??
    If not, it would be a nice property of a Web Intelligence document in a future release.

    Hi Nico,
    we patched up to BI 4.1 SP 3 Patch 2
    and look look
    click side panel to minimize
    so .. patch patch ...

  • We are evaluating the use of iPod touch devices to record best practice videos on our manufacturing floor and to post to an internal Moodle web site. How can you upload a video from the iPod touch to a site other than YouTube?

    We are evaluating the use of iPod touch devices to record best practice videos on our manufacturing floor and to post to an internal Moodle web site. How can you upload a video from the iPod touch to a site other than YouTube? The Moodle upload interface is expecting a file selection dialog box like windows or OSX. I do not want to have to go through an intermediary step of messing with a pc.
    Thanks!

    It should be around 7 and a half gigs. In iTunes, across the bottom there should be a bar that show how much storage is being used and by what. (music, movies, apps, etc.) To make music take up less room, you can check the box to make it convert the music to 128kbps AAC. This lowers the quality, but with most earbuds and speakers, you can't even tell the difference.
    The iPod touch has parental controls built in. You'll find them in Settings. I think they only work for enabling/disabling Safari, Mail, YouTube, and App Store. Here's an app that does more: http://www.mobicip.com/online_safety/ipod_touch

  • In print preview - how can you have multipage previews of the document - 1 - 2 - 3- 6 - 12 page preview and so on so that you can see if the document is ok to print?

    WINXP - In Explorer you can have multi-page print previews from 1, 2, 3, 6 upwards to check and confirm that the document will print correctly to your needs - and does this across the screen format as opposed to down the page, so that you can see all 12 pages on your screen to quickly see that the print percentage is correct and all pages fall into the print area and so on - how can you set this up with Firefox, because printing with Firefox is so unstable, you don't know what to expect when printing a document or web page?

    No what I mean is how can you see many pages across the screen without having to scroll like in explorer where you can see 12 or more small pages on your screen without scrolling down, like tiled across your screen as opposed to vertical down the page. Thanks

  • How can you download premier pro when the icon doesn't exist in cloud?[was:pr]

    how can you download premier pro when the iucon doesent exist in cloud???

    In order to download the software, your computer must meet the system requirements to run the software.
    http://helpx.adobe.com/x-productkb/policy-pricing/system-requirements-premiere-pro.htmlhttp://www.adobe.com/products/premiere/tech-specs.html
    The usual reason for not being able to download is that Premiere Pro (and other video apps such as After Effects) are 64 bit only so they require a 64 bit computer and a 64 bit operating system.
    If you're running a 32 bit computer and operating system then you will not see the Premiere Pro icon since the software will not run on your computer.

  • How can you cancel sounds registered during the lessons?

    How can you cancel sounds registered during the lessons?

    In applications, drag the install OSX 10.10.1 to trash. The download will not install unless you tell it to. You can download it without it installing, so trash it if you have decided you don't want it or simply don't tell it to install.
    Cheers
    Pete

  • When slides are updated within a MS Sharepoint slide library, how can you force an alert with the updated slide version going to users who have previous slide versions on their hard drive?

     How can you hardcode/force that when a slide within a slide library (in Sharepoint 2010) is updated, that an alert is sent to the user who downloaded the slide to their hard drive so that they may replace the outdated slide with the recently
    updated slide. There is a tic box option to set when downloading slides from a sharepoint slide library into power point that ensures alerts are sent when the presentation is opened allowing for replacement of the slide. But, it is an option. How can that
    be hardcoded are forced on all slide library users who download slides from the shrepoint library into power point? Is there a workflow that can be written in Sharepoint or an option in power point to do this? Please advise. Thanks.

    Two things to check:
    Add the network folder location as a trusted location in your Flash Global Security settings and then see if the videos will play.
    If the first suggestion doesn't work, get in touch with your network admin dudes and find out if FLV files are disabled from working over the network from that location.  Many times unless a given file format is enabled on a network, the server assumes it's not desirable and won't serve it.

  • How can you get your photos in the order they are in your computer

    How can you get your photos synced to your phone in the same order as the file on your computer?

    The iPhone Photos app orders photos by date.

  • How can you reset an ipod if the lock button is broken?

    how can i reset my ipod if the lock button is broken?

    To reset the iPod without the hardware buttons,
    - Reset network settings: Settings>General>Reset>Reset Network Settings. All your wifi and bluetooth preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected. You will have to rejoin wifi networks and repair BT devices
    If you mean place in recovery mode then use on of these
    For PC
    RecBoot: Easy Way to Put iPhone into Recovery Mode
    If necessary:
    Download QTMLClient.dll & iTunesMobileDevice.dll for RecBoot
    and                                           
    RecBoot tip
    RecBoot may have problems on 64X windows, then try:
    Tenorshare ReiBoot – Enter & Exit iPhone, iPad, iPod Recovery Mode with a Single ClickFor MAC or PC           
    The Firmware Umbrella - TinyUmbrella
    Installs blootware on PC too

  • HT1430 How can you reboot your Touch if the screen is frozen and will not allow you to use the "slide to power off"

    How can I reboot my Touch when the screen is frozen and I cannot use the "slide to power off" feature?

    Next try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar          

  • If we have the original ipad, how can you open a pdf in the ibooks? the menu tap bar does not appear at the top of the screen like the new ipad2. Any suggestions?

    If we have the original ipad, how can you open a pdf in ibooks? The menu bar does not pop up like it does on the ipad2. Any suggestions?

    Are you in Safari and you want to copy them to iBooks, or you in a different app ? Assuming that you are using Safari, then if I open a PDF on my first gen iPad in Safari and tap on it, I then get a pop-up bar at the top of it with the 'Open In' options.

  • TS1702 how can you update your apps on the itune page like you use to with the old itunes

    How can I update my apps on the new itunes?  On the previuos itunes i was able to update them won the computer the sync my phone - i can not locate the update notifacation area on this new itunes program

    With iTunes 11 you can enable the left-hand sidebar via option-command-S on a Mac, control-S on a PC. You should then be able to sleect the Apps section of your library on that left-hand sidebar, click the 'Check For Updates' button at the bottom of it and download any available updates. Then connect your phone and select it on the sidebar, select its Apps tab on the right-hand side of iTunes, and click the Sync button at the bottom of it - that should copy any app updates over to it

  • HT2486 When you want to add another person from same company, how can you duplicate and then modify the card already entered?

    When usinf Mac Address Book and you have entered the information for one contact from a company, how can you duplicate the card so you can add another person from same company?

    I'm afraid the LU suffix is a new one on me.
    As long as you have all of the content in your library then that remove and sync warning shouldn't cause any loss of data, but it shouldn't be happening every time. It may pay to take the following steps to reset the connection between the two,
    Backup device.
    Restore as a new device.
    Restore the backup made earlier.
    Again, this assumes all content on the device is in your library. If that isn't the case see Recover your iTunes library from your iPod or iOS device first.
    tt2

  • How can you remove old conversations from the iMac. Even when I remove them they return when I start a new conversation with the same person. Only happens on iMac with the Beta iMessage program

    How do you remove an old conversation using  the Beta iMessage on an iMac. When I open a new conversation with the same person the old conversation comes back

    Hi,
    Previously iChat had tried a Last Chat/IM option when using Saved Transcripts - which itself was an option.
    iChat has also tried "Saving" the Last Chat by leaving a Chat window open and using something similar to the Lion method of showing an app in the state is was closed in.
    In Messages the option to Save Transcripts has been removed and Chats or all types are saved as a matter of course.
    What this tends to mean for your iChat style Buddy Chats is that it opens all the Transcripts  for that buddy as a sort of History you can scroll back through if you want  (I have  some Buddies with saved chats gong back to 2004)
    With the Syncing of iMessages with iPhones and iPads (or Touches) then it seems this works slightly differently.
    Although you can delete the chat and the contents of the Chat as separate action it is true that in the Beta as soon as you connect to the same Contact that the contents of the previous chats are shown to you.
    I have found that Messages stores a data base of info on iMessages in Your Home Folder/Library/Messages
    I have found that deleting this chat-db removes the "History" that keep popping up.
    By default the Saved "iChats" are also stored in the Home Folder/Documents/iChats (At least this is the default place iChat used and they go to the same iChats folder where ever you had it)
    Some people claim removing iMessages saved here stops the "History" reappearing.
    In Lion the only access to the Home Folder/Library is via the Finder's Go Menu and hiding down the ALT key
    10:00 PM      Sunday; June 10, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.4)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.7.4),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • How can i use connection pool within the sqlj?

    hello
    i am a beginner to sqlj,i find all of the sample code from the oracle DON'T use connectionpool,they only write the database url to "connection.properties" file,but i think in the production environment we should use the connectionpool to optimise the querying,i usually use the weblogic connection pool.
    how can i use the connection pool within the sqlj?
    thank you very much!

    Im not sure if I understand. :)
    English is not my best language...
    Looking up the connection again? Do you mean I have to create new DataSource object and bind it again to ServletContext?

Maybe you are looking for