Can somebody please explain me this logic?

array = [1,2,3,4,5,6,7];
newArray = array;
trace ("array: " + array);
newArray = newArray.splice (0, 5);
trace ("array: " + array);
Output:
array: 1,2,3,4,5,6,7
array: 6,7
As you can see, I set a variable equal to another (newArray = array), then splice it. But the problem is, it is affecting the old variable too!
How can that be?
I need to use the complete original "array", but no matter how many variables I create equal to it, when I splice them, it affects all of them!
I might find a solution by turning the variable into string, then back to array or something like that. But what I would like is to understand what's going on in that code. If someone could explain me, i'd appreciate it a lot.

Thank you.
That helped me out.
I found my problem also in the Flash Documentation. I couldn't find it before because i didn't know what to look for.
Anyway, here's the link if someone wants it:
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Liv eDocs_Parts&file=00000661.html
It teaches how to create a copy of an array using a "for", but "kglad's" method is much better.

Similar Messages

  • Can somebody please explain how to format and then reinstall Mac lion10.7 without cd

    can somebody please explain how to format and then reinstall Mac lion10.7 without cd

    You will need either an Ethernet or Wifi Connection to the Internet - USB Mobile device is not supported.
    If you already have Lion installed you can boot to Recovery with Command R and use the Disk Utility to erase the Macintosh HD and then reinstall the OS from the Mac OS X Utilities.
    You will need the Apple Id used for purchase if the Mac did not ship with Lion installed originally.
    If you want to repartition the HDD you can use the Recovery Disk Assistant to make a recovery USB drive
    http://support.apple.com/kb/DL1433
    http://support.apple.com/kb/HT4848
    As Always - Back up the Mac before erasing unless you are confident there is absolutely nothing on the mac that you might possibly need later.
    If the machine is a 2011 build or later you might be able to boot to Internet Recovery with Command Option R

  • Can somebody please confirm/deny this?

    Can somebody please confirm/deny this?
    FP 9 on Linux shows time one hour ahead than the local time.
    Try following line with FP9 on Linux
    trace("Current Time "+new Date());

    On Thu, 11 May 2006 05:35:14 -0400, Nikolay <[email protected]>
    wrote:
    > I think the files in
    > http://download.eclipse.org/webtools/downloads/drops/R-1.0.2 -200604200208/
    > are wrong! Can somebody please confirm/deny this?
    >
    Yes, they are "out of date", even though code is the same. The 1.0.2
    release was refreshed, the code plugins are all exactly the same, but the
    qualifier on some features (and, hence, code plugins) were
    fixed up to allow update manager to work. The correct "drop site" for
    1.0.2 is now
    http://download.eclipse.org/webtools/downloads/drops/R-1.0.2 -200604280245/
    I think, actually, the problem with the update site is that update manager
    has a tendancy to give you only the "smallest" most recent update. If you
    would have said "update again", even using the mirror, I believe it would
    have given you another update, the 1.0.2.v200604280000 version.
    If I can figure out a safe way to do it, some day I'll clean out those
    "out dated" versions (200604200208) to help avoid the confusion. But, as a
    general rule, when ever you use update, you might want to do it several
    times, until it tells you "there are no updates". If you are in the mood
    to experiment to confirm this, that would be great (although, obviously,
    you'd have to "start over" with your prevous version, and I do not know
    how easy that would be for you.)
    Thanks,

  • HT5457 So can somebody please explain to me why the first gen iPad missed out on ios 6?

    So can somebody please explain to me why the first gen iPad missed out on ios 6?

    safrones wrote:
    Is that what you really believe?
    I don't know cause Apple decided for me.
    As does Microsoft anytime that they release a new update that is no longer compatible with the old PC hardware.
    I would hope that Microsoft and Apple would both know what operating systems will run on the hardware that is produced for them.
    I would also hope that Microsoft and Apple know better than you do as to what would work on their devices, tablets, computers, phones .... How much time and money have you put into research and development on the iPad?

  • Can somebody please simplify/tune this query?

    Hi,
    Can somebody please simplify this query?
    It's a little urgent. Currently this query is taking 10 mins to run.
    Thank you so much,
    vasu
    Purpose:
    First Child Case Ind =
    Get Parent Case for this case.
    Get all child cases for this parent case.
    Arrange them in ascending order by create Date.
    If the first case (eldest case) is the case in question,
    then Y
    else N
    Query:
    SELECT THIS_CASE.OBJID THIS_CASE_OBJID,
    PARENT.PARENT_OBJID,
    (CASE
    WHEN PARENT.FIRST_CHILD_OBJID = THIS_CASE.OBJID
    THEN 'Y'
    ELSE 'N'
    END) IS_FIRST_CHILD_CASE
    FROM SA.TABLE_CASE THIS_CASE,
    (SELECT PARENT_OBJID,
    CHILD_OBJID FIRST_CHILD_OBJID
    FROM (SELECT PARENT_CASE.OBJID PARENT_OBJID,
    CHILD_CASE.OBJID CHILD_OBJID,
    CHILD_CASE.CREATION_TIME,
    ROW_NUMBER() OVER (PARTITION BY PARENT_CASE.OBJID
    ORDER BY CHILD_CASE.CREATION_TIME ASC) ROW_NUM
    FROM SA.TABLE_CASE PARENT_CASE,
    SA.TABLE_CASE CHILD_CASE
    WHERE PARENT_CASE.OBJID = CHILD_CASE.CASE_VICTIM2CASE
    WHERE ROW_NUM = 1
    ) PARENT
    WHERE THIS_CASE.CASE_VICTIM2CASE = PARENT.PARENT_OBJID(+)

    Thank you for the quick reply.
    Here is the explain plan:
    Operation     Object Name     Rows     Bytes     Cost
    SELECT STATEMENT Optimizer Mode=CHOOSE          2 M          32831
    HASH JOIN OUTER          2 M     130 M     32831
    TABLE ACCESS FULL     SA.TABLE_CASE     2 M     24 M     21550
    VIEW          307 K     11 M     10130
    WINDOW SORT PUSHED RANK          307 K     7 M     10130
    MERGE JOIN          307 K     7 M     8666
    TABLE ACCESS BY INDEX ROWID     SA.TABLE_CASE     307 K     4 M     1266
    INDEX FULL SCAN     SA.IND_CASE_VICTIM2CASE     307 K          738
    SORT JOIN          2 M     19 M     7400
    INDEX FAST FULL SCAN     SA.PK_TABLE_CASE     2 M     19 M     785
    Please let me know.
    Thank you.

  • Can you please explain how this query is fetching the rows?

    here is a query to find the top 3 salaries. But the thing is that i am now able to understand how its working to get the correct data :How the data in the alias table P1 and P2 getting compared. Can you please explain in some steps.
    SELECT MIN(P1.SAL) FROM PSAL P1, PSAL P2
    WHERE P1.SAL >= P2.SAL
    GROUP BY P2.SAL
    HAVING COUNT (DISTINCT P1.SAL) <=3 ;
    here is the data i used :
    SQL> select * from psal;
    NAME SAL
    able 1000
    baker 900
    charles 900
    delta 800
    eddy 700
    fred 700
    george 700
    george 700
    Regards,
    Renu

    ... Please help me in understanding the query.
    Your query looks like anything but a Top-N query.
    If you run it in steps and analyze the output at the end of each step, then you should be able to understand what it does.
    Given below is some brief information on the same:
    test@ora>
    test@ora> --
    test@ora> -- Query 1 - using the non-equi (theta) join
    test@ora> --
    test@ora> with psal as (
      2    select 'able' as name, 1000 as sal from dual union all
      3    select 'baker',   900 from dual union all
      4    select 'charles', 900 from dual union all
      5    select 'delta',   800 from dual union all
      6    select 'eddy',    700 from dual union all
      7    select 'fred',    700 from dual union all
      8    select 'george',  700 from dual union all
      9    select 'george',  700 from dual)
    10  --
    11  SELECT p1.sal AS p1_sal, p1.NAME AS p1_name, p2.sal AS p2_sal,
    12         p2.NAME AS p2_name
    13    FROM psal p1, psal p2
    14   WHERE p1.sal >= p2.sal;
        P1_SAL P1_NAME     P2_SAL P2_NAME
          1000 able          1000 able
          1000 able           900 baker
          1000 able           900 charles
          1000 able           800 delta
          1000 able           700 eddy
          1000 able           700 fred
          1000 able           700 george
          1000 able           700 george
           900 baker          900 baker
           900 baker          900 charles
           900 baker          800 delta
           900 baker          700 eddy
           900 baker          700 fred
           900 baker          700 george
           900 baker          700 george
           900 charles        900 baker
           900 charles        900 charles
           900 charles        800 delta
           900 charles        700 eddy
           900 charles        700 fred
           900 charles        700 george
           900 charles        700 george
           800 delta          800 delta
           800 delta          700 eddy
           800 delta          700 fred
           800 delta          700 george
           800 delta          700 george
           700 eddy           700 eddy
           700 eddy           700 fred
           700 eddy           700 george
           700 eddy           700 george
           700 fred           700 eddy
           700 fred           700 fred
           700 fred           700 george
           700 fred           700 george
           700 george         700 eddy
           700 george         700 fred
           700 george         700 george
           700 george         700 george
           700 george         700 eddy
           700 george         700 fred
           700 george         700 george
           700 george         700 george
    43 rows selected.
    test@ora>
    test@ora>This query joins PSAL with itself using a non equi-join. Take each row of PSAL p1 and see how it compares with PSAL p2. You'll see that:
    - Row 1 with sal 1000 is >= to all sal values of p2, so it occurs 8 times
    - Row 2 with sal 900 is >= to 9 sal values of p2, so it occurs 7 times
    - Row 3: 7 times again... and so on.
    - So, total no. of rows are: 8 + 7 + 7 + 5 + 4 + 4 + 4 + 4 = 43
    test@ora>
    test@ora> --
    test@ora> -- Query 2 - add the GROUP BY
    test@ora> --
    test@ora> with psal as (
      2    select 'able' as name, 1000 as sal from dual union all
      3    select 'baker',   900 from dual union all
      4    select 'charles', 900 from dual union all
      5    select 'delta',   800 from dual union all
      6    select 'eddy',    700 from dual union all
      7    select 'fred',    700 from dual union all
      8    select 'george',  700 from dual union all
      9    select 'george',  700 from dual)
    10  --
    11  SELECT p2.sal AS p2_sal,
    12         COUNT(*) as cnt,
    13         COUNT(p1.sal) as cnt_p1_sal,
    14         COUNT(DISTINCT p1.sal) as cnt_dist_p1_sal,
    15         MIN(p1.sal) as min_p1_sal,
    16         MAX(p1.sal) as max_p1_sal
    17    FROM psal p1, psal p2
    18   WHERE p1.sal >= p2.sal
    19  GROUP BY p2.sal;
        P2_SAL        CNT CNT_P1_SAL CNT_DIST_P1_SAL MIN_P1_SAL MAX_P1_SAL
           700         32         32               4        700       1000
           800          4          4               3        800       1000
           900          6          6               2        900       1000
          1000          1          1               1       1000       1000
    test@ora>
    test@ora>Now, if you group by p2.sal in the output of query 1, and check the number of distinct p1.sal, min of p1.sal etc. you see that for p2.sal values - 800, 900 and 1000, there are 3 or less p1.sal values associated.
    So, the last 3 rows are the ones you are interested in, essentially. As follows:
    test@ora>
    test@ora> --
    test@ora> -- Query 3 - GROUP BY and HAVING
    test@ora> --
    test@ora> with psal as (
      2    select 'able' as name, 1000 as sal from dual union all
      3    select 'baker',   900 from dual union all
      4    select 'charles', 900 from dual union all
      5    select 'delta',   800 from dual union all
      6    select 'eddy',    700 from dual union all
      7    select 'fred',    700 from dual union all
      8    select 'george',  700 from dual union all
      9    select 'george',  700 from dual)
    10  --
    11  SELECT p2.sal AS p2_sal,
    12         COUNT(*) as cnt,
    13         COUNT(p1.sal) as cnt_p1_sal,
    14         COUNT(DISTINCT p1.sal) as cnt_dist_p1_sal,
    15         MIN(p1.sal) as min_p1_sal,
    16         MAX(p1.sal) as max_p1_sal
    17    FROM psal p1, psal p2
    18   WHERE p1.sal >= p2.sal
    19  GROUP BY p2.sal
    20  HAVING COUNT(DISTINCT p1.sal) <= 3;
        P2_SAL        CNT CNT_P1_SAL CNT_DIST_P1_SAL MIN_P1_SAL MAX_P1_SAL
           800          4          4               3        800       1000
           900          6          6               2        900       1000
          1000          1          1               1       1000       1000
    test@ora>
    test@ora>
    test@ora>That's what you are doing in that query.
    The thing is - in order to find out Top-N values, you simply need to scan that one table PSAL. So, joining it to itself is not necessary.
    A much simpler query is as follows:
    test@ora>
    test@ora>
    test@ora> --
    test@ora> -- Top-3 salaries - distinct or not; using ROWNUM on ORDER BY
    test@ora> --
    test@ora> with psal as (
      2    select 'able' as name, 1000 as sal from dual union all
      3    select 'baker',   900 from dual union all
      4    select 'charles', 900 from dual union all
      5    select 'delta',   800 from dual union all
      6    select 'eddy',    700 from dual union all
      7    select 'fred',    700 from dual union all
      8    select 'george',  700 from dual union all
      9    select 'george',  700 from dual)
    10  --
    11  SELECT sal
    12  FROM (
    13    SELECT sal
    14      FROM psal
    15    ORDER BY sal DESC
    16  )
    17  WHERE rownum <= 3;
           SAL
          1000
           900
           900
    test@ora>
    test@ora>
    test@ora>And for Top-3 distinct salaries:
    test@ora>
    test@ora> --
    test@ora> -- Top-3 DISTINCT salaries; using ROWNUM on ORDER BY on DISTINCT
    test@ora> --
    test@ora> with psal as (
      2    select 'able' as name, 1000 as sal from dual union all
      3    select 'baker',   900 from dual union all
      4    select 'charles', 900 from dual union all
      5    select 'delta',   800 from dual union all
      6    select 'eddy',    700 from dual union all
      7    select 'fred',    700 from dual union all
      8    select 'george',  700 from dual union all
      9    select 'george',  700 from dual)
    10  --
    11  SELECT sal
    12  FROM (
    13    SELECT DISTINCT sal
    14      FROM psal
    15    ORDER BY sal DESC
    16  )
    17  WHERE rownum <= 3;
           SAL
          1000
           900
           800
    test@ora>
    test@ora>
    test@ora>You may also want to check out the RANK and DENSE_RANK analytic functions.
    RANK:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/functions123.htm#SQLRF00690
    DENSE_RANK:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/functions043.htm#SQLRF00633
    HTH
    isotope

  • Can somebody please explain how to fix this?!

    After doing my first ever Phone Software update on my phone (a Nokia E52) this problem started.
    In the Standby mode if I choose "Basic" it shows the entire theme as it's meant to be. But when I change it to "Active" the bottom of the theme cuts off! This NEVER happened before I did the update.
    Please see the images attached and you will see what I'm talking about.
    Any help would be appreciated or if this problem cannot be remedied then please say so as well. I have been to a Nokia Support Centre and had a technician check it out, his only unwaiving response was "The update makes the phone better", which doesn't do squat to solve my problem jack.
    Attachments:
    Basic Standby.jpg ‏64 KB
    Active Standby.jpg ‏104 KB

    Thank you for your reply.. Every theme I apply is affected in this way

  • Can somebody please explain to me what I'm doing wrong (RE: PPI)

    I have a file that I have rasterized and saved as a PDF, in Illustrator. It's perfect as is, but I want to lower the PPI so the PDF can also be easily sent in an email without it being a large file. (The current file is around 7mb.)
    I used the Effects > Doc Raster Effects Setting to lower the PPI, and the only thing that happened is the file size only became few kb less than the original. I tried again, this time lowering the PPI all the way to a measely 7 (can I even do that?), and the file this time managed to get larger than the original. Not by much, mind you, but it's still baffling.
    I don't particularly care how I acheive the effect, but I'd like to lower the file size. Also, can someone explain to me what I am obviously not understanding about PPI? Freakin' PPI, how does THAT work?
    Thanks!
    Jen

    esaisquoi wrote:
    I have a file that I have rasterized and saved as a PDF, in Illustrator. It's perfect as is, but I want to lower the PPI so the PDF can also be easily sent in an email without it being a large file. (The current file is around 7mb.)
    Rasterizing usually increases the size of Illustrator files. A circle, for example, requires very little data to be drawn. There are a total of twelve points, each with X,Y coordinates, a fill, and a stroke. This circle is stored as a mathematically defined path and will always be drawn sharply at all sizes and print sharply at all resolutions. This is called a vector graphic.
    When you rasterize it you convert it to a large grid of pixels, each with its own colour value. Even a small circle at low resolution (say, 1 inch diameter at 72 ppi or pixels per inch) requires at least 15,552 bytes of data: 72 pixels across times 72 pixels down times three bytes to store the RGB colour information for each pixel. There is also some data required to identify the type of object (a bitmap graphic) and its position on the page. THis circle will only look good if viewed at a specific size and will always print poorly. It is also much harder to edit since it is no longer seen as a circle with a fill and a stroke in Illustrator. Making the fill a different colour will be extremely difficult. Fortunately for our example, the shape is simple to recreate. This is called a raster image.
    In the above example rasterizing has made the file larger, harder to edit, and print poorly. All of these are bad.
    Some very elaborate and complex vector graphics may be saved with less data by being rasterized, but these are rare, and they will still be impossible to edit and still print poorly because the resolution of the graphic is fixed. The advantage of vectors is the resolution is infinite. Print on a crummy inkjet and you get the best quality output of that printer. Print on an offset press and you get the best possible output on the press. View on your monitor and you get the best possible display your monitor can produce.
    I used the Effects > Doc Raster Effects Setting to lower the PPI, and the only thing that happened is the file size only became few kb less than the original. I tried again, this time lowering the PPI all the way to a measely 7 (can I even do that?), and the file this time managed to get larger than the original. Not by much, mind you, but it's still baffling.
    This did nothing. Document Raster Effects Settings applies to any effect in the Effects menu that produce a raster image rather than a vector, which only applies to a few commands. Effect > Stylize > Drop Shadow, Inner Glow, Outer Glow, and Feather are some, as are all the effects below Photoshop Effects. The setting has no effects on anything that has already been rasterized.
    Raster effects are effects that Illustrator cannot easily reproduce without using some bitmapped or raster data rather than drawing it entirely with vectors. Effect > Distort & Transform > Roughen, for example, applies some mathematical transformation to the selected paths, so does not need rasterization. But Effect > Stylize > Drop Shadow produces a blurry transparent shadow that looks best if it is a raster. The Photoshop Effects only work on graphics that are already rasterized, so Illustrator rasterizes them in the background first. Document Raster Effects Settings lets you globally define the resolution of all such effects in the document. Higher values produce smoother effects when enlarging or scaling, at the expense of speed and file size.
    I don't particularly care how I acheive the effect, but I'd like to lower the file size.
    I don’t know what effect you are trying to produce. Use the camera icon at the top of a reply to attach a screen grab of what you have drawn. If this is not exactly what you want, but you can find it somewhere else on the web, post a screen grab of that, too.
    Also, can someone explain to me what I am obviously not understanding about PPI? Freakin' PPI, how does THAT work?
    PPI stands for Pixels Per Inch. A pixel is the smallest part of data in a bitmapped or raster image. If you never rasterize anything in Illustrator, never use a raster effect, and never rasterize anything, then pixels per inch means nothing to your file because nothing is saved as a pixel. If you rasterize something, import a raster image, or use a raster effect, then you have introduced some feature to your file that cannot be completely defined using mathematical paths. This is instead saved as a two dimensional grid of coloured squares. Each of these squares is a pixel. The more pixels you use to define a graphic, the more detail that graphic contains and the larger the file.
    By definition a pixel has no size. But Illustrator uses a physical measurement like inches, centimetres, or points to define the size of everything. This means the pixels in your file must have a size, too. Pixels are not defined by size because one does not manipulate single pixels like they are objects. One generally refers to the density of pixels in a unit of measure. So a pixel is not .0033 inches, or 1/300 of an inch, rather a raster image is defined as being 300 pixels per inch. if that same image is enlarged to 200% its pixels are enlarged, so it becomes 150 pixels per inch. If this is an Illustrator path with a raster effect, the effect is recalculated after the drawing is enlarged and is still 300 pixels per inch, but now contains four times as many pixels (twice as many across, twice and many top to bottom).

  • Can somebody please explain the vbr-nrt scr pcr in easier way?

    Hello,
    Please confirm if my presentation is  correct. Thank you very much in advance....
    First, I have called Telstra to ask what is the upload speed of the link in our atm link. They said it is 910Kbps.
    Then I checked also our router and I have executed a show command à sh controller atm0/1/0
    Output:
              Interface: ATM0/1/0, Hardware: MPC ATMSAR, State: up
            IDB: 0x30AB0424  Instance: 0x30AC1288  PHY Inst: 0x00000000  us_bwidth: 910  -->  I am assuming that this is Upload Speed = 910Kbps  and this is automatically detected by the router interface.
    Second, I have checked the EF priority value. For my 5 ip phones in this site.
    Class-map: cm-voice-out (match-all)
      653566 packets, 134229712 bytes
      1 minute offered rate 0000 bps, drop rate 0000 bps
      Match: ip dscp ef (46)
      Priority: 26% (133 kbps), burst bytes 3300, b/w exceed drops: 1359 -->  The QoS only take effect  itself if there is a congestion. If the voice packets exceeded above 133Kbps , packets will drop.
    Third, My question to myself:  Why Priority 26% got the corresponding bandwidth of 133 Kbps???
                 My assessment: I’m  assuming that it depends on what was configured on this command line --> vbr-nrt <SCR> <PCR>  = vbr-nrt 512 512   (In my understanding, This is ATM shaping).
              512Kbps X .26  = 133.12  approx. 133Kbps
    My Conclusion:
          From current configuration vbr-nrt 512 512  .... I’m thinking if we can change it to this new configuration --> vbr-nrt  910 910 , Does it affect the call delay?
        So that there will be a higher bandwidth for EF packets.
             910Kbps X .26 = 236.6   approx. 237Kbps

    Hello,
    Please confirm if my presentation is  correct. Thank you very much in advance....
    First, I have called Telstra to ask what is the upload speed of the link in our atm link. They said it is 910Kbps.
    Then I checked also our router and I have executed a show command à sh controller atm0/1/0
    Output:
              Interface: ATM0/1/0, Hardware: MPC ATMSAR, State: up
            IDB: 0x30AB0424  Instance: 0x30AC1288  PHY Inst: 0x00000000  us_bwidth: 910  -->  I am assuming that this is Upload Speed = 910Kbps  and this is automatically detected by the router interface.
    Second, I have checked the EF priority value. For my 5 ip phones in this site.
    Class-map: cm-voice-out (match-all)
      653566 packets, 134229712 bytes
      1 minute offered rate 0000 bps, drop rate 0000 bps
      Match: ip dscp ef (46)
      Priority: 26% (133 kbps), burst bytes 3300, b/w exceed drops: 1359 -->  The QoS only take effect  itself if there is a congestion. If the voice packets exceeded above 133Kbps , packets will drop.
    Third, My question to myself:  Why Priority 26% got the corresponding bandwidth of 133 Kbps???
                 My assessment: I’m  assuming that it depends on what was configured on this command line --> vbr-nrt <SCR> <PCR>  = vbr-nrt 512 512   (In my understanding, This is ATM shaping).
              512Kbps X .26  = 133.12  approx. 133Kbps
    My Conclusion:
          From current configuration vbr-nrt 512 512  .... I’m thinking if we can change it to this new configuration --> vbr-nrt  910 910 , Does it affect the call delay?
        So that there will be a higher bandwidth for EF packets.
             910Kbps X .26 = 236.6   approx. 237Kbps

  • I saved my file as a regular Indesign file, and when I went to open it on a different computer it had a lock on it and will not let me open it. Can someone please explain why this is happening and how to unlock it? It's for a very important and urgent pro

    Please help if you can!

    Assuming the file is stored on a network server, and the "other computer" is on that network as well; with InDesign not running on either, navigate to the folder where the InDesign file is stored and find the lock file (it will have the extension .idlk). Delete it.

  • Can somebody please explain ICloud email storage ?

    I use Mac Mail (within OS X Snow Leopard) with both my @mac.com address and also my @btinternet.com address.
    I had a Mobile Me account also when that was still available, although that's perhaps irrelevant. (My @mac.com account is long-established)
    When ICloud became available my @mac.com email account became an 'ICloud' Account although nothing else appeared to change.
    I have now been told that my ' email storage on ICloud has exceeded the free limit and I must buy more'
    I don't understand that, as I had no idea that my email was being stored in ICloud.
    My assumption was that all stored email was somewhere within the  (several terabytes) storage on my Mac Pro.
    How do I stop storing email in ICloud and simply store all received email on my Mac Pro ?
    Can I continue using my @mac.com account without it being an 'ICloud' account?
    I do not have an Iphone or any other mobile phone. (although I do have an IPod and IPad and a MacBook)
    Gordon Sapsed

    iCloud email is IMAP, as was MobileMe: this means that the emails are stored on the server and read from there by your Mac and other devices. The stored emails use your 5Gb free or extended (purchased) space.
    You can reduce the online storage of emails by downloading some of them to your Mac. Create a new mailbox in Mail, making sure it is under 'On My Mac'. Now go to your iCloud email and select the messages you want to download. Drag them to the new mailbox and wait while they download (if there are a lot it could take some time).
    This will remove them from the server and free up space: obviously they will then only be available to read on your Mac, not on any other devices.
    Can I continue using my @mac.com account without it being an 'ICloud' account?
    No.
    Your iCloud storage is also used by 'Documents in the Cloud', iOS device backup, and 'Photo Journal' galleries if you choose to host them there. It is not used by PhotoStream, iTunes in the Cloud or iTunes Match. There is no general file storage in the manner of the late lamented iDisk.
    You can increase your storage space if you need to: additional 10GB, $20 p.a., 20 GB, $40 p.a., 50GB $100 p.a.

  • In update statement i am errors can you please help on this logic

    BEGIN
                      SELECT COUNT(1)
                      INTO v_count
                      FROM apps.xxcsi_trex_ob_ecs_mhm
                      WHERE instance_id  = NVL(tab_ib_ecs_dat_c(k).instance_id,'');
                    EXCEPTION
                    WHEN OTHERS THEN
                      v_count := 0;
                    END;
                    print_log('v_count : '||v_count);
                    IF v_count = 0 THEN
                      BEGIN
                        INSERT
                        INTO xxcsi_trex_ob_ecs_mhm
                            instance_id,
                            instance_number,
                            inventory_item_id,
                            unit,
                            unit_name,
                            master_organization_id,
                            serial_number,
                            quantity,
                            uom,
                            active_start_date,
                            active_end_date,
                            install_date,
                            object_version_number,
                            last_vld_organization_id,
                            pre_registration_location,
                            order_header_id,
                            order_number,
                            order_line_id,
                            pre_registration_date,
                            pre_registration_operator,
                            bill_to_customer_name,
                            bill_to_site_id ,
                            bill_to_state ,
                            bill_to_country ,
                            bill_to_city ,
                            bill_to_location ,
                            ship_to_customer_name,
                            ship_to_site_id ,
                            ship_to_state ,
                            ship_to_country ,
                            ship_to_city ,
                            ship_to_location ,
                            ship_to_pin_code,
                            bill_to_pin_code,
                            ship_to_number,
                            bill_to_number,
                            customer_number,
                            ea_license_number,
                            ea_va_sales_order_number,
                            parent_instance_id,
                            parent_y_n,
                            process_flag,
                            error_code,
                            error_details,
                            request_id,
                            created_by,
                            creation_date,
                            last_updated_by,
                            last_update_date,
                            last_update_login,
                            eai_process_flag,
                            master_organization_name,
                            system_id,
                            system_name
                          VALUES
                            NVL(tab_ib_ecs_dat_c(k).instance_id,''),
                            NVL(tab_ib_ecs_dat_c(k).instance_number,''),
                            NVL(tab_ib_ecs_dat_c(k).inventory_item_id,''),
                            NVL(tab_ib_ecs_dat_c(k).segment1,''),
                            NVL(tab_ib_ecs_dat_c(k).description,''),
                            NVL(tab_ib_ecs_dat_c(k).master_organization_id,''),
                            NVL(tab_ib_ecs_dat_c(k).serial_number,''),
                            NVL(tab_ib_ecs_dat_c(k).quantity,''),
                            NVL(tab_ib_ecs_dat_c(k).uom,''),
                            NVL(tab_ib_ecs_dat_c(k).active_start_date,''),
                            NVL(tab_ib_ecs_dat_c(k).active_end_date,''),
                            NVL(tab_ib_ecs_dat_c(k).install_date,''),
                            NVL(tab_ib_ecs_dat_c(k).obj_version_num,''),
                            NVL(tab_ib_ecs_dat_c(k).last_vld_organization_id,''),
                            NVL(tab_ib_ecs_dat_c(k).pre_registration_location,''),
                            NVL(tab_ib_ecs_dat_c(k).order_header_id,''),
                            NVL(tab_ib_ecs_dat_c(k).order_number,''),
                            NVL(tab_ib_ecs_dat_c(k).order_line_id,''),
                            NVL(tab_ib_ecs_dat_c(k).actual_shipment_date,''),
                            NVL(tab_ib_ecs_dat_c(k).email_address,''),
                            NVL(tab_ib_ecs_dat_c(k).bill_to_company_name,''),
                            NVL(tab_ib_ecs_dat_c(k).bill_to_site_id,''),
                            NVL(tab_ib_ecs_dat_c(k).bill_to_state,''),
                            NVL(tab_ib_ecs_dat_c(k).bill_to_country,''),
                            NVL(tab_ib_ecs_dat_c(k).bill_to_city,''),
                            NVL(tab_ib_ecs_dat_c(k).bill_to_location,''),
                            NVL(tab_ib_ecs_dat_c(k).ship_to_company_name,''),
                            NVL(tab_ib_ecs_dat_c(k).ship_to_site_id,''),
                            NVL(tab_ib_ecs_dat_c(k).ship_to_state,''),
                            NVL(tab_ib_ecs_dat_c(k).ship_to_country,''),
                            NVL(tab_ib_ecs_dat_c(k).ship_to_city,''),
                            NVL(tab_ib_ecs_dat_c(k).ship_to_location,''),
                            NVL(tab_ib_ecs_dat_c(k).ship_to_pin_code,''),
                            NVL(tab_ib_ecs_dat_c(k).bill_to_pin_code,''),
                            NVL(tab_ib_ecs_dat_c(k).ship_to_number,''),
                            NVL(tab_ib_ecs_dat_c(k).bill_to_number,''),
                            NVL(tab_ib_ecs_dat_c(k).customer_number,''),
                            NVL(tab_ib_ecs_dat_c(k).ea_license_number,''),
                            NVL(tab_ib_ecs_dat_c(k).ea_va_sales_order_num,''),
                            NVL(tab_ib_parent_dat(i).instance_id,''),
                            'C',
                            'N',
                            NULL,
                            NULL,
                            v_request_id,
                            v_created_by,
                            SYSDATE,
                            v_created_by,
                            SYSDATE,
                            v_last_update_login,
                            'N',
                            NVL(tab_ib_ecs_dat_c(k).master_organization_name,''),
                            NVL(tab_ib_ecs_dat_c(k).system_id,''),
                            NVL(tab_ib_ecs_dat_c(k).system_name,'')
                      EXCEPTION
                      WHEN no_data_found THEN
                        print_log('Error in  main process INSERT 2 : '||sqlerrm);
                        print_log('Error at : '||v_error_at);
                      WHEN OTHERS THEN
                        print_log('Error in  main process INSERT 2 : '||sqlerrm);
                        print_log('Error at : '||v_error_at);
                        END;
      ELSE
    Update apps.xxcsi_trex_ob_ecs_mhm set( 
    instance_id=NVL(tab_ib_ecs_dat_c(k).instance_id,''),
      instance_number= NVL(tab_ib_ecs_dat_c(k).instance_number,''),
    inventory_item_id= NVL(tab_ib_ecs_dat_c(k).inventory_item_id,''),
    unit      = NVL(tab_ib_ecs_dat_c(k).segment1,''),
    unit_name =  NVL(tab_ib_ecs_dat_c(k).description,''),
    master_organization_id=NVL(tab_ib_ecs_dat_c(k).master_organization_id,''),
    serial_number=NVL(tab_ib_ecs_dat_c(k).serial_number,''),
    quantity= NVL(tab_ib_ecs_dat_c(k).quantity,''),
    uom=NVL(tab_ib_ecs_dat_c(k).uom,''),
    active_start_date= NVL(tab_ib_ecs_dat_c(k).active_start_date,''),
    active_end_date= NVL(tab_ib_ecs_dat_c(k).active_end_date,''),
    install_date= NVL(tab_ib_ecs_dat_c(k).install_date,''),
    object_version_number=NVL(tab_ib_ecs_dat_c(k).obj_version_num,''),
    last_vld_organization_id= NVL(tab_ib_ecs_dat_c(k).last_vld_organization_id,''),
    pre_registration_location=NVL(tab_ib_ecs_dat_c(k).pre_registration_location,''),
    order_header_id=NVL(tab_ib_ecs_dat_c(k).order_header_id,''),
    order_number= NVL(tab_ib_ecs_dat_c(k).order_number,''),
    order_line_id=NVL(tab_ib_ecs_dat_c(k).order_line_id,''),
    pre_registration_date= NVL(tab_ib_ecs_dat_c(k).actual_shipment_date,''),
    pre_registration_operator= NVL(tab_ib_ecs_dat_c(k).email_address,''),
    bill_to_customer_name=NVL(tab_ib_ecs_dat_c(k).bill_to_company_name,''),
    bill_to_site_id = NVL(tab_ib_ecs_dat_c(k).bill_to_site_id,''),
    bill_to_state = NVL(tab_ib_ecs_dat_c(k).bill_to_state,''),
    bill_to_country =NVL(tab_ib_ecs_dat_c(k).bill_to_country,''),
    bill_to_city = NVL(tab_ib_ecs_dat_c(k).bill_to_city,''),
    bill_to_location =  NVL(tab_ib_ecs_dat_c(k).bill_to_location,''),
    ship_to_customer_name=NVL(tab_ib_ecs_dat_c(k).ship_to_company_name,''),
    ship_to_site_id = NVL(tab_ib_ecs_dat_c(k).ship_to_site_id,''),
    ship_to_state =NVL(tab_ib_ecs_dat_c(k).ship_to_state,''),
    ship_to_country=NVL(tab_ib_ecs_dat_c(k).ship_to_country,''),
    ship_to_city =NVL(tab_ib_ecs_dat_c(k).ship_to_city,''),
    ship_to_location= NVL(tab_ib_ecs_dat_c(k).ship_to_location,''),
      ship_to_pin_code= NVL(tab_ib_ecs_dat_c(k).ship_to_pin_code,''),
      bill_to_pin_code=NVL(tab_ib_ecs_dat_c(k).bill_to_pin_code,''),
      ship_to_number=NVL(tab_ib_ecs_dat_c(k).ship_to_number,''),
      bill_to_number= NVL(tab_ib_ecs_dat_c(k).bill_to_number,''),
      customer_number= NVL(tab_ib_ecs_dat_c(k).customer_number,''),
      ea_license_number= NVL(tab_ib_ecs_dat_c(k).ea_license_number,''),
      ea_va_sales_order_number= NVL(tab_ib_ecs_dat_c(k).ea_va_sales_order_num,''),
      parent_instance_id=NVL(tab_ib_parent_dat(i).instance_id,''),
      parent_y_n='C',
      process_flag='N',
      error_code= NULL,
      error_details= NULL,
      request_id=v_request_id,
      created_by=v_created_by,
      creation_date= SYSDATE,
      last_updated_by=v_created_by,
      last_update_date=SYSDATE,
      last_update_login= v_last_update_login,
      eai_process_flag='N',
      master_organization_name=NVL(tab_ib_ecs_dat_c(k).master_organization_name,''),
      system_id= NVL(tab_ib_ecs_dat_c(k).system_id,''),
      system_name= NVL(tab_ib_ecs_dat_c(k).system_name,''))
      WHERE instance_id  = NVL(tab_ib_ecs_dat_c(k).instance_id,'');
      END IF; --V_COUNT

    Performing a COUNT to check the existence of data is plain WRONG. Never do that. You need to be using MERGE statement. Like this. And possibly you should not be using collection and performing it with direct SQL.
    merge into apps.xxcsi_trex_ob_ecs_mhm t1
    using (
            select nvl(tab_ib_ecs_dat_c(k).instance_id,'')                       instance_id
                 , nvl(tab_ib_ecs_dat_c(k).instance_number,'')                   instance_number
                 , nvl(tab_ib_ecs_dat_c(k).inventory_item_id,'')                 inventory_item_id
                 , nvl(tab_ib_ecs_dat_c(k).segment1,'')                          unit
                 , nvl(tab_ib_ecs_dat_c(k).description,'')                       unit_name
                 , nvl(tab_ib_ecs_dat_c(k).master_organization_id,'')            master_organization_id
                 , nvl(tab_ib_ecs_dat_c(k).serial_number,'')                     serial_number
                 , nvl(tab_ib_ecs_dat_c(k).quantity,'')                          quantity
                 , nvl(tab_ib_ecs_dat_c(k).uom,'')                               uom
                 , nvl(tab_ib_ecs_dat_c(k).active_start_date,'')                 active_start_date
                 , nvl(tab_ib_ecs_dat_c(k).active_end_date,'')                   active_end_date
                 , nvl(tab_ib_ecs_dat_c(k).install_date,'')                      install_date
                 , nvl(tab_ib_ecs_dat_c(k).obj_version_num,'')                   object_version_number
                 , nvl(tab_ib_ecs_dat_c(k).last_vld_organization_id,'')          last_vld_organization_id
                 , nvl(tab_ib_ecs_dat_c(k).pre_registration_location,'')         pre_registration_location
                 , nvl(tab_ib_ecs_dat_c(k).order_header_id,'')                   order_header_id
                 , nvl(tab_ib_ecs_dat_c(k).order_number,'')                      order_number
                 , nvl(tab_ib_ecs_dat_c(k).order_line_id,'')                     order_line_id
                 , nvl(tab_ib_ecs_dat_c(k).actual_shipment_date,'')              pre_registration_date
                 , nvl(tab_ib_ecs_dat_c(k).email_address,'')                     pre_registration_operator
                 , nvl(tab_ib_ecs_dat_c(k).bill_to_company_name,'')              bill_to_customer_name
                 , nvl(tab_ib_ecs_dat_c(k).bill_to_site_id,'')                   bill_to_site_id
                 , nvl(tab_ib_ecs_dat_c(k).bill_to_state,'')                     bill_to_state
                 , nvl(tab_ib_ecs_dat_c(k).bill_to_country,'')                   bill_to_country
                 , nvl(tab_ib_ecs_dat_c(k).bill_to_city,'')                      bill_to_city
                 , nvl(tab_ib_ecs_dat_c(k).bill_to_location,'')                  bill_to_location
                 , nvl(tab_ib_ecs_dat_c(k).ship_to_company_name,'')              ship_to_customer_name
                 , nvl(tab_ib_ecs_dat_c(k).ship_to_site_id,'')                   ship_to_site_id
                 , nvl(tab_ib_ecs_dat_c(k).ship_to_state,'')                     ship_to_state
                 , nvl(tab_ib_ecs_dat_c(k).ship_to_country,'')                   ship_to_country
                 , nvl(tab_ib_ecs_dat_c(k).ship_to_city,'')                      ship_to_city
                 , nvl(tab_ib_ecs_dat_c(k).ship_to_location,'')                  ship_to_location
                 , nvl(tab_ib_ecs_dat_c(k).ship_to_pin_code,'')                  ship_to_pin_code
                 , nvl(tab_ib_ecs_dat_c(k).bill_to_pin_code,'')                  bill_to_pin_code
                 , nvl(tab_ib_ecs_dat_c(k).ship_to_number,'')                    ship_to_number
                 , nvl(tab_ib_ecs_dat_c(k).bill_to_number,'')                    bill_to_number
                 , nvl(tab_ib_ecs_dat_c(k).customer_number,'')                   customer_number
                 , nvl(tab_ib_ecs_dat_c(k).ea_license_number,'')                 ea_license_number
                 , nvl(tab_ib_ecs_dat_c(k).ea_va_sales_order_num,'')             ea_va_sales_order_number
                 , nvl(tab_ib_parent_dat(i).instance_id,'')                      parent_instance_id
                 , 'C'                                                           parent_y_n
                 , 'N'                                                           process_flag
                 , null                                                          error_code
                 , null                                                          error_details
                 , v_request_id                                                  request_id
                 , v_created_by                                                  created_by
                 , sysdate                                                       creation_date
                 , v_created_by                                                  last_updated_by
                 , sysdate                                                       last_update_date
                 , v_last_update_login                                           last_update_login
                 , 'N'                                                           eai_process_flag
                 , nvl(tab_ib_ecs_dat_c(k).master_organization_name,'')          master_organization_name
                 , nvl(tab_ib_ecs_dat_c(k).system_id,'')                         system_id
                 , nvl(tab_ib_ecs_dat_c(k).system_name,'')                       system_name
              from dual
          ) t2
       on (
             t1.instance_id = t2.instance_id
    when matched then
         update
            set instance_number                   = t2.instance_number
                inventory_item_id                 = t2.inventory_item_id
                unit                              = t2.unit
                unit_name                         = t2.unit_name
                master_organization_id            = t2.master_organization_id
                serial_number                     = t2.serial_number
                quantity                          = t2.quantity
                uom                               = t2.uom
                active_start_date                 = t2.active_start_date
                active_end_date                   = t2.active_end_date
                install_date                      = t2.install_date
                object_version_number             = t2.object_version_number
                last_vld_organization_id          = t2.last_vld_organization_id
                pre_registration_location         = t2.pre_registration_location
                order_header_id                   = t2.order_header_id
                order_number                      = t2.order_number
                order_line_id                     = t2.order_line_id
                pre_registration_date             = t2.pre_registration_date
                pre_registration_operator         = t2.pre_registration_operator
                bill_to_customer_name             = t2.bill_to_customer_name
                bill_to_site_id                   = t2.bill_to_site_id
                bill_to_state                     = t2.bill_to_state
                bill_to_country                   = t2.bill_to_country
                bill_to_city                      = t2.bill_to_city
                bill_to_location                  = t2.bill_to_location
                ship_to_customer_name             = t2.ship_to_customer_name
                ship_to_site_id                   = t2.ship_to_site_id
                ship_to_state                     = t2.ship_to_state
                ship_to_country                   = t2.ship_to_country
                ship_to_city                      = t2.ship_to_city
                ship_to_location                  = t2.ship_to_location
                ship_to_pin_code                  = t2.ship_to_pin_code
                bill_to_pin_code                  = t2.bill_to_pin_code
                ship_to_number                    = t2.ship_to_number
                bill_to_number                    = t2.bill_to_number
                customer_number                   = t2.customer_number
                ea_license_number                 = t2.ea_license_number
                ea_va_sales_order_number          = t2.ea_va_sales_order_number
                parent_instance_id                = t2.parent_instance_id
                parent_y_n                        = t2.parent_y_n
                process_flag                      = t2.process_flag
                error_code                        = t2.error_code
                error_details                     = t2.error_details
                request_id                        = t2.request_id
                created_by                        = t2.created_by
                creation_date                     = t2.creation_date
                last_updated_by                   = t2.last_updated_by
                last_update_date                  = t2.last_update_date
                last_update_login                 = t2.last_update_login
                eai_process_flag                  = t2.eai_process_flag
                master_organization_name          = t2.master_organization_name
                system_id                         = t2.system_id
                system_name                       = t2.system_name
    when not matched then
         insert
            instance_id
          , instance_number
          , inventory_item_id
          , unit
          , unit_name
          , master_organization_id
          , serial_number
          , quantity
          , uom
          , active_start_date
          , active_end_date
          , install_date
          , object_version_number
          , last_vld_organization_id
          , pre_registration_location
          , order_header_id
          , order_number
          , order_line_id
          , pre_registration_date
          , pre_registration_operator
          , bill_to_customer_name
          , bill_to_site_id
          , bill_to_state
          , bill_to_country
          , bill_to_city
          , bill_to_location
          , ship_to_customer_name
          , ship_to_site_id
          , ship_to_state
          , ship_to_country
          , ship_to_city
          , ship_to_location
          , ship_to_pin_code
          , bill_to_pin_code
          , ship_to_number
          , bill_to_number
          , customer_number
          , ea_license_number
          , ea_va_sales_order_number
          , parent_instance_id
          , parent_y_n
          , process_flag
          , error_code
          , error_details
          , request_id
          , created_by
          , creation_date
          , last_updated_by
          , last_update_date
          , last_update_login
          , eai_process_flag
          , master_organization_name
          , system_id
          , system_name
         values
            t2.instance_id
          , t2.instance_number
          , t2.inventory_item_id
          , t2.unit
          , t2.unit_name
          , t2.master_organization_id
          , t2.serial_number
          , t2.quantity
          , t2.uom
          , t2.active_start_date
          , t2.active_end_date
          , t2.install_date
          , t2.object_version_number
          , t2.last_vld_organization_id
          , t2.pre_registration_location
          , t2.order_header_id
          , t2.order_number
          , t2.order_line_id
          , t2.pre_registration_date
          , t2.pre_registration_operator
          , t2.bill_to_customer_name
          , t2.bill_to_site_id
          , t2.bill_to_state
          , t2.bill_to_country
          , t2.bill_to_city
          , t2.bill_to_location
          , t2.ship_to_customer_name
          , t2.ship_to_site_id
          , t2.ship_to_state
          , t2.ship_to_country
          , t2.ship_to_city
          , t2.ship_to_location
          , t2.ship_to_pin_code
          , t2.bill_to_pin_code
          , t2.ship_to_number
          , t2.bill_to_number
          , t2.customer_number
          , t2.ea_license_number
          , t2.ea_va_sales_order_number
          , t2.parent_instance_id
          , t2.parent_y_n
          , t2.process_flag
          , t2.error_code
          , t2.error_details
          , t2.request_id
          , t2.created_by
          , t2.creation_date
          , t2.last_updated_by
          , t2.last_update_date
          , t2.last_update_login
          , t2.eai_process_flag
          , t2.master_organization_name
          , t2.system_id
          , t2.system_name

  • Could Somebody Please Explain....

    Could somebody please explain what this section of code is doing with the StopTime? There is plenty more code where that came from, but as I can see it, it is being put into a vector in another section of code as endTime, the vector pdmlist, which I think is where or hows its stored in the vector is being set to null? Then pdmlist is using EndTime value? The StopTime is then being set to a string.
    StopTime is then set to blank, then the DateDataFormat is being used. The pdmlist comes back into play, then the df (date format) comes back and it gets converted to uppercase and finally outputted using the outStream.write method to the log file that is created (earlier).
    So my quest, as per the other mail, why wont the DB query and order by, order it for the output to the log file. What is the vector doing to it to unsort it? How can I order it?
    Vector pdmList = null;
    this.setCursor( Cursor.WAIT );
    if ( radioAllTime.getChecked() )
    pdmList = pdmHelper.buildPDMList( ctx, null, null );
    else
    pdmList = pdmHelper.buildPDMList( ctx, dateBeginTime.getValue(), dateEndTime.getValue() );
              this.setCursor( Cursor.DEFAULT );
    //If nothing was found, then display a message,
              //and return.
              if ( pdmList == null )
                   MessageBox.show( "No parametric data found. Log file not generated." , this.getText() );
                   return;
    if ( pdmList.size() == 0 )
                   MessageBox.show( "No parametric data found. Log file not generated." , this.getText() );
                   return;
              String Temp;
    String Board; // Prodid
    String StartTime;
    String StopTime;
    String Part;
    String BoardStatus;
    String Actual;
    String LoLim;
    String HiLim;
    String MeasStatus;
    String PartType;
    String PartNumber;
    boolean BoardStatusContext = false;
    boolean OneMeasureFailed = false;
    java.util.Hashtable htFiles = new Hashtable(10,10);
    FileWriter outStream = null;
    try
    for ( int idx = 0; idx < pdmList.size(); idx++ )
                        //Reset the flags
                        BoardStatusContext = false;
                        OneMeasureFailed = false;
    Board = ""; StartTime = ""; StopTime = ""; Part = ""; BoardStatus = ""; Actual = "";
    LoLim = ""; HiLim = ""; MeasStatus = ""; PartType = ""; PartNumber = "";
    com.ms.wfc.data.DateDataFormat df = new com.ms.wfc.data.DateDataFormat( com.ms.wfc.data.DateFormat.CUSTOM,
    "dd-MMM-yy hh:mm:ss" );
    // get root context
    PDMContext context = ((PDM)pdmList.elementAt(idx)).getContext();
    //Make the filename
    String fileName = context.getProductName();
    if ( fileName == null || fileName.length() == 0 )
    fileName = "UNKNOWN";
    // Eliminate not allowed characters from the file name
    fileName = fileName.replace('\\','_');
    fileName = fileName.replace('/','_');
    fileName = fileName.replace(':','_');
    fileName = fileName.replace('*','_');
    fileName = fileName.replace('?','_');
    fileName = fileName.replace('\"','_');
    fileName = fileName.replace('<','_');
    fileName = fileName.replace('>','_');
    fileName = fileName.replace('|','_');
    fileName += ".log";
    if ( htFiles.containsKey( fileName ) )
    outStream = (FileWriter)htFiles.get( fileName );
    else
    File theFile = new File( fileName );
    statusBar.getPanels()[0].setText( "File: " + theFile.getAbsolutePath() );
    /* if ( ! theFile.canWrite() )
    statusBar.getPanels()[0].setText( "Failed: " + theFile.getAbsolutePath() );
    MessageBox.show( theFile.getAbsolutePath() + " can not be writen!",
    this.getText() );
    outStream = new FileWriter( theFile.getAbsolutePath(), false );
    htFiles.put( fileName, outStream );
    // start writing the log file...
    outStream.write( "./" );
    StartTime = ((String)df.format( null, context.getStartTime() )).toUpperCase();
    StopTime = ((String)df.format( null, context.getStopTime() )).toUpperCase();
    Board = context.getProductName();
    if ( Board.length() == 0 )
    Board = "UNKNOWN";
    outStream.write( Board + ".obc[" + StartTime + "\r\n\r\n" );
    Sorry the mail is so long. I tried books, but vectors were hard to come by? I've searched through the database on this site too, there are plenty of stuff about sorting and vectors but its hard to use somebody elsed situation for my own circumstances as a guide.
    Hope somebody could just shed a bit of light.
    Thanks in advance.
    Mark.
    PS. I will give duke points (when I work out how to add them, but I only have 5....sorry)

    Does anybody have any ideas as to what is happening.
    Mark.

  • Can somebody please tell me how to fix this. when i try to install appleworks this pops up  so please help me i need to get this on my mac

    can somebody please tell me how to fix this. when i try to install appleworks this pops up
    so please help me i need to get this on my mac

    AppleWorks is a very old application and requires Rosetta to run under recent systems.
    Lion does not include Rosetta.
    If you browse this forum you will find many posts on this issue.

  • Can somebody please advise urgently... I backed up my entire hard-drive of my macbook pro - just prior to installing osx mountain lion. I put everything into a folder on my desktop - then backed it up onto an external drive. Once this was done - i deleted

    Can somebody please advise urgently...
    I backed up my entire hard-drive of my macbook pro - just prior to installing osx mountain lion.
    I put everything into a folder on my desktop - then backed it up onto an external drive. Once this was done - i deleted the folder off my desktop - and  following this - things started to go all weird...pages hanging, the coloured 'wheel of death' appeared for ages. So i had to employ a 'hard-boot' restart - as i had not other options.
    I'm pretty sure i made copies of of files/apps/folders etc - however not so sure now as i cant even start up my laptop!!!
    Can somebosy please help me urgently??!!!

    Got the exact same problem, and I also did this operation many times before, from 500Gb to 750Gb, and then from 750Gb to 1 Gb. Not My HD got a little such complaining about bad sectors when in windows bootcamp, but still runs fine though.
    So I bought a new 1Gb drive exactly same drive as the one thats getting sick. I did the clone thing, with super duper, CCC, DU, but no matter it will not boot when i move the new drive inside the macbook…….**** thing exuse me, but wasted so much time.
    Now I get this strange feeling that something must have changed in the macbook itself. Just wondering if this could be a EFI "mac bios" prevention thing, they made just to sell more new computers, when you can't improve or fix your old one.
    If so, then its pretty scary. If not then I simply can't figure out why this suddenly becomes a problem for so many people, as I see so many posts about this!!
    BR Pete

Maybe you are looking for

  • Image is NULL exception, problems displaying a png file

    Hi people, I want to display a simple image using j2me on my siemens sl45i emu. I'm using the following code to load my png 8x8(created with photoshop, 2bpp) image: public void load() try testImage = Image.createImage("res/enemy1.png"); catch (Except

  • How Can I Copy an database from one server to another ?

    Hi All, I need to copy an existing database from one server to another server. I want to maintain all the settings from the source database. I´m not used to Oracle database and i´d be glad for any help. How can I do this ? Do I need to backup and res

  • Loaded Cube Modification in BI 7.0 (Line item Dimension)

    Hi We need to modify the cube 0CA_C11, as in one of the dimension it conatian huge data , we planed to make that line item dimension , by creating new dimension and move some Object to the new dimension. in BI 7.0 is there any option that we can can

  • Earmarked funds - Express document "Update was terminated" error

    Hi, When i create a contract(RECN), a earmarked funds document getting created and it updates the table KBLK with single primary key BELNR. I see in the Tcode OK60, the number range assinged is '05' - 0200000000 to 0299999999. KBLK table has entries

  • PDF not rendering correctly in FF 37

    Since I installed FF 37, the PDF files of my website render incorrectly (choppy image), using the native PDF viewer. There is no such problem in IE or Chrome. Version 37.0.2 didn't fix the problem. As my viewers are really general public (may not kno