Could anyone check this code for errors for me??

Hi! Could someone please tell me if you see any problems with this code?? a friend wants me to check it for errors, but can't find any. I just wanted to make sure, because there are probably a lot of better scripters than me reading this. Please answer soon!!
heres the code:
stop();
addEventListener(Event.ENTER_FRAME, preLoad);
function  preLoad(e:Event):void{
var bytestoLoad):Number = loaderInfo.bytesTotal; 
var numberLoaded:Number = loaderInfo.bytesLoaded;
if (bytestoLoad ==  numberLoaded) {
removeEventListener)Event.ENTER_FRAME, preLoad) 
gotoAndStop(2);
}else {
preLoader.preLoaderFill.scaleX =  numberLoaded/bytestoLoad;
preLoader.bytePercent.text = Math.floor  (numberLoaded/bytestoLoad*100) + "%";
Thanks!!
-Sammy

I ran it on debug mode and changed it to this? see any problems now? or are they fixed? It looks to me like it took some actions out, I hope that doesn't
effect it....
stop();
addEventListener(Event.ENTER_FRAME, preLoad);
function preLoad(e:Event):void{
var bytestoLoad):Number = loaderInfo.bytesTotal;
var numberLoaded:Number = loaderInfo.bytesLoaded;
if (bytestoLoad == numberLoaded) {
removeEventListener)Event.ENTER_FRAME, preLoad)
gotoAndStop(2);
i'm kinda new to flash ((I started as a lua scripter (on Roblox)) so I'm a little confused about this. Thanks for the help!!

