F3 toggle for Esnap

This is a little tip to add Acad-like functionality to the F3 key (toggle on/off esnap). Much better than having to click the status bar.Add to Icad.lsp:(defun c:esnaptoggle ( )(if (= 16384 (logand 16384 (getvar "osmode")))(setvar "osmode" (- (getvar "osmode") 16384))(setvar "osmode" (+ (getvar "osmode") 16384))))Add to F3 function key (customize dialog box):'esnaptoggleReload Icad.lsp