pralash
19th December 2017, 14:21
Hi,

I'm new for LN Programming... While I refer the existing script, the #include "itcmcs2000" is included in many script... Can I know when we use this script for a specific task?

Thanks in advance,
Regards,
Pralash

bdittmar
19th December 2017, 15:58
Hi,

I'm new for LN Programming... While I refer the existing script, the #include "itcmcs2000" is included in many script... Can I know when we use this script for a specific task?

Thanks in advance,
Regards,
Pralash

Hello,
a piece out of itcmcs2000

|* This DAL support include is a generic solution of handling the Date Access
|* Layer (DAL)
|* Macro's are available to support:
|* - Business methods
|* - progress indicators
|* - technical and functional errorhandling
|*
|* The following BM public support macro`s are available:
|*
|* START.BUSINESS.METHOD.UI(CLS,FNC,IFE,TXT[, scsm function arguments
|* seperated by comma's])
|* macro for starting a Business Method from GUI
|* creates a standard progress indicator, starts BM, handles

.........................>>>>>


Regards

mark_h
19th December 2017, 17:41
If you own source code you can look at it to see what the include file has in it. If you do not own source code then be careful - since you should not have these include file source scripts. Include files can be useful for things like common declarations (or even functions) to be used in multiple sessions.

pralash
20th December 2017, 07:28
Thanks so much for your information... I think that it's equivalent to the header file in C language.. We are include the predefined or our own header file according the process held in C Language....... Similarly I think the same concept is used in Baan Programming... Am I correct?

Regards,
Pralash

mark_h
20th December 2017, 15:39
I think so from what I recall from C - been 25 years since I looked at C or C++.

bhushanchanda
20th December 2017, 15:58
Pralash,

Yes. It can be considered as C like headers but with its usage limited to declarations mostly and sometimes functions.

A DLL on the other hand can be considered more like C header which can have capabilities of doing complicated tasks.