SlickEdit Community

Archived Read Only Forums => SlickEdit 2017 v22 Beta Discussion => Topic started by: rowbearto on August 14, 2017, 06:12:50 pm

Title: beta2 - can't load macro file
Post by: rowbearto 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?
Title: Re: beta2 - can't load macro file
Post by: Lee 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.