Hi,
Error when compiling a menu, using awgenmenu.prg :
"File 'cl.prg' does not exist"
Function defbars
...
\\ PROMPT cLocalized(<<cL(m.prompt)>>)
...
This line refers to cl - I cannot find cl() anywhere.
After rebuilding my project (not the xxx project, the core project containing all source files) several times and exiting out of Web App Studio each time I finally managed to build the project successfully. I don't know if the menu is compiled properly now, I don't really care so will just ignore it for the moment.
Thanks.
Paul
modify command home(1) + 'tools\ab\abTxt.prg'
:
* ===================================================================
function cL && {fr} Littéral VFP && {fr} Alias de cLitteral()
lparameters ;
tuValue; && @ {fr} Valeur à convertir en littéral (tous type supportés : CDGLNOQTUXY) {en} Value to be turned into a literal (all types supported : CDGLNOQTUXY)
, tlRTrim; && [.F.] {fr} si type C, ôter les espaces à droite {en} if type C, trim right spaces
, tnTronc; && [aucun] {fr} si type C, nombre de caractères de troncature {en} if type C, number of characters to truncate to
, tlXML; && [.F.] {fr} Encoder pour XML {en} Encode for XML
, tlObjRecurseNot; && [.F.] {fr} Ne pas récurser dans les membres et propriétés de type objet {en} Do not recurse into member and object properties
return cLitteral(;
@m.tuValue;
, m.tlRTrim;
, m.tnTronc;
, m.tlXML;
, m.tlObjRecurseNot;
)
I recommend VFPx's goFish to search within projects
Thanks Thierry,
FAS sets the path to the AB directory, so not sure why it didn't find this prg. Anyway, resolved for now.
Paul