Similar Messages

  • URGENT Check this code for me please

    Dear whoeverthisreads, please read and see at the bottom my sourcecode, or whatever I could make of it until (even with help) I failed to see any solution. Please copy, paste and run to see if you can manage to adjust the program to make it work in the way as described. And I think I made it unnecessarily complicated. Whatever you can do for me, I will be very, very grateful.
    Prem Pradeep, email: [email protected]
    (A beginning dutch Java student who is running out of time and hope)
    Catalogue Manager
    Specification:
    a) Develop an object to represent to encapsulate an item in a catalogue. Each CatalogueItem has three pieces of information: an alphanumeric catalogue code, a name, and a price (in dollars and cents), that excludes sales tax. The object should also be able to report the price, inclusive of a 15% sales tax, and the taxed component of the price.
    b) Work out a way to be able to support the inc tax/ex tax price accessors, and the tax component accessor, without needing to store any additional information in the object.
    c) Use an array of 5 CatalogueItem items to store data. (You may assume that no imported goods will be recorded.)
    d) Write a driver program that prompts for three sets of user input (catalogue number, description and price), to be stored in the atalogueItem instance.
    e) The data are to be read for each item in a single line. The data lines will be in the format:
    CatNo:Description:Price
    Use a StringTokenizer object to separate these data lines into their components.
    f) Review the class definition of CatalogueItem, and use modifiers where appropriate to:
    � Ensure that data is properly protected;
    � Ensure that the accessors and mutators are most visible;
    � The accessors and mutators for the catalogue number and description cannot be overridden.
    � The constant for the tax rate is publicly accessible, and does not need an instance of the class
    present in order to be accessible.
    As well as a summary, the program should also calculate and display:
    � All of the cheapest and most expensive item(s) in the catalogue. In the case of more than one
    item being the cheapest (or most expensive), they should all be listed.
    � A total of the pre-tax worth of the goods in the catalogue.
    � The average amount of tax on the items in the catalogue.
    A sample execution of the program may be as follows (output should be tabulated):
    Enter five items of data:
    AA123: Telephone: 52.00
    ZJ282: Pine Table: 98.00
    BA023: Headphones: 23.00
    ZZ338: Wristwatch: 295.00
    JW289: Tape Recorder: 23.00
    LISTING OF ALL GOODS
    Cat      Description      ExTax           Tax           IncTax ~
    ZJ282      pine Table           98.00           14.70           112.70
    AA123 Telephone           52.00           7.80           59.80
    BA023 Headphones      23.00           3.45           26.45
    ZZ338      Wristwatch      295.00      44.25      339.25
    JW289 Tape Recorder      23.00           3.45           26.45
    CHEAPEST GOODS IN CATALOGUE
    Cat      Description      ExTax           Tax           IncTax
    BA023 Headphones           23.00           3.45           26.45
    JW289 Tape Recorder      23.00           3.45           26.45
    MOST EXPENSIVE GOODS IN CATALOGUE
    Cat      Description      ExTax           Tax           IncTax
    ZZ338      Wristwatch      295.00      44.25      339.25
    TOTAL PRE-TAX WORTH OF CATALOGUE ITEMS:      491.00
    AVERAGE AMOUNT OF TAX PAYABLE PER ITEM:      14.73
    The next code is what I could make of it�until I got terribly stuck...
    //CatalogueItem.java
    import java.io.*;
    import java.text.DecimalFormat;
    import java.util.StringTokenizer;
    public class CatalogueItem {
    private static final double TAXABLE_PERCENTAGE = 0.15;
    private String catalogNumber;
    private String description;
    private double price;
    /** Creates a new instance of CatalogueItem */
    public CatalogueItem() {
    catalogNumber = null;
    description = null;
    price = 0;
    public CatalogueItem(String pCatalogNumber, String pDescription, double pPrice) {
    catalogNumber = pCatalogNumber;
    description = pDescription;
    price = pPrice;
    void setCatalogNumber(String pCatalogNumber) {
    catalogNumber = pCatalogNumber;
    String getCatalogNumber() {
    String str = catalogNumber;
    return str;
    void setDescription(String pDescription) {
    description = pDescription;
    String getDescription() {
    String str = description;
    return str;
    void setPrice(String pPrice) {
    price = Double.parseDouble(pPrice);
    double getPrice() {
    double rprice = price;
    return formatDouble(rprice);
    double getTaxAmount(){
    double rTaxAmount = price * TAXABLE_PERCENTAGE;
    return formatDouble(rTaxAmount);
    double getIncTaxAmount() {
    double rTaxAmount = price * (1 + TAXABLE_PERCENTAGE);
    return formatDouble(rTaxAmount);
    double formatDouble(double value) {
    DecimalFormat myFormatter = new DecimalFormat("###.##");
    String str1 = myFormatter.format(value);
    // System.out.println("String is " + str1);
    // System.out.println("The format value : " + value);
    return Double.parseDouble(str1);
    public static void main(String[] args) throws IOException {
    final int MAX_INPUT_SET = 5;
    final String strQ = "Enter five items of data:";
    CatalogueItem[] catalogList = new CatalogueItem[MAX_INPUT_SET];
    String strInput;
    BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
    String header = "Cat\tDescription\tExTax\tTax\tInc Tax";
    String lines = "---\t-----------\t------\t---\t-------";
    // Input of five items with three data each, delimiter ":"
    for (int i = 0; i < MAX_INPUT_SET; i++) {
    catalogList[i] = new CatalogueItem();
    System.out.print(strQ);
    strInput = stdin.readLine();
    StringTokenizer tokenizer = new StringTokenizer(strInput, ":" );
    String inCatNo = tokenizer.nextToken();
    String inDescr = tokenizer.nextToken();
    String inPrice = tokenizer.nextToken();
    catalogList.setCatalogNumnber(inCatNo);
    catalogList[i].setDescription(inDescr);
    catalogList[i].setPrice(inPrice);
    // Listing of all goods
    System.out.println("LISTING OF ALL GOODS");
    System.out.println(header);
    System.out.println(lines);
    for (int i = 0; i < MAX_INPUT_SET; i++) {
    System.out.println(
    catalogList[i].getCatalogNumber() + "\t" +
    catalogList[i].getDescription() + "\t" +
    catalogList[i].getPrice() + "\t" +
    catalogList[i].getTaxAmount() + "\t" +
    catalogList[i].getIncTaxAmount());
    // This should pick the cheapest and most expensive goods in catalogue, but
    // this code is not good:
    // In the case of more than one item being the cheapest (or most expensive),
    // they should all be listed.
    double cheapest = cataloguelist[1].getPrice();
    double mostExpensive = cataloguelist[1].getPrice();
              for(int i=2; i< MAX_INPUT_SET; i++){
                   if (cataloguelist[i].getPrice < cheapest)
              cheapest = i;}
              for(int i=2; i< MAX_INPUT_SET; i++){
                   if (cataloguelist[i].getPrice > mostExpensivet)
              mostExpensive = i;}
    // Lists cheapest goods (not complete enough)
    i = cheapest;
    System.out.println("CHEAPEST GOODS IN CATALOGUE");
    System.out.println(header);
    System.out.println(lines);
    System.out.println(
    catalogList[i].getCatalogNumber() + "\t" +
    catalogList[i].getDescription() + "\t" +
    catalogList[i].getPrice() + "\t" +
    catalogList[i].getTaxAmount() + "\t" +
    catalogList[i].getIncTaxAmount());
    // Lists most expensive goods (not complete enough)
    i = mostExpensive;
    System.out.println("MOST EXPENSIVE GOODS IN CATALOGUE");
    System.out.println(header);
    System.out.println(lines);
    System.out.println(
    catalogList[i].getCatalogNumber() + "\t" +
    catalogList[i].getDescription() + "\t" +
    catalogList[i].getPrice() + "\t" +
    catalogList[i].getTaxAmount() + "\t" +
    catalogList[i].getIncTaxAmount());}}
    // Generates and shows total pre-tax worth of catalogue items (how??)
    // generates and shows amount of tax payable per item (how??)

    How is this:
    import java.io.*;
    import java.text.*;
    import java.util.*;
    public class Cat
         Vector items = new Vector();
    public Cat()
    public void read(String fname)
         FileReader     fr;
        BufferedReader br;
         String         str ="";
        try
             fr = new FileReader(fname);
            br = new BufferedReader(fr);
            while ((str = br.readLine()) != null && items.size() < 30)
                   if (!str.trim().equals(""))
                        StringTokenizer tokenizer = new StringTokenizer(str, ":");
                     String n = tokenizer.nextToken().trim();
                        String d = tokenizer.nextToken().trim();
                        String s = tokenizer.nextToken().trim();
                        double p = Double.parseDouble(s);
                        items.add(new Item(n,d,p));
            fr.close();
        catch (FileNotFoundException e)
            System.out.println("Input file cannot be located, please make sure the file exists!");
            System.exit(0);
        catch (IOException e)
            System.out.println(e.getMessage());
            System.out.println("Application cannot read the data from the file!");
            System.exit(0);
    public void displayAll()
         for (int j=0; j < items.size(); j++)
              Item item = (Item)items.get(j);
              System.out.println(item.toString());
    public void sort()
         Collections.sort(items);     
    public class Item implements Comparable
         String       number, description;
         double       price,pricep;
         final double TAXRATE = 0.15;
    public Item(String number, String description, double price)
         this.number      = number;
         this.description = description;
         this.price       = price;
         this.pricep      = price * TAXRATE;
    public int compareTo(Object o1)
         String o = ((Item)o1).number;
         return(number.compareTo(o));
    public String toString()
         DecimalFormat df = new DecimalFormat("#.00");     
         String        p1 = df.format(TAXRATE*price);
         String        p2 = df.format(TAXRATE*price+price);
         String s = number+"\t "+description+"\t"+price+"\t"+p1+"\t"+p2+"\t" ;
         return(s);
    public static void main (String[] args)
         Cat catalog = new Cat();
         catalog.read("C31.dat");
         String reply = "";
         BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
         while (!reply.equals("e"))
              System.out.println("");
            System.out.println("CATALOGUE MANAGER: MAIN MENU");
            System.out.println("============================");
            System.out.println("a) display all goods        b) display cheapest/dearest goods");
            System.out.println("c) sort the goods list      d) search the good list");
            System.out.println("e) quit");
            System.out.print("Option:");
              try
                   reply = stdin.readLine();
              catch (IOException e)
                System.out.println("ERROR:" + e.getMessage());
                System.out.println("Application exits now");
                System.exit(0);
              if (reply.equals("a")) catalog.displayAll();
              if (reply.equals("c")) catalog.sort();
    Noah

  • Could you check this code ??

    Hi Guyz,
      Here is my piece of code.
    FORM get_infotype_data TABLES pi_it0001_tbl      TYPE  t_it0001_tbl
                                  pi_emp_info_tbl    TYPE  t_emp_info_tbl
                                  pi_event_dates_tbl TYPE  t_event_dates_tbl
                                  po_emp_tab_tbl     TYPE  t_emp_tab_tbl.
      DATA: l_it0001_tbl   TYPE t_it0001_tbl,
            l_it0001_str   TYPE t_it0001_str,
            l_emp_info_tbl TYPE t_emp_info_tbl,
            l_emp_info_str TYPE t_emp_info_str,
            l_event_dates_str TYPE t_event_dates_str,
            l_emp_tab_tbl  TYPE t_emp_tab_tbl,
            l_emp_tab_str  TYPE t_emp_tab_str.
      SORT: pi_it0001_tbl      BY  pernr,
            pi_emp_info_tbl    BY  pernr,
            pi_event_dates_tbl BY  pernr.
      LOOP AT pi_it0001_tbl INTO l_it0001_str.
        READ TABLE pi_emp_info_tbl
        WITH KEY pernr = l_it0001_str-pernr BINARY SEARCH.
        IF sy-subrc = 0 .
        clear l_emp_info_str.
          MOVE: l_emp_info_str-perid TO l_emp_tab_str-perid,
                l_emp_info_str-gbdat TO l_emp_tab_str-gbdat.
          CASE l_emp_info_str-gesch.
            WHEN '1'.
              MOVE 'M' TO l_emp_tab_str-gesch.
            WHEN '2'.
              MOVE 'F' TO l_emp_tab_str-gesch.
          ENDCASE.
        ENDIF.
        READ TABLE pi_event_dates_tbl WITH KEY pernr = l_it0001_str-pernr
        BINARY SEARCH.
        IF sy-subrc = 0.
          MOVE: l_event_dates_str-betrg TO l_emp_tab_str-betrg.
        ENDIF.
        MOVE l_emp_tab_str TO po_emp_tab_tbl.
      ENDLOOP.
    ENDFORM.                                         " get_infotype_data
    I am not getting any data in to the table po_emp_tab_tbl.
    After rwading the table,  Getting sy-subrc = 0.
    Please help me.

    1. structure for both l_emp_tab_str and  po_emp_tab_tbl are different.
    2. move one by one field to dest. structure.
    3. check whether data is populating in the l_emp_tab_str .
    4. as well as in int. table pi_it0001_tbl.
    5. u defined the stru. for po_emp_tab_tbl as a work area.
    wheterh it should be work area or table?
    if its table, define table type

  • I create an id. on review option when i enter visa card and security code, it always gives an error msg "Invalid Secruity code". but i use this code for money withdraw from ATM and for shopping also. plz tell the solution ????

    i create an id. on review option when i enter visa card and security code, it always gives an error msg "Invalid Secruity code". but i use this code for money withdraw from ATM and for shopping also. plz tell the solution ????

    The code they are asking for is the last three digits of the number on the back of the card (you don't use this when using an ATM or presenting the card in shops).

  • Could you please check this code

    Hi There,
    The scenario here is :
    I have written this piece of code but its not showing desired result .I think the problem is in the AVGRANGE.
    Please look into this and let me know if I am doing anything wrong.
    I need to accomplish this task ,if employee E1 & E2 are in Entity1 in Grade S in forecast1 and now in forecast 2 a new employee namely E3 has come in this new forecast and whether he belongs to same entity can be identified by a new account say "F",If "F" is present for that Employee in that particular entity means he belongs to that Entity .Then I need to calculate.
    "P" value for E3 for a month=Avg of "P" value for E1 & E2 in Entity1 in Grade S for that month.
    I think this code is calculating for invalid combination also.
    FIX (&CurrFctScenario,&CurrFctVersion,&CurrYear)
    FIX (&SeedCurrency)
    FIX(@descendatns("Entity"),@descendatns(GRADE),@Descendants(Employee)
    FIX (&CurrMonth:"MAY"
    , &SeedHSP
    "P"(
    IF ( "F"!=#Missing AND "P"==#Missing)
    @AVGRANGE(SKIPNONE,"P",@children(Employee)->@currmbr(Grade)->@currmbr(entity));
    ENDIF;
    ENDFIX
    ENDFIX
    One more thing as I am testing this code for say two three employees then its working fine but as I am uisng @children(Employee) then I am getting error message
    Error: 1012704 Dynamic Calc processor cannot lock more than [200] ESM blocks during the calculation, please increase CalcLockBlock setting and then retry(a small data cache setting could also cause this problem, please check the data cache size setting).
    Is there any other way of doing this calculation?
    Edited by: user10760185 on Jun 1, 2011 5:35 AM

    Thanks a lot Alp...
    Please find the logic of the calculation below:
    In forecast1,here E1=employee,S1=Grade,P1=Account member
    E1->S1->Entity1->P1= 100
    E2->S1->Entity1->P1=200
    In forecast2,E3,a new employee has come and if he/she belongs to S1 and Entity1 ,then the value should be
    If (E3->F!->@currmbr(grade)->@currmbr(entity)=#Missing AND P1==#Missing)
    E3->S1->Entity1->P1= (100+200)/2
    I will read the document and will check my cache settings.
    Edited by: user10760185 on Jun 1, 2011 11:36 PM

  • Adobe connect could not process this document for viewing

    I am using Connect 9 and trying to add a PDF to a share pod. These PDF's are sized at 11x17 and were converted from dwg  files. They are 2-4 megs in size. When I add them to a share pod I get the following error:
    "adobe connect could not process this document for viewing. Please try uploading the file again."
    Things I have already tried:
    Optimizing the PDF
    Printing the dwg file to a pdf
    Adding the pdf to my content library and then adding it to the share pod
    Reducing the page size
    Adding other PDF's to the meeting or pods work fine including larger sized files. My meeting is in 2 days and I can go with a screen share if I have too, but am working witha coulpe of novice presenters and want to make the process as easy for them as posible.
    Any help is appreciated.
    David

    I am having the exact same issue. It would be nice if there were a link to the remedy on this disucssion thread.
    EDIT: just found this - http://forums.adobe.com/message/5049521#5049521 will give it a try and see what happens.

  • Hi all, I upgraded my MBP to Lion , but on the screen where i need to type my password, click  on my photo and it does not appear the place for me to type my password and it stay stuck there. Can anyone solve this problem for me?

    Hi all, I upgraded my MBP to Lion , but on the screen where i need to type my password, click  on my photo and it does not appear the place for me to type my password and it stay stuck there. Can anyone solve this problem for me?

    Reboot the machine holding Command and r keys down, you'll boot into Lion Recovery Partition
    In there will be Disk Utility, use that to select your Lion OS X Partition and Repair Permissions.
    After that is done reboot the machine and see if you can log in.
    If not repeat the above steps to get into Lion Recovery, get online and reinstall Lion again, it will overwrite the installed version and hopefully after that it wil work.
    Reboot and try again.
    If not follow my steps to create a Snow Leopard Data Recovery drive, then option boot from it and grab a copy of your files off the machine.
    Then reinstall all your programs onto the external drive like setting up a new machine, then use Disk Utility to erase the entire internal boot drive (select the drive media on the far left, not the partiton slightly indented) format Option: GUID , 1 partition OS X Extended and then use Carbon Copy Cloner to clone the external to the newly formatted internal drive. Once that is finished reboot and disconnect the external drive.
    Once you go that, boot into Snow Leopard and update to 10.6.8, use the AppStore and option click on Purchases and download Lion again and install.
    Lots of work, but there is no Lion disks.
    https://discussions.apple.com/message/16276201#16276201

  • Urgent where i put this code for delete

    hi master
    sir this code is right for my requirment but when i put on_delete event system not respons or not delete record
    where i put this code for conditional deletion
    this is my code
    declare
         recno number;
    begin
    if :system.cursor_block='accbal' then
    delete accbal where accid=:chartofacc.accid;
         go_block('chartofacc');
         next_record;
    elsif :system.cursor_block='chartofacc' then
         select count(*) into recno from accbal where accid=:chartofacc.accid;
         if recno=0 then
         delete_record;
         go_block('chartofacc');
         previous_record;
         else
         message ('system found matching record then no delete master record');
         message ('system found matching record then no delete master record');
         end if;
    end if;
    end;
    please gide me which event i use
    thanking you
    aamir

    Hello,
    The ON-DELETE triger fires only after a COMMIT statment and only for those records that have been deleted in the block.
    Francois

  • I am getting pop ups on safari and firefox lately and am worried i may have malware or something now on my computer doing this. What is the best way to check this out for sure and remove it?

    I am getting pop ups on safari and firefox lately and am worried I may have malware or something now on my computer doing this. What is the best way to check this out for sure and remove it?

    Please review the options below to determine which method is best to remove the Adware installed on your computer.
    The Easy, safe, effective method:
    http://www.adwaremedic.com/index.php
    If you are comfortable doing manual file removals use the somewhat more difficult method:
    http://support.apple.com/en-us/HT203987
    Also read the articles below to be more prepared for the next time there is an issue on your computer.
    https://discussions.apple.com/docs/DOC-7471
    https://discussions.apple.com/docs/DOC-8071
    http://www.thesafemac.com/tech-support-scam-pop-ups/

  • Could anyone explain this to me

    I don`t understand the two code that have bolded and how come he need to subtract ten . Could anyone rewrite this two code in more easier way.
    import java.io.FileReader;
    import java.io.BufferedReader;
    import java.io.*;
    import java.lang.*;
    public class ReadFlights
      public static void main( String [] args )
        char[] refAlpha = {'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z'};
        int[] amount = new int[26];  
         try {
          FileReader fr = new FileReader( "input.txt" );
          BufferedReader br = new BufferedReader(fr);
          int c;
          while  ( (c = br.read()) != -1)  // end of the file?
           char upperC = Character.toUpperCase((char)c);
    int a = Character.getNumericValue((char)upperC)-10;         if(a >= 0 && a <=25)
             amount[a] = amount[a] + 1;
    // loop for printing out the values of the counting array
       for(int i=0; i < amount.length; i++)
           System.out.println(  refAlpha[i] +": " + amount[i] + "\n" );
           fr.close();
    catch(FileNotFoundException e)
      System.out.println("File not found");
      catch(IOException e)
    }

    You need to read the API documentation to find out what getNumericValue() is returning.
    Quoting from there:
    The letters A-Z in their uppercase ('\u0041' through '\u005A'), lowercase ('\u0061' through '\u007A'), and full width variant ('\uFF21' through '\uFF3A' and '\uFF41' through '\uFF5A') forms have numeric values from 10 through 35.

  • How could I fix this code

    Hii 2 all
    How could I change this statement for parameters list,, so the client_name can contain spaces ??
    add_parameter(p_id,'p_client_name',TEXT_PARAMETER, '''' || :cntrl.client_name || '''');
    cause it couldn't print and give syntax error when the :cntrl.client_name contains any spaces !!!!
    please help
    thanks:)

    First I must apologize, I asked you to test something that was not needed... for a moment I thought we were talking about web.show_document, that's why I asked you to test with double-quotes..
    Regarding your problem, Manu is right, there is not need to wrap around the parameter in quotes..
    add_parameter(p_id,'p_client_name',TEXT_PARAMETER, :cntrl.client_name);I have to ask you the same question that Manu asked you before, where are you using this parameter?
    In your Report you must be using in a piece of PL/SQL code, we need you to post that code...
    Edited by: Rodolfo Ferrari on Sep 10, 2009 4:44 PM

  • Mirror server missing file.... does anyone check this stuff?

    I just came across a problem with a repo mirror....
    pacman -Syu
    :: Synchronizing package databases...
    core is up to date
    extra is up to date
    community is up to date
    :: Starting full system upgrade...
    resolving dependencies...
    error: cannot resolve "libjpeg>=7", a dependency of "ffmpegthumbnailer"
    error: failed to prepare transaction (could not satisfy dependencies)
    :: ffmpegthumbnailer: requires libjpeg>=7
    Seemed odd to me as libjpeg was updated to 7 several days ago.
    pacman -Q libjpeg
    libjpeg 6b-6
    ???? So extra is up to date but I still have an old libjpeg.
    I live in Thailand and decided to use the Australian mirrors. I checked on the first server in my mirrorlist,
    Server = ftp://mirror.aarnet.edu.au/pub/archlinux/$repo/os/i686, and saw that libjpeg is absent from Extra. Not even an old version, just totally missing!
    Ok, the solution is simple.... use another mirror.
    But clearly this is a pain is the a$$. How can one know which servers are reliable and up to date?
    Does anyone check this stuff? Perhaps a script could be run that checks the contents of the mirrors against the main server, and posts the results on the Arch website where users can check?
    Cheers, Renners

    jwwolf wrote:http://users.archlinux.de/~gerbra/mirrorcheck.html
    LoL, marvelous!

  • TRIED THis CODE for TO FIND THE FIBONACCI USING THREAD ,BUT SHOWING ERROR FOR FOLLOWING CODE  fib = fib(k+1);

    showing following error in line 34
    error: cannot find symbol
    fib = fib(k+1);
           ^
      symbol:   method fib(int)
      location: class FibN
    1 error
    import java.util.*;
    class AsynchFunctionTest
    public static void main(String[]args)
    Scanner in = new Scanner(System.in);
    System.out.print("enter value for n");
    int n = in.nextInt();
    FibN t = new FibN(n);
    t.start();
    try
      t.join();
    catch(InterruptedException e){}
    System.out.println("Fib("+n+") = "+ t.getResult());
    class FibN extends Thread
    private int n;
      private long result;
    public FibN(int nn)
      n = nn;
      public void run()
    long fib = 1;
    int k = 0;
    while(k < n){
    fib = fib(k+1);
    k++;
    result = fib;
    public long getResult()
    return result;

    rinojoseph wrote:
    sorry for that this is the error i getting for that code
    error: cannot find symbol   line 34
    fib = fib(k+1);
           ^
      symbol:   method fib(int)
      location: class FibN
    1 error
    Process completed.
    sorry
    Hmm - well you declared 'fib' like this:
    >
    long fib = 1;
    >
    So how do you expect to call a 'long' as if it were a function?

  • My itouch is disabled, when I tried to restore it, it came up with Error code 3094.  Has anyone had this code appear, and what did they do to solve it?

    My itouch is disabled, when I tried to restore it, it came up with Error code 3094.  Has anyone had this error code appear for them before and how were they able to fix it?
    Thank You

    See SIMPLE easy solution for 1015 3094 3014 21 error

  • Could you provide example code for interactive form

    Dear all.
    I have got document at link below
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c2567f2b-0b01-0010-b7b5-977cbf80665d
    In that document it has some part of abap code.
    Could you have full example code for interactive form online and offline?
    Thank you very much.

    Hi,
    Go to the following link to know more about adobe interactive form.
    http://wwwimages.adobe.com/www.adobe.com/enterprise/partners/pdfs/bwp_interactive_forms_adobe.pdf
    The following link contains a offline application in ABAP. You can try it.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c2567f2b-0b01-0010-b7b5-977cbf80665d
    For further questions, check the follow
    https://www.sdn.sap.com/irj/sdn/adobe
    Improving the Performance of Adobe® LiveCycleu2122 Designer Forms(scripting)
    http://www.adobe.com/devnet/livecycle/articles/lc_designer_perf_guidelines.pdf
    Interactive Forms Based on Adobe Software: Overview
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e635e290-0201-0010-a9be-9e8e4ce04770
    Adobe Interactive Forms
    http://www.saplounge.be/Files/media/pdf/Huberland-Interactive-Forms-2007.10.10.pdf
    Taking interactive forms to next level
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8c103c36-0301-0010-cda8-f6b381bedb6e
    Introduction to Adobe PDF Library SDK(PDFL SDK)(Simply scroll the document)
    http://partners.adobe.com/public/developer/en/webseminars/PDFL_WebSeminar.pdf
    Creating Interactive forms in webdynpro for java
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f27e290-0201-0010-ff82-c21557572da1
    PDF-Based Print Forms/SAP Interactive Forms by Adobe
    http://help.sap.com/saphelp_nw04s/helpdata/en/c8/4adf7ba13c4ac1b4600d4df15f8b84/frameset.htm
    Date Objects in Adobe Designer
    http://help.sap.com/saphelp_nw04/helpdata/en/dd/60694fddb74ad88cdb7d2a094f3dd2/frameset.htm
    Checking and Testing a PDF-Based Print Form
    http://help.sap.com/saphelp_nw04s/helpdata/en/c2/1fe9aa4d7b413e8515f90b73729e97/frameset.htm
    Architecture
    http://help.sap.com/saphelp_nw04/helpdata/en/f2/21021b911f4c0cae11459a4ce0bc62/frameset.htm
    http://www.nl4b.com/Adobe/Invitation_SAPBrussels_Q407.pdf
    Hope this helps!!
    Regards,
    Arafat

Maybe you are looking for

  • How can I save multiple emails as separate files with 1 export?

    I need to save hundreds of emails as separate files.  If I select all of the emails, then export as PDF, it doesn't save with their Subject titles, just numbers.  If I try prints, save as pdf, it consolidates them all into 1 file.  If I try to save a

  • Quicktime file out of sync when trying to convert it to

    I was sent a .mov file created on a Mac via yousendit.com, and downloaded to my office PC via yousendit.com. I need to convert it into a format I can burn onto a DVD using Vegas Pro and DVD Architect. It plays fine as a .mov file from my desktop but

  • Videos unwatchable under Windows Vista and current versions of iTunes/QT

    I know this has been brought up before, but all of the previous suggestions do not apply to my situation. Ever since upgrading to iTunes 7.2, no iTunes or QuickTime videos play properly. The audio generally works just fine, but the video is jumpy and

  • Is Adobe Acrobat X Pro seems to be a downgrade

    Adobe Acrobat X Pro does not have the editing features I need.  Did I just overwrite my more upgraded version of Adobe Acrobat when I downloaded Adobe Acrobat X Pro from the Creative Cloud?  Please advise.

  • Using GET-SMBShare to check if share exist

    I understand how to use get-smbshare to check if a share exist or not.  My problem I am having is if it doesn't I want my function to create the share using the net-smbshare command.  I can do this with the New-Item for directories, etc.  Just can't