Hi all, as you may know, Vip supports a special syntax in the first line, inspired by the "#!" ("hash-bang") in Unix shells.
If the first line starts with "# VIP " then the rest of the line is taken as a file name - with optional arguments - which is automatically loaded via 'script'. For example # VIP @lib/vip/draw.l loads the ASCII drawing library. Now, with version 21.7.27, Vip can also directly execute Lisp expressions in the first line. The marker for recognition is a "(" character. For example # VIP (=: flat T) switches off the markup (as if pressing F1). Naturally, this implies that the first form will not work with file names starting with a "(" character. You can pass one or more expressions. They will be evaluated with 'This' on the current buffer, and the namespace search order set to (vip pico). ☺/ A!ex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe