The difference between functions with return and without return:

Revision en2, by pokpong007, 2025-09-08 20:57:57

With return → gives back a value (can be stored/used). Without return → no return, just executes and ends.

Tags beginner

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English pokpong007 2025-09-08 20:57:57 167
en1 English pokpong007 2025-09-08 20:51:40 284 Initial revision (published)