Hi Freaks
in UF9 we do have a #include in the top of LPMX
(other include behave the same)
<LPMX>
#include FAV_LIB:STD_LPMX
LP_EDIT
...
in UF 10 this become
#define $triggerAbbr=LPMX
#include FAV_LIB:STD_LPMX
LP_EDIT
...
But it does not include anything
As in STD_LPMX are at least to procedures that are needed in all programs, I got a warning modul "LP_xyz" is missing. So not only in listing the include is missing but also in the compiled component 😔
I did some recherche:
#startdefine
#define $triggerAbbr=LPMX
$1 = hello1
#include xFAV_LIB:STD_LPMX
$1 = hello2
#include FAV_LIB:xSTD_LPMX
$1 = hello3
#include FAV_LIB:STD_LPMX
$1 = hello4
ENTRY LP_EDIT
This results into:
[ 125] #startdefine
[ 127] #define $triggerAbbr=LPMX
[ 128] 1 $1 = hello1
(CSCR) warning: 1000 - Field 'HELLO1' not found
(CSCR) warning: 1000 - Script fragment seen outside a module declaration.
[ 129] #include xFAV_LIB:STD_LPMX
(CSCR) warning: 1000 - (Preprocessor) #INCLUDE 'XFAV_LIB:STD_LPMX' Not Found
[ 130] 2 $1 = hello2
(CSCR) warning: 1000 - Field 'HELLO2' not found
[ 131] #include FAV_LIB:xSTD_LPMX
[I1: 1] #Comment start_of_symbols
...
[I1: 350] #Comment end_of_symbols
[ 132] 3 $1 = hello3
(CSCR) warning: 1000 - Field 'HELLO3' not found
[ 133] #include FAV_LIB:STD_LPMX
[I1: 1] #Comment start_of_symbols
[I1: 2] #ifdefined __DATETIME__
....
[I1: 350] #Comment end_of_symbols
[ 134] 4 $1 = hello4
(CSCR) warning: 1000 - Field 'HELLO4' not found
[ 135]****** ENTRY LP_EDIT
The first include do have a wrong library by intention.
The "answers" from UnifAce are correct
The ´second include do have a wrong include-name
UnifAce didn't mention this but include DEFPARAMS the first time
The third include do have the proper include name
But still there is no include done by UnifAce
Was going on here?
Ingo





