Jump to content
Main menu
Main menu
move to sidebar
hide
Social
Discord
Facebook
Twitter
Explore
Languages
Tasks
Random page
Rosetta Code
Search
Search
Create account
Log in
Personal tools
Dark mode
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Apply a callback to an array: Difference between revisions
Page
Discussion
English
Read
View source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
View source
View history
Refresh
General
Special pages
Printable version
Get shortened URL
← Older edit
Newer edit →
Apply a callback to an array
(view source)
Revision as of 06:49, 26 February 2016
173 bytes removed
,
8 years ago
→{{header|Ring}}
Revision as of 06:46, 26 February 2016
(
view source
)
rosettacode>Msfclipper
No edit summary
← Older edit
Revision as of 06:49, 26 February 2016
(
view source
)
rosettacode>Msfclipper
(
→{{header|Ring}}
)
Newer edit →
Line 2,313:
x = x*x
next
</lang>
<lang ring>
Func Main
list = 1:10
each(list, func x {
x = x*x
see x + nl
})
see list
Func each aList, cFunc
for x in aList
_x = x
call cfunc(_x)
next
</lang>
Anonymous user
rosettacode>Msfclipper
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
More information
OK
Toggle limited content width