Module 11 Creating and Using Macros Flashcards
1
Q
what is a macro
A
macros are re-usable blocks of SPL language that you can insert into other searches,
2
Q
when do you use macros?
A
when you want o insert the same search logic on different parts or values in a data set dynamically
3
Q
where do you create a macro?
A
Settings > Advanced Search > Search Macros
4
Q
what key strokes can you use to check your macro string?
A
Control- Shift-E
5
Q
what must the macro be surrounded by?
A
macro
backtick NOT single quotes ‘WRONG’
6
Q
when creating a macro where do you specify the number of arguments?
A
after the name in parentheses
monthly_sales(3) has 3 arguments