Calling the next number in an array through a function?

ow do I request the next number in an array?
For example - currently being used for a loop:
for (i=0; i = levelSettings[0]; i++)
But when the function (named - NextLevel() ) is called I would like that loop to call the next number in that array.
Example:
(i=0; i = levelSettings[1]; i++) //Not the change in the levelSettings[x]
I would like this to work for all subsequent numbers in that particular array - so it can continue through to levelSettings[10] and so on.
Cheers!

in the outter for-loop, k is varying from 0 to the last index in levelSettings.
in the inner for-loop i varies from 0 to levelSettings[k].
ie,
0 to levelSettings[0]
0 to levelSettings[1]
0 to levelSettings[last_index]

Similar Messages

  • Able to call the next screen

    Dear Gurus,
    I have craeate a a New Transcation through module pool for PDA. PDA will be use through SAP Console and I have set that T Code default after logon.
    I am getting first screen as I designed. That feild is mandatory, but after that I could not able to call the next screen.
    Some one who will help me to give topic or tell how to link the seccond screen. SAP Console is running through internet.
    Thanking You
    Manoj Kumar

    Hi,
    If your screen sequence is constant then give your next screen number in the layout attribute screen.
    Or you can do this also in the before screen when any command call screen 'NO'.
    Hope this helps.
    Cheers!!

  • How do I obtain the next number for a Primary Key using an ADF View Object?

    I have two separate View Objects (A & B) for the same Entity Object. View Object A does a SELECT on all of the fields in the table. This View Object is where I execute my adds and updates. View Object B is only used to retrieve the next number for the primary key. This is done so that when I add a row to the database, I always get the max number of the primary key and add one to it. I accomplished this by setting the SQL mode to Expert and using the SQL: "SELECT MAX(NBR) AS MAX_NUMBER FROM TABLE_1". This may be overkill having a seperate View Object for this, but so far this is the only way I have found to obtain the next number. However, I have discovered that this way does not always work.
    The problem I'm running into is when I try to add multiple records to View Object A without committing the transaction between each add. Because View Object B is disconnected from View Object A, the MAX_NUMBER of View Object B comes back with the same number for each add I do on View Object A. So I know I must retrieve the MAX_NUMBER from View Object A.
    I've tried using the following code in my Table1ViewImpl class:
    this.setQuery("SELECT MAX(Table1.NBR) AS MAX_NUMBER FROM TABLE_1 Table1");
    this.executeQuery();
    The view object now has what I want, but I have yet to figure a way to extract the MAX_NUMBER out of the View Object. I've also looked into using the method addDynamicAttribute() but I can't figure out any way to set the attribute with the MAX_NUMBER.
    I can't be the only one trying to retrieve the next number from a database table using ADF. Can anyone help me with this? FYI - I'm using JDev 10.1.3 EA.

    You missing the point.
    On a multi-user db knowing the next highest number doesn't guarantee the number will be available when it comes time to commit the record. You can prove this to yourself by opening two instances of your app and do whatever you do to add a new record to your VO. Both will assume the same number, and when you commit an error will be generated
    You must use sequences to avoid the possibility of duplicate keys. If you are trying to avoid gaps in your numbering then you need to convince yourself why this is necessary.

  • Is it possible to call the contact number indicated in the cell?

    Hello! Tell me please, I want to move a lot of contacts in the electronic form and organize a list of contacts in Numbers. Is it convenient to use it on the iphone? Is it possible to call the contact number indicated in the cell? That is an example: name, contact, etc. A few columns. I click on the number of human cell, and then what would happen if a set of user (as it happens in the notes for example)?
    Sorry for my english.

    Your post is now in the iWork for iOS community. You should be able to get to it using the link in the email you receive with this message.
    Regards,
    Barry
    PS: Interesting that I received the notification of your post in Russian (except for the first and last words).
    Here's Googles translation of my reply above:
    Ваше сообщение в настоящее время в IWORK для IOS сообщества. Вы должны быть в состоянии добраться до него по ссылке в сообщении электронной почты вы получите с этим сообщением.
    С уважением,
    Барри

  • Hello to you in the company Apple. I am having a problem in the Apple Store ID does not allow me to work on the Apple Store I hope that you will help. You have sent you yesterday and today I want to call the phone number for Mei you and explain to you why

    Hello to you in the company Apple. I am having a problem in the Apple Store ID does not allow me to work on the Apple Store I hope that you will help. You have sent you yesterday and today I want to call the phone number for Mei you and explain to you why with many thanks

    Sorry, but you can't reach Apple here. This is a user to user forum and Apple does not follow these discussions.
    Try this link to contact Apple directly:
    Apple - Support - iPhone - Contact Support
    Did you already have a look at this page?
    App Store Frequently Asked Questions (FAQ)

  • I have not used my CS3 version for about 3-4 years.  I tried to use it recently and I get a message about activation.  Called the phone number recommended but no longer in use.  How do I start using MY version I paid for?  Using PC

    I have not used my CS3 version for about 3-4 years.  I tried to use it recently and I get a message about activation.  Called the phone number recommended but no longer in use.  How do I start using MY version I paid for?  Using PC

    Can you activate CS3. If you lost your serial you can retrieve it from Adobe.com. Sign in at Adobe.com the use this link https://www.adobe.com/account/my-products-services.html When your Adobe Product list is displayed click on your CS3 product your serial number should be displayed.

  • The below means called the online number from insi...

    calling history
    The below means called the online number from inside uk from +4413000000???
    This call was forwarded from  +4413000000

    Unfortunately, it is not possible to transfer Online Numbers between accounts. You can, however, set up call forwarding from one account to another to be able to receive calls when being logged into either one. Please see http://www.skype.com/intl/en/features/allfeatures/call-forwarding/
    If you found my answer useful, you can express that by giving me Kudos ↘. If my suggestion did the trick, mark it as a 'Solution' to help others.
    Thank You!

  • Skype shows that it is calling the wrong number

    (Skype version 7.2.0.103 running on a Windows 8.1 desktop computer.)
    As of this morning I been having an issue with skype where it shows that it is calling the first of three numbers I have set up for a contact, even when it is in fact calling one of the other numbers.
    For inscance I select to call the second number for the contact (the office number), skype shows that it is calling the first number (the cell phone).  Skype actually calls the office number (as was selected), it just indicates that it is calling the cell number.
    Confusing/Annoying problem, but not critical.

    Was the iPod previous synced to another iTunes library/computer?
    Have you successfully synced from this iTunes library/computer before?
    Do the songs play in iTunes?           
    Do you have the right boxes checked to sync?
    iTunes: Syncing media content to iOS devices and iPod        
    Try syncing using the manual method
    Last
    - Restore from backup. See:                                                
      iOS: How to back up

  • Thank you. Save or print this page for your records. We'll also send you an email confirmation. Case ID: 421912520 You have chosen to call Apple later. When you're ready, call the phone number below during business hours and refer to your Case ID for fas

    Thank you.
    Save or print this page for your records. We'll also send you an email confirmation.
    Case ID: 421912520
    You have chosen to call Apple later. When you're ready, call the phone number below during business hours and refer to your Case ID for faster support.
    1-800-MY-IPHONE
    6:00 a.m. to 11:00 p.m. Central
    iPhone
    Restore or update not working as expected
    You can review this case in the Cases & Repairs section.
    Additional Resources
    Return to Apple Support home.
    Visit your Support Profile.
    Create another support request.
    Your contact information
    Onechai John
    <Email Edited by Host>

    They already have your number and/or email address and maybe have sold it several times already to others as well. They also use number generators - software that will automatically create them - some work and some don't, they don't care, they send out millions and a few will fall for it and send them money. The only way to "hide" would be to change both and your password, but then it would happen again at some point.

  • If I called the 800 number in the mac system alert scam, is my computer infected?

    I called the 800 number on a mac system alert message; I gave no information but they knew my telephone number. Is my computer infected?

    No, unless you separately gave them access to it.
    (116468)

  • There is a problem with the phone app. When I want to call somebody the phone screen come too late. This will cause a problem if I call the wrong number

    There is a problem with the phone app. When I want to call somebody the phone screen come too late. This will cause a problem if I call the wrong number.  Apple please please please fix it as soon as possible and also check why the phone is always restart. I prefer to let us use the iOS 7 until you finished from the IOS 8 because Ios 8 still under construction  there is a tones problems in the system.  And this Will cause undirect problem for the iPhone 6

    There is no apple here in this user to user technical forum.
    Do this Use iTunes to restore your iOS device to factory settings

  • I am having to restart my iphone 4 prior to making a call otherwise my phone will not call the desired number, any solutions

    I am having to restart my iphone 4 on a regular basis prior to making a call otherwise my phone will not call the desired number, this is an intermittant fault any solutions.

    Hi toddea,
    If you are having issues backing up your iPhone to iTunes on your Windows machine, you may find the troubleshooting steps outlined in the following article helpful:
    iOS: If you can't back up or restore from a backup in iTunes
    http://support.apple.com/kb/ts2529
    Regards,
    - Brenden

  • HT201232 I have called the support number given, was on hold for more than an hour and received quite unpleasant phone bill for trying to sort out AppStore mistake! Is there any other options of getting "support" apart from calling these telephone numbers

    My account was charged for buying app that I actually didn't buy. I was trying to sort out these mistake by calling the support number given (Russia). There was no other options like sending an email or calling some other number. I was on hold for one hour and a half! Is that normal for Apple support??? So apart from being charged for the app I haven't given my permission to buy, I also got a phone bill for calling the only support number available. Where can I submit my complain and what could be done about it?
    Thank you,
    Natalia

    There is an email way to do this. See here: https://getsupport.apple.com/ContactInfo.action
    The Russian Federation is one of the countries listed under Other.

  • When a contact gets a new phone number, I delete the old and enter the new.  Then when I text or call the old number shows up as a selection yet it's no longer under the contacts info.

    When a contact gets a new phone number, I delete the old number and enter the new number.  When I try to text or call, both the old a new numbers. One up as a selection choice, even though the old number is gone from the contact.

    That's normal behavior as the old one will remain in the memory cache for a while until it's eventually overwritten.  If it's particularly bothersome to you, you can restore your phone as NEW and this will empty the cache.

  • Skype doesn't call the right number

    i was given this local number xxx xxx xxxx to skype call a number xxx xxx xxxx  when i call the skype to go a strange person answers the phone, not the person the number was set up for.  please help me correct this.  thanks

    musalim1981 wrote:
    please help me correct this.
    Hello,
    Please file here:
    https://support.skype.com/en/faq/FA1170/How-can-I-​contact-Skype-Customer-Service
    TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
    I recommend that you always run the latest Skype version: Windows & Mac
    If my advice helped to fix your issue please mark it as a solution to help others.
    Please note that I generally don't respond to unsolicited Private Messages. Thank you.

Maybe you are looking for

  • IMac start up loop

    I had no troubles installing and using maverick for the past 2 days until tonight this began to happen ... my iMac will continuously be on start up with a disorientated background then it will loop and restart itself over and over!!! anyone else with

  • Terminal: how do I list the contents of directories for specific files?

    I want list all quicktime movies under a specific directory (and then output this into a file) When I do this: ls -Rl This list everything under the folder and subdirectories - the 'l' flag I used to get just file names When I do this: ls -Rl *.MOV N

  • Setting the Author and Modified Time of Files and Folders via 2013 Rest

    Hi We've got an 3-legged-oAuth, `permissions on the fly` app that interacts with Sharepoint via the Rest AP. We're running into some hurdles preserving ownership and modification metadata on files migrated into the system.  With Sharepoint, the typic

  • Using Time Capsule with multiple Macbook Pro accounts

    I have had a 500 GB Time Capsule for a number of years, using it both as a router and hard drive.  I recently added a 2TB Time Capsule, which I plan to use exclusively for storage and the 500 GB Time Capsule for the router and to store the Time Machi

  • Itunes wont run after install

    my freind just installed itunes on his computer with no problems, but then he goes to open it and a screen appears saying itunes has encountered a problem and needs to shut down. does anyone know what is causing this? let me know if you know ANYTHING