Author Topic: Custom macros in Easy Code?  (Read 2434 times)

Paulo

  • Guest
Custom macros in Easy Code?
« on: September 13, 2013, 09:11:36 PM »
Hi Ramon

I have a few custom macros which I often use with Masm32, can I use them in Easy Code (always get a syntax error message) and where do I declare it?

Thanks.

===================
UPDATE:
===================

Please ignore question, it's sorted.
« Last Edit: September 14, 2013, 04:38:54 AM by Paulo »

rsala

  • Moderator
  • Member
  • *****
  • Posts: 285
    • Easy Code
Re: Custom macros in Easy Code?
« Reply #1 on: September 14, 2013, 08:03:05 AM »
Hi Paulo,

Thanks for using Easy Code.

Yes, you can use your macros in Easy Code. You should declare them in the Window/Module you are going to invoke them, or even better you can write them in an ".inc" file. The you place that ".inc" file in the project folder and include it in the project by using the "Project-->Add files..." menu option. That way, they will be available to all Windows/Modules in the project.

If the macros are well coded, you should not get any error message.

Regards,

Ramon
EC coder

Paulo

  • Guest
Re: Custom macros in Easy Code?
« Reply #2 on: September 14, 2013, 08:28:14 AM »
Thank you Ramon.

All sorted out.

rsala

  • Moderator
  • Member
  • *****
  • Posts: 285
    • Easy Code
Re: Custom macros in Easy Code?
« Reply #3 on: September 15, 2013, 06:53:12 AM »
I'm glad to hear that!

Regards.

EC coder