Page 1 of 1

New way to include and use External Logic Files

Posted: December 15th, 2018, 11:24 pm
by htuser
Dear Cspro Developer Team,
External logic files is a way to reuse codes among multiples applications. Also, this can help users to write more readable and standardized codes.
Thanks to you for allowing Csprousers to use them. However, after users request for a more clear way to use them : by using include or import or uses or require keywords in Cspro logic rather than in the .ent files:

[AppCode]
File=.\QuestGarcons.ent.apc
Include=..\..\ListeUtilisateurs.apc
[Message]
File=.\QuestGarcons.ent.mgf
Include=..\..\CSProRuntime.cr.mgf
Include=..\..\CSProRuntime.fr.mgf
but
PROC GLOBAL
//External logic files or functions
Include=..\..\ListeUtilisateurs.apc
//External multilingual messages files
Include=..\..\CSProRuntime.cr.mgf
Include=..\..\CSProRuntime.fr.mgf

following this post: http://csprousers.org/forum/viewtopic.php?f=6&t=1243 is very important.

a) We would like to open them in Cspro logic.
b) We would also like to see compilation errors in theses external files in Cspro Designer.
c) We would like to edit external logic files in Cspro Logic/ Designer.

Thanks in advance!