QB64.org Forum

Active Forums => QB64 Discussion => Topic started by: FellippeHeitor on July 04, 2021, 07:34:27 pm

Title: [video] Subs and Functions
Post by: FellippeHeitor on July 04, 2021, 07:34:27 pm
Reusing code is easy with Subs and Functions. Here's an explanation of what these are and how to create and use them.



00:00 Intro
01:11 Internal Subs and Functions
02:40 Creating your own Subs and Functions
09:50 Scope
11:47 Passing parameters by reference or by value
19:21 Accessing Subs and Functions from anywhere
23:50 Grouping Subs and Functions in a reusable file
25:22 Outro + Thank yous