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,

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

where do you create a macro?

A

Settings > Advanced Search > Search Macros

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what key strokes can you use to check your macro string?

A

Control- Shift-E

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what must the macro be surrounded by?

A

macro backtick NOT single quotes ‘WRONG’

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly