Skip to content

Instantly share code, notes, and snippets.

@Snow-Pyon
Last active December 5, 2017 03:57
Show Gist options
  • Save Snow-Pyon/8676e342adbf799092cb768888b40f70 to your computer and use it in GitHub Desktop.
Save Snow-Pyon/8676e342adbf799092cb768888b40f70 to your computer and use it in GitHub Desktop.
Test sublime integration
on command:
broadcast "%complete command%"
function decimalsBetween(start: number, end: number, current: numbers = 0) :: numbers:
if {_start} isn't ({_end} + .1):
set {_start} to {_start} + ({_start} > {_end} ? -0.1 : +0.1)
add {_start} to {_current::*}
set {_test::*} to decimalsBetween({_start}, {_end}, {_current::*})
else:
set {_current::1} to {_current::2} + ({_start} < {_end} ? -.1 : +.1)
return {_current::*}
1test
cc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment