Last active
February 16, 2017 21:09
-
-
Save bozhink/2641bbaff4e6b8972f86f88b208bbe32 to your computer and use it in GitHub Desktop.
UltraEdit macro for writing numbers in editor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function recall(num) { | |
UltraEdit.activeDocument.write(num + " "); | |
} | |
function num() { | |
var i = 0, j = 1, n = 0; | |
while (n < 10) { | |
recall(i); | |
var t = i; | |
i = j; | |
j += t; | |
n++; | |
} | |
} | |
num(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment