Area of memory allocation each time the program runs

the syntax
DATA   f TYPE  C VALUE 'A' .
Actually allocates a memory area say it is 1000 -
now this is true for the  time the program runs-----my question is when the program  runs for the second time does the same location 1000 gets allocated or
a new memory say5000 gets allocated?

HI
When prog runs it allocates memory and when it finishes it will make that memory free. Its not necessary that it always allocates same memory location. No need to bother about memory address SAP is not like C.
Aditya

Similar Messages

  • Is it possible to reinitialise a control value to default each time the program redo his cycle in a while loop ?

    Is it possible to reinitialise a control value to default each time the program redo his cycle in a while loop ?
    My problem is that I have a numeric control (0 or 1) and I want taht wahn the numeric is 1 labview makes the writing process of my data but after that the control must return to 0 to write only one time.
    Is it possible ? I've tried some trials but none of them succeded

    well i'm student and i have to write a program for school i don't know labview very well.
    i post here the part of the program i have to do so you can see what i must do .
    The button pass with datasocket so i can't use boolean and the problem is that the value must be set to 1 only for one cycle (one writing of the values). so when th people set it to 1 in internet explorer for exemple the value must be considered as a impulsion and as it is it always do a lot of cycle until the man set it manualy to 0 what i don't want.
    Attachments:
    exemple.vi ‏9 KB

  • APEX 4.0 : Chart Region source get overwrite each time the chart run

    Hi,
    We are using application defined variable to provide the right URL to XML file (issue with chart we redirected from an other web server). Everything was just running OK 3.2.1 but in 4.0, the Chart Region Source get generated (and overwrite) our customisation as soon as the chart run.
    Any ideas ? Bug maybe ?
    Regards,
    Ben

    Hi Hillary,
    i get an error when applying this patch on Oracle XE with APEX 4.0.
    Logfile:
    13:22:39@~/Downloads/p9898931_111060_GENERIC>cat catpatch.log
    Session altered.
    RELEASE                                                                        
    dontexit                                                                       
    PL/SQL procedure successfully completed.
    ...wwv_flow_flash_chart5
    Warning: Package Body created with compilation errors.
    No errors.
    PL/SQL procedure successfully completed.
    timing for: Complete Patch
    Elapsed: 00:00:03.34I had to step back to the original version of this package.
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    Work: http://www.click-click.at
    Training: http://www.click-click.at/apex-4-0-workshops

  • My bookmarks suddenly are not accessible. Each time I try to use a bookmark, the following message comes up on the error page: The requested URL /exec/obidos/subst/home/home.html/103-3592028-6560639 was not found on this server. The page error is ident

    My bookmarks suddenly are not accessible. Each time I try to use a bookmark, the following message comes up on the error page: The requested URL /exec/obidos/subst/home/home.html/103-3592028-6560639 was not found on this server. The page error is identified as "ERROR 404" I tried a clean install of the latest version; no luck. looked at plug-ins & add-ons; no luck
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

    Hi Mac Attack,
    My computer will not disconnect from the internet.  It seems to find a clone router and continues even when I shut down and unplug my my own home iy
    Your main question was 'chopped' in the title. Please reply in the body of a reply box with the full question and anything you have tried. And no, the long report was not helpful .
    If the same website is opening each time you launch a browser (Safari?) hold down the shift key as you launch to prevent previous pages from opening.
    Have a look at your settings in Safari > Preferences. Especially General and Privacy.
    Reset Safari to remove cookies and other stored data.
    System Preferences > General
    Have a look at your settings in System Preferences >  Security & Privacy.
    Call back with more questions.
    Regards,
    Ian

  • Do itabs in ABAP program memory swap out when the program is swapped out?

    Do itabs in ABAP program memory swap out when the program is swapped out by the app server scheduler?
    If so, has anyone compared the time it takes to open/close an Oracle table n times with the time it takes to swap an itab of 50M in and out n times?

    Andrew -
    Although your suspicion appears to be wrong (according to the answer provided by CharlesF below), I'm awarding 6 because your answer indicates that you are at least sensitive to the issues involved here (which is better than 90% of the SAP practitioners out there.)
    However, I do want to take strong issue with you on the matter of how much available "multi-gig" memory is available, because this is irrelevant to the issue at hand.
    The question is: how does the swapin/out of large program memory affect the scheduler on the app server?
    This is a queueing theory issue that has nothing to do with how much memory is out there.
    Back in the days when folks had to know a little queueing theory (to evaluate the pro's and cons of ISO vs SNA and token-ring vs other protocols, everyone understood that if you ask the scheduler to repeatedly swap "alot" and to do so very often, then there will be a profound ripple effect on system performance, not just for anyone "job" or "program", but for any and every job or program.
    The reason is very simple, and the folks who taught the ISO/SNA seminars always used it: traffic flow on passenger highways is always best when there are few trucks travelling with the cars.  This is why the New Jersey turnpike sometimes splits into two "cars only" and "trucks and cars" highways, and why many other roads have "right lane" only restrictions for trucks in certain areas that tend to get congested ...
    Anyway, always a pleasure to chat with you ...
    Best regards
    djh

  • HT204053 We both use the same iPad my father and I as of today, because I am using it too from now on, but each time the ID & Password pops up it ask for his, how can I access mine, so it's my account and financials being used. Thanks to any of those gift

    We both use the same iPad my father and I as of today, as is letting me use it too from now on (sweet! ), I do not want to make a mistake and accidently use my father's ID & passwords (dohh ), but each time the ID & Password pops up it ask for his (???), how can I access mine, so it's my account and financials being used. Thanks to any of those gifted with this knowlegde... AMAKANGAROO

    In order to reliably save the info and be able to restore at a later date, you would need to use his AppleID.
    Switch to it on iTunes, back the iPad up and confirm the backup exists (Preferences / Devices), then switch to yours, wipe the iPad and start afresh. Will also wipe his apps, as they are tied to the AppleID as well.

  • How to create a unique file name each time the form is saved?

    I've got a form with several data items. When the user saves the form, it saves it as an .xml file. So far so good. But then I want the user to be able to start over and put in a new data set. I used the reset form button and this clears out the old data. But when the user goes to save the form for the second set of data, the default name of the .xml file is the same as the last record set. How do I get LCD to create a unique data name each time the form is saved? I know that the user can enter a new name, but I do not want them to have to think that much.
    Alternatively, is there a way that a user can enter several forms of data and save all of the data in one XML file that my PDF can scroll through or that I can import into excel and keep all of the data sets separate?

    Thanks Paul for the post. It sounds like this program is simply not designed for one user to keypunch a batch of forms. It would appear to limit the program's use to users who only need to key in one record/form. While a good solution for multiple users who need to enter just one set of data, the limitation would explain why this program is not widely used.

  • How to make a program that will ask for a name the first time the program is used and if is not the first time will not ask the name?

    I want to make a program that will ask for the ID of the testing machine the first time the program is running, then will never ask for it. I'm using Labview 6.0

    Hi
    There are a Couple of methods you can use for this.
    Method 1 -
    You can create an ini file and save a boolean Key "First Instance" as True. Now In your Program you read this Key, If it is True then you can show your ID Dialog VI.If False do not run the VI. At the Conclusion of Id Dialog you can update this registry enrty to False. So In effect you have created One time Event. In fact you can save ID as another Config entry.
    The Drawback and advantage is that such an INI file can be edited by someone moderately knowledgeable about the Program
    Method 2
    Use Unitialized Shift Register in A while Loop. Please see LV2 style Globals entry under this forum. You can read and write to this Variable and it retains the Value it last had within it.
    You can read
    this Global the Very first time and say if it true you display your ID Vi. If False you dont. When you display your ID Vi you can Update your Global Like Before.
    If you need Example Let me Know.
    Good Luck
    Mache!!
    Good Luck!
    Mache

  • I have recently had problems in getting my Adobe Premiere Elements 10 to run. One of the gentlemen was able to take over control of my computer, and got it working for me, however since that time the program will sometimes open but most times it just free

    I have recently had problems in getting my Adobe Premiere Elements 10 to run. One of the gentlemen was able to take over control of my computer, and got it working for me, however since that time the program will sometimes open but most times it just freezes the computer and I have to shut it down and re open without any success with opening the elements program.
    Can you help

    Sosure
    What computer operating system is your Premiere Elements 10 running on?
    What video card/graphics card does your computer use? NVIDIA GeForce? If so, please read the Announcement about the Premiere Elements 10 NVIDIA GeForce issue which is found at the top of this web site. Does that apply to you? The explanation for the situation and the fix (roll back of the driver version) are all included in that Announcement.
    We need to rule in or out this factor at the onset before we get to other questions
    a. non NIVIDIA video card/graphics card driver
    b. project preset and properties of source media
    c. computer details
    More later.
    We will be watching for your reply.
    Thank you.
    ATR

  • Best Lyrics cannot be permanently removed. It must have installed a hidden file that creates the add on each time the computer is booted.

    I inadvertently allowed the Best Lyrics add on to be installed for Firefox. It has annoying adds and sometimes links to malicious software. It can be disabled or removed from a session and become non functional after a Firefox restart but each time the computer is booted up it appears again. I assume there must be a file hidden somewhere that re-installs the add on each time the computer is started up. Does any one know how to remove this permanently?

    Thanks for the tip. It rurns out that the Bestlyrics was actually added as a program and I was able to get rid of it by uninstalling it from the control panel. (Should of thought of this before). I downloaded and ran Malwarebytes and it did find a couple of other PUP items for adware that I deleted. Thanks for the tip.

  • HT4972 I attempted to install the iOS 5 software onto my iPhone 4 several times a few months ago. Each time the download timed out at about 3.75 hours. Any suggestions on how to complete the update?

    I attempted to install the iOS 5 software onto my iPhone 4 several times a few months ago. Each time the download timed out at about 3.75 hours. Any suggestions on how to complete the update?

    See... Updating to iOS 5
    http://support.apple.com/kb/HT4972
    If you are using windows...
    Temporarily disable your firewall and antivirus software and try again...
    See here for Connection Issues
    http://support.apple.com/kb/TS1379
    From Here
    http://www.apple.com/support/itunes/troubleshooting/

  • Why does the organizer update every time the program opens?

    Why does the organizer open every time the program opens?

      It normally updates if there are new images or edits which are picked up from the watch folder. The default watch folder is My Pictures+sub-folders.
     

  • I burnt CDs thru Finder and IPhoto. Each time the titles failed to transfer. Why?

    I burnt CDs thru Finder and IPhoto. Each time the titles failed to transfer. Why?

    Where are you looking for the Titles? You're not confusing titles - which are an entry in the Exif metadata of the file - with Filename?
    Regards
    TD

  • Some programs do not run: update software, mac App Store, Calendar, ibooks.V the same time, the program iTunes, iPhoto and other work normally. What to do?

    Some programs do not run: update software, mac App Store, Calendar, ibooks.V the same time, the program iTunes, iPhoto and other work normally. What to do?

    Hello JohnnyChin95,
    You absolutely can just reinstall OS X Mavericks without having to erase and install. The steps to do that are almost the same as the only thing you do differently is that you do not go to Disk Utility to erase the drive. Just go to the Reinstall OS X option and pick your Hard Drive and follow the on screen instructions to get it going. Check out the article below for the step by step process. 
    OS X Mavericks: Reinstall OS X
    http://support.apple.com/kb/PH13871
    Regards,
    -Norm G.  

  • How can I stop a sound from looping so it plays only once each time the up key is pressed?

    Hi there here is my code, the basis is it is playing a mp3 from my library.
    Basically as the topic suggests I only want the sound to play once each time the UP arrow key is pressed. At the moment when you hold the up arrow down the sound keeps triggering and looping and gets really loud and noisy.
    Here is my code for my game:
    package com.chasegame.components
              import flash.display.MovieClip;
              import flash.display.Stage;
              import flash.events.Event;
              import com.tech.utils.KeyObject;
              import flash.ui.Keyboard;
              import flash.media.Sound;
              import flash.media.SoundChannel;
              public class SpaceShip extends MovieClip
                        private var key:KeyObject;
                        private var speed:Number = 0.3;
                        private var rotateSpeed:Number = 5;
                        private var vx:Number = 0;
                        private var vy:Number = 0;
                        private var friction:Number = 0.95;
                        private var shipSound:roar = new roar();
                        private var shipSoundChannel:SoundChannel = new SoundChannel();
                        public function SpaceShip () : void
                                            key = new KeyObject(stage);
                                            addEventListener(Event.ENTER_FRAME, loop, false, 0, true);
                        public function loop(e:Event) : void
                                            if (key.isDown(Keyboard.UP))
                                                           vy += Math.sin(degreesToRadians(rotation)) * speed;
                                                           vx += Math.cos(degreesToRadians(rotation)) * speed;
                                                           shipSoundChannel = shipSound.play();
                             else
                                                           vy *= friction;
                                                           vx *= friction;
                                  if (key.isDown(Keyboard.RIGHT))
                                            rotation += rotateSpeed;
                                  else if (key.isDown(Keyboard.LEFT))
                                            rotation -= rotateSpeed;
                                  y += vy;
                                  x += vx;
                                  if (x > stage.stageWidth)
                                            x = 0;
                                  else if (x < 0)
                                            x = stage.stageWidth;
                                  if (y > stage.stageHeight)
                                            y = 0;
                                  else if (y < 0)
                                            y = stage.stageHeight;
                        public function degreesToRadians(degrees:Number) : Number
                                  return degrees * Math.PI / 180;

    If you want the sound to only play once when the key is pressed then you don't want to have it in the ENTER_FRAME event handler like you have it.  It is starting new sounds at the frame rate of your file the way you have it now.
    Try having an event listener dedicated to a KeyboardEvent.KEY_DOWN event where you detect when the UP key gets pressed and use that to trigger playing the sound.

Maybe you are looking for