Fl sym

what r field symbols and field groups

Field Symbols
Field symbols are placeholders or symbolic names for other fields. They do not physically reserve space for a field, but point to its contents. A field symbol cam point to any data object. The data object to which a field symbol points is assigned to it after it has been declared in the program.
Whenever you address a field symbol in a program, you are addressing the field that is assigned to the field symbol. After successful assignment, there is no difference in ABAP whether you reference the field symbol or the field itself. You must assign a field to each field symbol before you can address the latter in programs.
Field symbols are similar to dereferenced pointers in C (that is, pointers to which the content operator * is applied). However, the only real equivalent of pointers in ABAP, that is, variables that contain a memory address (reference) and that can be used without the contents operator, are reference variables in ABAP Objects. (For more information, see Data References).
All operations programmed with field symbols are applied to the field assigned to it. For example, a MOVE statement between two field symbols moves the contents of the field assigned to the first field symbol to the field assigned to the second field symbol. The field symbols themselves point to the same fields after the MOVE statement as they did before.
You can create field symbols either without or with type specifications. If you do not specify a type, the field symbol inherits all of the technical attributes of the field assigned to it. If you do specify a type, the system checks the compatibility of the field symbol and the field you are assigning to it during the ASSIGN statement.
Field symbols provide greater flexibility when you address data objects:
If you want to process sections of fields, you can specify the offset and length of the field dynamically.
You can assign one field symbol to another, which allows you to address parts of fields.
Assignments to field symbols may extend beyond field boundaries. This allows you to address regular sequences of fields in memory efficiently.
You can also force a field symbol to take different technical attributes from those of the field assigned to it.
The flexibility of field symbols provides elegant solutions to certain problems. On the other hand, it does mean that errors can easily occur. Since fields are not assigned to field symbols until runtime, the effectiveness of syntax and security checks is very limited for operations involving field symbols. This can lead to runtime errors or incorrect data assignments.
While runtime errors indicate an obvious problem, incorrect data assignments are dangerous because they can be very difficult to detect. For this reason, you should only use field symbols if you cannot achieve the same result using other ABAP statements.
For example, you may want to process part of a string where the offset and length depend on the contents of the field. You could use field symbols in this case. However, since the MOVE statement also supports variable offset and length specifications, you should use it instead. The MOVE statement (with your own auxiliary variables if required) is much safer than using field symbols, since it cannot address memory beyond the boundary of a field. However, field symbols may improve performance in some cases.
Declaring Field Symbols
To declare a field symbol, use the statement
FIELD-SYMBOLS <FS> [<type>|STRUCTURE <s> DEFAULT <wa>].
For field symbols, the angle brackets are part of the syntax. They identify field symbols in the program code.
If you do not specify any additions, the field symbol <FS> can have data objects of any type assigned to it. When you assign a data object, the field symbol inherits its technical attributes. The data type of the assigned data object becomes the actual data type of the field symbol.
Note: it is possible to assign reference variables and structured data objects to untyped field symbols. However, the static field symbol is only a pointer to the field in memory, and does not have the complex type attributes of a reference or structured field until runtime. You can only use the field symbol to address the whole field (for example, in a MOVE statement). Specific statements such as CREATE OBJECT <FS> or LOOP AT <FS> are not possible.
Typing Field Symbols
The <type> addition allows you to specify the type of a field symbol. When you assign a data object to a field symbol, the system checks whether the type of the data object you are trying to assign is compatible with that of the field symbol. If the types are not compatible or convertible, the system reacts with a syntax or runtime error. If however, you want to assign the type of the field symbol to the data object by means of casting, you must do so explicitly using the ASSIGN statement. The system then treats the assigned data object as if it had the same type as the field symbol.
You specify the type of a field symbol using the same semantics as for formal parameters in procedures. For <type> you can enter either TYPE <t> or LIKE <f>. You can specify the type either generically or in full. If you specify a generic type, the type of the field symbol is either partially specified or not specified at all. Any attributes that are not specified are inherited from the corresponding data object in the ASSIGN statement. If you specify the type fully, all of the technical attributes of the field symbol are determined when you define it. You can then only assign data objects to it that have exactly the same data type.
You should always specify a type for each field symbol. If you cannot avoid defining a generic field symbol, make this clear by using an appropriate generic type declaration.
Generic Type Specification
The following types allow you more freedom when using actual parameters. The data object only needs to have the selection of attributes specified.
Typing
Check for data object
No type specification
TYPE ANY
All types of data object are accepted. The field symbol adopts all of the attributes of the data object.
TYPE C, N, P, or X
Only data objects with type C, N, P, or X are accepted. The field symbol adopts the field length and DECIMALS specification (type P) of the data object.
TYPE TABLE
The system checks whether the data object is a standard internal table. This is a shortened form of TYPE STANDARD TABLE (see below).
TYPE ANY TABLE
The system checks whether the data object is an internal table. The field symbol inherits all of the attributes (line type, table type, key) from the data object.
TYPE INDEX TABLE
The system checks whether the data object is an index table (standard or sorted table). The field symbol inherits all of the attributes (line type, table type, key) from the data object.
TYPE STANDARD TABLE
The system checks whether the data object is a standard internal table. The field symbol inherits all of the remaining attributes (line type, key) from the data object.
TYPE SORTED TABLE
The system checks whether the actual parameter is a sorted internal table. The field symbol inherits all of the remaining attributes (line type, key) from the data object.
TYPE HASHED TABLE
The system checks whether the actual parameter is a hashed internal table. The field symbol inherits all of the remaining attributes (line type, key) from the data object.
If you specify a type generically, remember that the attributes inherited by the field symbol from the program are not statically recognizable in the program. You can, at most, address them dynamically.
TYPES: BEGIN OF line,
         col1 TYPE c,
         col2 TYPE c,
       END OF line.
