Guest User

Untitled

a guest
Jul 8th, 2018
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 0.57 KB | None | 0 0
  1. this: (with-coordinates ((*window* 4 5) &body body)
  2.         (format window "~A" "HELLO")
  3.  
  4. expands to this:
  5. (LET*                                                                                
  6.  ((OLD-POS (MULTIPLE-VALUE-LIST (SCREEN:WINDOW-CURSOR-POSITION *WINDOW*))))                                                                              
  7.  (SCREEN:SET-WINDOW-CURSOR-POSITION *WINDOW* 4 5) (FORMAT WINDOW "~A" "HELLO")                                                                          
  8.  (SCREEN:SET-WINDOW-CURSOR-POSITION *WINDOW* (CAR OLD-POS) (SECOND OLD-POS)))
Add Comment
Please, Sign In to add comment