> While on this topic: your handy "List Variable Names" clip could
> maybe include a provision to account for multiple variables
> declared in a single line, e.g. ^!Set %Var1%=one; %Var2%=two;
> %Var3%=three.)

Thanks, I didn't realize you could use a space in front of additional variable names.

Here's a revision (there are a couple of long lines):

;2007-01-14 created by Sheri Pierce
;2010-03-01 Revision by Sheri Pierce
;revision tested with NoteTab 6.2 (PCRE 8.01)
;use to help create clearvariable statements for the clip being edited
^!If ^$GetSelSize$>0 Next Else Skip
^!Continue Some text is highlighted. Only variables set within the selection will be considered.
^!Set %varnames%="^$GetDocListAll("(?i)(^\^\!Set(Array|Code)?\x20|;\x20?)\K%[\d\pL_]+?%(?=\=)";"^!ClearVariable $0\r\n")$"
^!IfEmpty ^%varnames% Next Else Skip_2
^!Info No variables found
^!Goto Clear
^!Set %varnames%="^$StrSort(^%varnames%;No;Yes;Yes)$"
^!Info ^%varnames%
^!Set %varnames%=""
:Clear
^!ClearVariable %varnames%
;end of clip