DATA: wa TYPE line,
      itab TYPE HASHED TABLE OF line WITH UNIQUE KEY col1,
      key(4) TYPE c VALUE 'COL1'.
FIELD-SYMBOLS <fs> TYPE ANY TABLE.
ASSIGN itab TO <fs>.
READ TABLE <fs> WITH TABLE KEY (key) = 'X' INTO wa.
The internal table ITAB is assigned to the generic field symbol <FS>, after which it is possible to address the table key of the field symbol dynamically. However, the static address
READ TABLE <fs> WITH TABLE KEY col1 = 'X' INTO wa.
is not possible syntactically, since the field symbol does not adopt the key of table ITAB until runtime. In the program, the type specification ANY TABLE only indicates that <FS> is a table. If the type had been ANY (or no type had been specified at all), even the specific internal table statement READ TABLE <FS> would not have been possible.
If you adopt a structured type generically (a structure, or a table with structured line type), the individual components cannot be addressed in the program either statically or dynamically. In this case, you would have to work with further field symbols and the method of assigning structures component by component.
Specifying the Type Fully
When you use the following types, the technical attributes of the field symbols are fully specified. The technical attributes of the data objects must correspond to those of the field symbol.
Typing
Technical attributes of the field symbol
TYPE D, F, I, or T
The field symbol has the technical attributes of the predefined elementary type
TYPE <type>
The field symbol has the type <type>. This is a data type defined within the program using the TYPES statement, or a type from the ABAP Dictionary
TYPE REF TO <cif>|DATA
The field symbol is a reference variable for the class or interface <cif>, or for a data object.
TYPE LINE OF <itab>
The field symbol has the same type as a line of the internal table <itab> defined using a TYPES statement or defined in the ABAP Dictionary
LIKE <f>
The field symbol has the same type as an internal data object <f> or structure, or a database table from the ABAP Dictionary
When you use a field symbol that is fully typed, you can address its attributes statically in the program, since they are recognized in the source code. If you fully specify the type of a field symbol as a reference or structured data object, you can address it as you would the data object itself, once you have assigned an object to it. So, for example, you could address the components of a structure, loop through an internal table, or create an object with reference to a field symbol.
REPORT demo_field_symbols_type .
DATA: BEGIN OF line,
         col1(1) TYPE c,
         col2(1) TYPE c VALUE 'X',
       END OF line.
FIELD-SYMBOLS <fs> LIKE line.
ASSIGN line TO <fs>.
MOVE <fs>-col2 TO <fs>-col1.
The field symbol <FS> is fully typed as a structure, and you can address its components in the program.
Attaching a structure to a field symbol
The STRUCTURE addition forces a structured view of the data objects that you assign to a field symbol.
FIELD-SYMBOLS <FS> STRUCTURE <s> DEFAULT <f>.
The structure <s> is either a structured local data object in the program, or a flat structure from the ABAP Dictionary. <f> is a data object that must be assigned to the field symbol as a starting field. However, this assignment can be changed later using the ASSIGN statement.
When you assign a data object to the field symbol, the system only checks that it is at least as long as the structure. You can address the individual components of the field symbol. It has the same technical attributes as the structure <s>.
If <s> contains components with type I or F, you should remember the possible effects of alignment. When you assign a data object to a field symbol with a structure, the data object must have the same alignment, otherwise a runtime error may result. In such cases, you are advised to assign such data objects only to structured field symbols, which retain the same structure as the field symbol at least over the length of the structure.
The STRUCTURE is obsolete; you should no longer use it. Field symbols defined using the STRUCTURE addition are a mixture of typed field symbols and a utility for casting to either local or ABAP Dictionary data types. If you want to define the type of a field symbol, include the TYPE addition in a FIELD-SYMBOLS statement. If you want to use casting, include the CASTING addition in an ASSIGN statement.
Example using the obsolete STRUCTURE addition:
DATA: wa(10) VALUE '0123456789'.
DATA: BEGIN OF line1,
         col1(3),
         col2(2),
         col3(5),
      END OF line1.
DATA: BEGIN OF line2,
         col1(2),
         col2 LIKE sy-datum,
      END OF line2.
FIELD-SYMBOLS: <f1> STRUCTURE line1 DEFAULT wa,
               <f2> STRUCTURE line2 DEFAULT wa.
WRITE: / <f1>-col1, <f1>-col2, <f1>-col3,
       / <f2>-col1, <f2>-col2.
Example using the correct syntax (TYPE and CASTING):
DATA: wa(10) VALUE '0123456789'.
DATA: BEGIN OF line1,
         col1(3),
         col2(2),
         col3(5),
      END OF line1.
DATA: BEGIN OF line2,
         COL1(2),
         COL2 LIKE sy-datum,
      END OF line2.
FIELD-SYMBOLS: <f1> LIKE line1.
ASSIGN wa TO <f1> CASTING.
FIELD-SYMBOLS: <f2> LIKE line2.
ASSIGN wa TO <f2> CASTING.
WRITE: / <f1>-col1, <F1>-col2, <F1>-col3,
       / <f2>-col1, <F2>-col2.
In both cases, the list appears as follows:
012 34 56789
01 2345/67/89
This example declares two field symbols to which different structures are attached. The string WA is then assigned to each of them. The output shows that the field symbols assign the strings component by component according to the type of the components.
To assign data objects to field symbols...
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb38c8358411d1829f0000e829fbfe/content.htm

