Last active
December 15, 2018 21:00
-
-
Save rdbuf/8d00e4eebad2951b79cabdbf343ac555 to your computer and use it in GitHub Desktop.
Языки и методы программирования, 1 семестр
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
| : max_elem_index ( addr len -- idx ) 0 -rot 0 do i cells over + @ -rot 2dup swap cells + @ 2swap -rot < if drop i then swap loop drop ; | |
| create mynumbers 943 , 43 , 7 , 954 , | |
| : test mynumbers 4 max_elem_index . ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment