Trying to understand preprocessor
- Posted by moskito_x Feb 09, 2013
- 1405 views
Thanks for response.
That does not explain why "eui thedate.dex" does not work?
without a pre-processor hook defined.
It's in the eu.cfg "-p dex:datesub.ex:-f %m/%d/%Y"
D:\euphoria-405\demo\preproc>eui thedate.dex Can't open 'D:\euphoria-405\demo\preproc\thedate.dex'
Magic:
After I entered once:
eui eui:datesub.ex thedate.eui
all other attempts now run. No error appears: Can't open 'D:\euphoria-405\demo\preproc\thedate.dex'
Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. D:\euphoria-405\demo\preproc>eui thedate.dex 2013-02-09 D:\euphoria-405\demo\preproc>eui -p eui:datesub.ex thedate.dex 2013-02-09 D:\euphoria-405\demo\preproc>eui -p eui:datesub.ex thedate.ex The date this was run is @DATE@ D:\euphoria-405\demo\preproc>eui -p eui:datesub.ex thedate.dex 2013-02-09
In eu.cfg: after I delete the line "-p dex:datesub.ex:-f %m/%d/%Y"
D:\euphoria-405\demo\preproc>eui -p eui:datesub.ex thedate.dex @DATE@ D:\euphoria-405\demo\preproc>eui -p ex:datesub.ex thedate.ex The date this was run is 2013-02-09 D:\euphoria-405\demo\preproc>
MAGIC : What happened here?
Thanks moskito x