Summer 2002
1. Perhaps the Encyclopedia Britannica
Research Assistant
is written by[in] Java.
2. Work Hard Play Hard
Live your life with[in] all [its] fullness.
3. H(Learning): HyperLearning 真切學習:
[]
Be a professional professional: 比專業還專業
.
To edit Lazarus code in Emacs:
1. Open Emacs’ initialization file, whose location should be
~/.emacs
2. Add the follwing code:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (defmacro compile-with (command-string) `(progn (save-buffer) (unless visual-line-mode (visual-line-mode 1)) (universal-argument) (compile ,command-string))) (defmacro defcomp (fn command-string kbd-string) `(progn (defun ,fn () (interactive) (compile-with ,command-string)) (global-set-key (kbd ,kbd-string) ',fn))) ;;;;;;;;;;;;;;;;;;;;; (defcomp g-la-com (concat "lazbuild " (replace-regexp-in-string "pas" "lpi" buffer-file-name)) "C-x C-p") ;;;;;;;;;;;;;;;;;;;;; (defcomp g-la-run (replace-regexp-in-string ".pas" "" buffer-file-name) "C-x C-[") ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3. Close Emacs.
4. Use the Lazarus IDE to create a console project named p11.
5. Close Lazarus.
6. Use Emacs to open the file p11.pas.
— Me@2022-12-07 08:35:48 PM
.
.
2022.12.08 Thursday (c) All rights reserved by ACHK

You must be logged in to post a comment.