Description


It\'s nice to have the precompiler options but ... :-) But a few things are to be improved 1) New constant for timestamp and UnifAce-version 2) Extration of parts of a constant 3) A condtions should also be compare two items by \"greater then\", \"less then\", ... 4) On interpreting \"#for\" , brackets and quote should be consider 5) New query if or if not a OPERATION or ENTRY is defined 6) New constant containing entries and operations Addtion to 5,6: Also possible some kind of a reflection interface at runtime

Use Case


1) putmess \"Component compile at \" putmess \"UnifAce version is \" 2,3) #if ([1:1] >= 9) colorbox #else putmess \"colorbox not supported #endif 4) #define list=A,B(1,2,3),\"x,y,z\" #for item=(),counter putmess \":\" #endfor should give 1:A 2:B(1,2,3) 2:\"x,y,z\" 5) #ifdefentry LP_DOIT call LP_DOIT #endif #ifdefoper OPER1 activate $instancename.\"OPER1\"() #endif 6) putmess \"Entries = \" putmess \"Operations = \" addtion to 5,6: Also possible some kind of a reflection interface at runtime 5b) IF( $ENTRYINFO(\"LP_DOIT\",\"\")!=\"\" call LP_DOIT ENDIF IF( $OPERATIONNFO($componentname(a_INST),\"OPER1\",\"\")!=\"\" activate a_INST.\"OPER1\"() ENDIF 6b) putmess \"Entries = %%%$componentinfo(\"\",\"ENTRIES\") \" putmess \"Operations = %%%$componentinfo(\"\",\"OPERATIONS\") \"

Importance



Type


Proc Code

Operating System


Not Applicable

Status


Open

Leave a Reply