Anonymous user
Kernighans large earthquake problem: Difference between revisions
Kernighans large earthquake problem (view source)
Revision as of 13:16, 8 February 2022
, 2 years agoEmacs Lisp: Avoid need non-portable shebang
m (→{{header|Phix}}: added syntax colouring, made p2js compatible) |
(Emacs Lisp: Avoid need non-portable shebang) |
||
Line 1,025:
=={{header|Emacs Lisp}}==
<lang lisp>
(insert-file-contents "data.txt")
(goto-char (point-min))
(while (not (eobp))
(let* ((line (buffer-substring (line-beginning-position)
Line 1,035 ⟶ 1,034:
(when (> (string-to-number magn) 6.0)
(message line)))
(forward-line 1
=={{header|Factor}}==
|