Created
March 21, 2016 16:58
-
-
Save abeaumont/594f862db30106de75ea to your computer and use it in GitHub Desktop.
This file contains 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
module: string-aref-test | |
define function main () | |
let t = "abcdefg"; | |
let (a, b) = method() values(t[2], 'c') end(); | |
format-out("%= %=\n", a, b); | |
let (c, d) = values(t[2], 'c'); | |
format-out("%= %=\n", c, d); | |
let x = #[1, 2, 3, 4]; | |
let (e, f) = method() values(x[2], 'c') end(); | |
format-out("%= %=\n", e, f); | |
end function main; | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment