![]() |
#1 |
Участник
|
Malaysia: Macros
Источник: http://axmas.blogspot.com/2012/10/macros.html
============== #define.Text('This is a test of macros') #define.Number(200) static void Datatypes_macro_library(Args _args) { // Referencing macro library has to be done in the class declaration // or in the declaration like in this example #MacroTest ; info(strfmt("Text: %1. Number: %2", #Text, #Number)); } Local Macro static void Local_Macro(Args _args) { // Define the local macro #localmacro.WelcomeMessage { info("Welcome to Carz Inc."); info("We have the best offers for rental cars"); } #endmacro; // Use the local macro #WelcomeMessage } Источник: http://axmas.blogspot.com/2012/10/macros.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|