Author Topic: beta2 - can't load macro file  (Read 800 times)

rowbearto

  • Senior Community Member
  • Posts: 1483
  • Hero Points: 113
beta2 - can't load macro file
« on: August 14, 2017, 06:12:50 pm »
Attached is my macros file. It loaded fine in beta1

When I try to load it, I get error:

robutils.e 41 51:Type mismatch for operator =

But from what I can tell, there is no type mismatch.

This line is:

Code: [Select]
old_search_options = save_old_search_options;

old_search_options is declared as:

search.e:
_str old_search_options = '';

save_old_search_options is declared as:

robutils.e
static _str save_old_search_options;

So why do I have this error?

Lee

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1299
  • Hero Points: 130
Re: beta2 - can't load macro file
« Reply #1 on: August 14, 2017, 06:22:07 pm »
Added new prototypes for saving and restoring old search options in search.e, and the function is called save_old_search_options()/restore_old_search_options().  Conflicts with your static variable now.