Similar Messages

  • SYM Acc for /3E1,/3E2,/3E2,/3F1,/3F2,/3F3,/3F3 Etc.

    Hi,
    CAn anybody plz guide me about these SYM Acc's & their assignments.
    Whether it is correct or Work.Please guide.
    /3E1 Ee ESI contribution 1 - 5008 F EE ESI Contri
    /3E2 Er ESI contribution 1 + 5009 C ER ESI Contri 1
    /3E2 Er ESI contribution 2 - 5008 F EE ESI Contri
    /3F1 Ee PF contribution 1 - 5010 F EE PF Contri
    /3F2 Ee VPF contribution 1 - 5012 F EE VPF Contri
    /3F3 Er PF contribution 1 + 5011 C ER PF Contri
    /3F3 Er PF contribution 2 - 5010 F EE PF Contri
    /3F4 Er Pension contribution 1 + 5014 C ER Pension Contri
    /3F4 Er Pension contribution 2 - 5012 F EE VPF Contri
    /3F7 EDLI contri * 1,00,000 1 + 5022 C EDLI
    /3F8 EDLI adm chrgs * 1,00,000 1 + 5023 C EDLI Admin
    /3F9 PF adm chrgs * 1,00,000 1 + 5017 C ER PF Admin

    Hi ,
    In the posting Error Log- I have found the following but not able to catch the exect error with the wage type can any body guide me on the same.
    Employee Gross Salary Per Month is 8200.Take home-7041,Dedeuction-799.
      00000007                                                                     0,00 6.451.734,00      INR
          32 01 2011                                                               0,00 6.451.734,00      INR
          Expense account                                                     0,00 6.453.070,00      INR
          Balance sheet account                                            0,00    1.336,00-        INR
         SymAc 5009 - . ER ESI Contri 1                                                                      0,00       390,00      INR
             CCtr                                                                                0,00       390,00      INR
                 Wage Type                                       A          /3E2 Er ESI contribution            0,00       390,00      INR
         SymAc 5011 - . ER PF Contri                                                                         0,00       147,00      INR
             CCtr                                                                                0,00       147,00      INR
                 Wage Type                                       A          /3F3 Er PF contribution             0,00       147,00      INR
         SymAc 5014 - . ER Social Contri to be pa                                                            0,00       333,00      INR
             CCtr                                                                                0,00       333,00      INR
                 Wage Type                                       A          /3F4 Er Pension contribution        0,00       333,00      INR
         SymAc 5017 - . ER PF Social contribution                                                            0,00 4.400.000,00      INR
             CCtr                                                                                0,00 4.400.000,00      INR
                 Wage Type                                       A          /3F9 PF adm chrgs * 1,00,000        0,00 4.400.000,00      INR
         SymAc 5018 - . ER Pension Basis                                                                     0,00     4.000,00      INR
             CCtr                                                                                0,00     4.000,00      INR
                 Wage Type                                       A          /3FC Pension Basis for Er cont      0,00     4.000,00      INR
         SymAc 5022 - . EDLI Life insurance to be                                                            0,00 2.000.000,00      INR
             CCtr                                                                                0,00 2.000.000,00      INR
          SymAc 5023 - . ER ADMIN contribution acc                                                            0,00    40.000,00      INR
              CCtr                                                                                0,00    40.000,00      INR
                  Wage Type                                       A          /3F8 EDLI adm chrgs * 1,00,000      0,00    40.000,00      INR
      Balance sheet account                                                                                0,00    1.336,00-      INR
          SymAc 5008 - . EE ESI Contri                                                                        0,00      534,00-      INR
              Wage Type                                           A          /3E1 Ee ESI contribution            0,00      144,00-      INR
              Wage Type                                           A          /3E2 Er ESI contribution            0,00      390,00-      INR
          SymAc 5010 - . EE PF Contri                                                                         0,00      627,00-      INR
              Wage Type                                           A          /3F1 Ee PF contribution             0,00      480,00-      INR
              Wage Type                                           A          /3F3 Er PF contribution             0,00      147,00-      INR
         SymAc 5015 - . EE PTax Contri                                                                       0,00      175,00-      INR
             Wage Type                                           A          /3P1 Prof Tax - split period        0,00      175,00-      INR

  • I am traveling in Chile, South America. I purchased an Entel sym card and I can make and receive phone calls, but the internet only works on WiFi. Do I need to region unlock or what? I willl only be here for A month and a half so I don't want to buy a pho

    I am traveling in Chile, South America. I purchased an Entel sym card and I can make and receive phone calls, but the internet only works on WiFi. Do I need to region unlock or what? I willl only be here for A month and a half so I don't want to buy a phone. Any suggestions?

    Most of the current Apple Intel based computers are comparable in CPU speed. I don't think it is so much the model of laptop as it is the memory, and storage capacity of the machine. If you are going to use FCP on a regular basis, perhaps as a professional or semi-professional, then you should think about the maximum memory and a very large capacity internal disk drive. For instance, one hour of finished compressed video will take up about 1.5 to 2Gbytes of disk space. If you add up the raw footage and still imagery and audio, you'll use up your disk drive capacity real quick. So a hard disk on the order of 750Gbytes @ 7200rpms might be good for video editing. 5400RPMs might be slow to rendering times. Rendering a video might take up a lot of memory so more memory is better e.g. 8Gbytes.
    As a rule of thumb, once you get to about 80% of your disk drive or memory you'll see degradation of performance.
    You can check out macsales.com. THey have a menu system that will allow you to pick and choose from various alternatives. BTW, it's been said that although Macs are typically spec'd at a certain memory size, macsales.com found that Apple computers will actually support higher memory levels. That is, if 4Gbytes are spec'd, some machines support 6Gbytes. macsales.com will provide the guidance for you.
    You might also consider buying an external disk e.g. 500Gbytes to carry around with you for back-up or transport to another machine.

  • I want to use my iPhone 3GS just as an ipod, not a phone. No sym card. New iOS5 won't allow. What do I do? Can I do a hard reset?

    I want to use my iPhone 3GS just as an ipod, not a phone. No sym card. New iOS5 won't allow. What do I do? Can I do a hard reset?

    Hey, as far as I know you need a sim card to activate after a restore
    It however does not have to be a fully working sim card, just not blocked or with a pass code, I repair/refurb. some iPhones and can only advise to try and get a free sim card from a provider supported on your phone and activate it with this,  or maybe someone can lend you theirs for 5 mins?
    To clarify, I have heard there are ways around this, but they sound dubious.

  • How to adress a symbol created with sym.createChildSymbol

    Hi,
    I want to create a symbol (as a MovieClip) when I click a button and I want to load into that symbol a Edge Composition.
    This is my code:
    var pageContent = sym.createChildSymbol("content", "Stage");
    EC.loadComposition("cvcontact.html", sym.getSymbol("pageContent"));
    That is the way I FOUND in Edge to try work as I would with Flash, loading differents swfs.
    It is not working.
    The console gives me that error :
    [ ERROR | EdgeCommons | Core ] Error in loadComposition(). Arguments 'src' and 'sym' are not optional. EdgeCommons.js:3
    b.error
    Please, do you have any direction to give me where to look at ?
    thanks a lot
    sergio

    I have another question...
    After I correctly loaded my composition into pageContent, I try to put the pageContent somewhere in my page.
    var pageContent = sym.createChildSymbol("content", "Stage");
    pageContent.element.css({"top":200,"left":350});
    EC.loadComposition("cvcontact.html", pageContent);
    It does not work . I have this error :
    Uncaught SecurityError: Blocked a frame with origin "null" from accessing a frame with origin "null". Protocols, domains, and ports must match.
    Thanks for any help.

  • Using Variables in the sym.play statement

    I have built a menu system consisting of a main menu with three options and a single sub-menu animation that should stop at one of three different spots on the timeline depending on which main menu button is clicked.
    For each main menu button I have created a click event consisting of sym.setVariable("subselect", "#"); where "#" can be set to 1, 2 or 3.  When any one of the main menu buttons is clicked, the sub-menu opens and at the end of that sequence I have inserted the following - sym.play(subselect);
    This is all pretty clearly displayed in the annotated screen snap below.
    It's important for me to master the use of varaibles and concatenated strings in the sym.play statement so I can create as compact OAM files as possible so any help is greatly appreciated.  My guess is that i'm making a stupid syntax error, but I'm not opposed to picking other people's brains when mine proves inadequate for the task at hand.
    Thanks very much.
    Andy.

    Hi Harley ,
    The frame labels are 1,2,3 etc
    sym.setVariable("subselect" , 0); // in the stage composition ready
    Then in the menu you can set the "subselect" variable to 1,2,3 and then call sym.play(sym.getVariable("subselect"));
    Thanks and Regards,
    Sudeshna Sarkar

  • Sym.play("loop"); This is not working

    Please'm having problems with the LOOP. 've Followed several tutorials but the file does not end LOOP function. You guys could send me a link where I can get a solution to this problem?
    // play the timeline from the given position (ms or label)
    sym.play("loop"); This is not working (sorry for the english: Translate)

    sym.play("loop"); will move the root timeline playhead to the "loop" label, and play from that "loop" label.
    If you want to loop a section, for example, you could put a label called "loop" at 1 second, and then at 3 seconds, add a timeline trigger that has the code sym.play("loop");

  • Sjsas 80 (j2sdk 1.4) and sym links under Linux

    iH:
    I have a WAR deployed, which includes a download directory. I would like to sym link a directory within the download directory to another path on the disk.
    I can view the link in the page that SJSAS generates when I browse the directory, but I can't follow the link with the browser. Help?
    Under Apache I would add the FollowSymLinks option ......

    You can do it by sharing the target directory with Samba and then mounting the Samba share using smbmount or mount.
    I shared the target directory by editing smb.conf, and then I ran the following:
    cd <dir-where-you-want-symlink>
    mkdir <symlink-name>
    mount -t smbfs -o username=<user>,password=<password> //<server>/<share> <dir-where-you-want-symlink>/<symlink-name>
    The directory then looks 'real' enough for SJSAS to follow it.
    Aaron.

  • Sym.play from a timeline point wont fire on click trigger

    Hi there,
    The project I'm working on is a prototype for an ATM at a fictional amusement park for my Interaction Design class. It works pretty simply, just using sym.stop() triggers on the timeline, and then when you click on elements it will sym.play() the timeline to the next stop point on the click.
    This is what it does when I preview/publish (the html file)
    edgeActions.js
    this probably isnt helpful but heres the other .js file: funpark_edge.js
    My problem is, I can change the first scene to the second scene by clicking the text at the bottom of the screen, but click events on the the 'Read Me' and the image of the card don't work.
    I also do know that some of my later scenes come in after a while, but just ignore that.
    I contacted Adobe Customer Support about this, and they told me it was ousde their scope and that I should post it here.
    Does anyone know of any methods to figure out what the problem is? Any help is greatly appreciated!
    Software/Hardware info:
    I'm working on a project in Edge Animate CC 2014 (latest version)
    I'm working on my MacBook Pro which is running OS Mountain Lion and on a school computer that runs either Mountain Lion or Mavericks. I'm testing in the latest version of Google Chrome, but my issue is present when I use any other browser I have on my computer (Safari & Firefox).

    My initial thought, before digging in, is that you have a some items/buttons on the stage that are "underneath" other buttons which is preventing the viewer from actually accessing those buttons.  First of all, I would probably not tackle this project with one massive timeline.  I would separate each page by an ID and have each ID contain its native animations (slide in effect, buttons pop-out/fade-in).  Then within the compositionReady I would instantiate each animation to play based on clicks on the stage.  I can show you how to do this ( and I can do it for you as well so don't worry about that).

  • Solution for undefined Sym when compiling multiple files

    Hi, I'd like to suggest a solution for the common 'undefined sym' problem.
    Combining all the source files into one file solves the problem quite effectively.
    I'm not sure if this is due to gcc, or some name mangling scheme that's throwing
    the avm2 off but in any case, when I compile multiple c++ files 'separately', ie
    g++ (or gcc) A.c B.c C.c -O3 -DOSX -DRT_AS3 -swc -o library.swc
    results in
    1) undefined _main if main() is not in C.c (but in another file which is not last in the list),
    and
    2) calling ANY function in A.c or B.c from C.c results in an "undefined sym" runtime error.
    When combining the files into one unit however, and then compiling that unit works fine:
    on linux/darwin:
    cat A.c B.c C.c > unit.c
    g++ (or gcc) unit.c -O3 -DOSX -DRT_AS3 -swc -o library.swc
    hope this helps someone.
    J

    Perhaps I didn't explain my question well enough. We already are using a dependency management system (based on jam - blows the doors off of make). However, some of our libraries that we build consist of many ( 100+ ) individual .cpp files, and there are many of these libraries in a dependency hierarchy. Invoking the compiler once per file seems to be a source of considerable overhead. I want to invoke the compiler only twice per library, no matter how many individual .o files need to be rebuilt - once to rebuild the out of date subset of .c files (one "-c" style invocation, no link step, generate object files only), and once to link the rebuilt .o files and the unchanged .o files into the target shared object.
    However, the compiler will not accept multiple "-o" flags, forcing us to invoke it once per file if we want to specify an output name. I want an option (or a workaround) that will allow us to specify multiple source files, and the output name for each in one compiler invocation. One approach could be a flag that could be used repeatedly to specify source file name / object file name pairs on the command line. Another would be a flag that set a derivation rule by which the output object file name would be generated from the input source file name.
    Repeatedly invoking the entire toolchain to compile one file of many, when the include dependency graphs, symbol tables, template instantations, etc. of each of those files are certain to overlap to a great degree, seems to me like a huge waste. Why must we reparse std::basic_string for each source file if we know the build environment is the same, just because we want to specify the output filename?

  • "Undefined sym: _main"  Why I get this error?

    "Undefined sym: _main" I get this error at runtime in Flash
    CS4, any idea why?
    Im trying to run an OpenGL sample..

    Up.
    I'm having the same problem. I've tried compiling the code with a custom Makefile or with Flash Builder, but he doesn't see my main function.
    He doesn't even enter this function on run, it's an immediate "Undefined sym: _main". The decoration must be wrong somewhere, but when we look into the library.swf found in the resulting swc, we can find a _main in the middle of the hexa soup.
    The call to gcc for the swf:
    gcc   ./opengles/testApp.o  ./opengles/src/Config.o [more .o ...]  -swc -o "test.swc"
    The code of my main function:
    int main()
    unsigned int i;
    fprintf(stderr,"kikoo");
    AS3_Val swcEntries[] =
    AS3_Function(NULL, swcInit)
    ,AS3_Function(NULL, swcFrame)
    // construct an object that holds refereces to the functions
    AS3_Val result = AS3_Object(
    "swcInit:AS3ValType,swcFrame:AS3ValType"
    ,swcEntries[0]
    ,swcEntries[1]
    for(i = 0; i < sizeof(swcEntries)/sizeof(swcEntries[0]); i++)
    AS3_Release(swcEntries[i]);
    // notify that we initialized -- THIS DOES NOT RETURN!
    AS3_LibInit(result);
    return 0; //never used
    Can't give you the line to create the swf as it is hidden somewhere in Flash Builder which doesn't write in the console, for some reason.

  • Sym.play resets variable

    Hi,
    I hope somebody can help me, I think I'm to tired to find a solution for this problem right now so I hope someone here is able to give a hint as I have to have this done in less than 3 hours!
    Simplified, my problem looks like this:
    var counter = 0;
      sym.$("count-button1").click(function() {
              counter ++;
    sym.$("number-clicks").html(moneycounter);
                sym.$("count-button2").click(function() {
              counter ++;
    sym.$("number-clicks").html(moneycounter);
    I have two buttons that can be clicked, and everytime I click on one of them "1" is added to the var "counter". Simultaniously .html writes the number of clicks in the text-field "number-clicks". Everything works fine until I get to a click event like "sym.play(1000);" that i assigned to a different div. on the timeline. As soon as the user clicks on it, the variable starts from zero again the next time count-button1/2 is clicked.
    Why?? Please can someone help me! I'd really apreciate it!
    Thanks!
    edit: nobody any hint? I really didn't get it to work by now... Is there any workaround? Or is it just a stupid mistake?

    Bonus points for uploading a simplified case
    Thanks for the upload! Found the problem:
    Since you added the code to the "play" action of the timeline, clicking the play(100); action resets the timeline. The workaround is simple though, just added the code to the compositionReady event of your project. Uploaded your fixed example here http://sarahjustine.com/downloads/userhelp/var_reset_sahunt.zip
    Sarah

  • Possible values for the variable string in "keysym. sym : string "

    The resource keysym for customizing the urxvt terminal has the syntax:
    keysym.<sym>:<string>
    As explained in the urxvt man page, <string> can contain "escape values".  Even though there are different examples of values for the variable <string> on the web, I was wondering if there is a place where I can find a comprehensive list of possible values for this variable. 
    (I tried to look for this information at the X man page -- as indicated in the urxvt man page -- but I couldn't figure it out. I wonder if my difficulty is due to the fact that I'm not sure what the expression "escape values" refers to...).
    Thanks!!

    pointone wrote:Maybe this will be helpful?
    Thanks a lot pointone for the link! I found many interesting things at this link. But I'm still not sure if I understand what the possible values of the variable <string> are. 
    From what I understand, the website you sent shows how to map a keycode to a keysym using the xmodmap utility.  However, it seems to me that the use of the rule
    URxvt.keysym.<sym>: <string>
    in the .Xdefaults maps a keysym to an action, given by the value of the variable <string>.
    Does this make any sense or am I missing something here?

  • Is thier a command for looping. somthing like sym.loop("") or EC.Sound.loop(""). I mainly need this

    is thier a command for looping. somthing like sym.loop("") or EC.Sound.loop(""). I mainly need this for two work for looping a sound file.
    Thanks.

    Hey, sabermaster-
    Not at the moment, though you can create your own loop effects by using triggers on the timeline.  What specific functionality are you looking for?
    -Elaine

  • Err :Undefined sym: __ZN3FooC1Ev   at Function/ anonymous ()

    Foo.h
    #pragma once
    class Foo
    public:
      Foo(int n);
      virtual ~Foo(void);
      int Plus(int m);
      int num2;
    Foo.cpp
    #include "Foo.h"
    Foo::Foo(int n)
      num2=n;
    Foo::~Foo(void)
    int Foo::Plus(int m)
      int n=100+m+num2;
      return n;
    main.cpp
    #include <stdlib.h>
    #include <stdio.h>
    #include "Foo.h"
    #include "AS3.h"
    static AS3_Val fc(void* self, AS3_Val args)
      Foo f(10);
      int m=f.Plus(1);
      return AS3_Int(m);
    int main()
            AS3_Val fcMethod = AS3_Function( NULL, fc );
            AS3_Val result = AS3_Object( "fc:AS3ValType",  fcMethod  );
            AS3_Release(  fcMethod  );    
            AS3_LibInit( result );
            return 0;
    there is the source.why always err:
    Undefined sym: __ZN3FooC1Ev
      at Function/<anonymous>()
      at Function/<anonymous>()
    who can help me ???

    http://forums.adobe.com/thread/900579

  • I tried to compile the SDL port, but i got an Undefined sym error again..

    I tried to compile the SDL port, but i got an Undefined sym
    error again, like in an other project yestarday.. Maybe the problem
    is not with alchemy but me? Any Tips?

    You just use FlashCS4?The first thing you need to check
    quote:
    Posted By: joesteele (Member)
    Alchemy is a technology preview and its features are not
    supported in the FlexBuilder or Flash authoring environments yet.
    This issue looks like it is caused by interaction between the Flash
    CS4 compilers optimization pass and Alchemy-specific bytecodes.
    Checking the "Export SWC" option skips this optimization pass and
    avoids the problem. Be aware that this issue impacts other tools
    which can generate SWCs containing Alchemy-specific bytecodes (e.g.
    Haxe).
    Describe the problem in more detail, you can copy and paste the
    error message directly as it is.

Maybe you are looking for

  • Am I being corupted? My firefox is now in Dutch!

    Every time we try to use the internet with firefox it comes in Dutch. the Google statement says that are license expired. Do we have a corruption? This is on my wifes dell note book computer with windows XP. == This happened == Every time Firefox ope

  • How to Change The Order of Songs?

    I have an album in my iTunes, and the tracks are in the wrong order. I edited the info for all of them so they all said __ of 11. I also made sure that they had the same exact spelling of the Album. I tried marking it as a gapless album and also as a

  • I can't stay logged in in the forum

    Recently I am always logged out when I close my browser. (Chrome). It doesn't ask my password so I assume the cookie was successfully written but nevertheless when I close the browser I have to sign in again next time I use the forum. In the past I w

  • Windows laptop not able to access internet thru apple express network

    I run macs all day long but was given a windows machine. I am trying to hook up on the net via a dsl apple network my brother has. I connect to his network but cannot get on the net. I have tried other(motel) wireless networks and they all work. He h

  • Code / Logic review

    Hi All, Please review the following code and logic used for uploading data by converting comma separated value column to multiple rows. Tables Used. create table temp_stg (id number(16), equip_name varchar2(200), pcb1 varchar2(50), pcb2 varchar2(50))