Procedures
Procedures are used to define a particular part of code that can be executed on demand (Some languages call them methods or functions.) In Nim new procedures are defined with the proc keyword:
It also excepts arguments and return type too!
Procedures are main components of any application, these will help you write your dream code ;)
Last updated