Hello Guest it is March 28, 2024, 12:06:53 PM

Author Topic: cant modify M function  (Read 903 times)

0 Members and 1 Guest are viewing this topic.

cant modify M function
« on: October 03, 2019, 02:40:18 PM »
i have this issue sometimes ,not  very often ,but when it happened i got crazzzy
when i take one machine ,delete all macros folder ,put new one
then even delete the mcLua file
but when i try modify one of the Mfunction from the mach ,i cant ,its saved ,compiled ,but nothing change
i must delete the function mcc  ,(but also this not always help)
i sure its not my private problem ,any help please

Offline smurph

*
  • *
  •  1,544 1,544
  • "That there... that's an RV."
    • View Profile
Re: cant modify M function
« Reply #1 on: October 03, 2019, 07:34:25 PM »
You have a syntax error in the macro file.  Thus it will not compile and merge into the mcLua.mcc file. 
Re: cant modify M function
« Reply #2 on: October 03, 2019, 10:33:53 PM »
In this specfic macro or in one of the macros? Because in this specific i dont see any syntax error

Offline smurph

*
  • *
  •  1,544 1,544
  • "That there... that's an RV."
    • View Profile
Re: cant modify M function
« Reply #3 on: October 03, 2019, 10:50:28 PM »
It could be in any macro.  The end result is that you new modification is not getting rolled up into the mcLua.mcc. 

The first thing that happens when all .mcc files are removed is each .msc file is compiled into a .mcc file.  If a compile error happens, you will see .mcc files for the ones that compiled successfully and then the rest without .mcc files.  One of the macros without a .mcc file is the culprit. 

So you can use that to try and shorten your search.  The longer way is:

1. Delete all .mcc files from the macros directory. 
2. Open each .mcs file with the mcLuaEditor.exe program (Not ZeroBrane because ZB will not compile to mcc files) and attempt to compile it. 
3. If successful, go to the next .mcs file and repeat.  If not, then look at the compile error. 

You will eventually find the file with the error. 

Steve
Re: cant modify M function
« Reply #4 on: October 03, 2019, 10:52:50 PM »
Thks alot,ill try