02-19-2004, 02:11 PM
Hello there
I read a tutorial that said "By definition, a function is a subprogram designed to perform a specific task and return a value" ,the tutorial was about QBasic.
Quetsion 1: Is the statement correct?
Question 2: With regards to SubPrograms in QBasic, are Functions Subprograms or are Sub Procedures Subprograms? Or can they both be classified as Subprograms.
I read a tutorial that said "By definition, a function is a subprogram designed to perform a specific task and return a value" ,the tutorial was about QBasic.
Quetsion 1: Is the statement correct?
Question 2: With regards to SubPrograms in QBasic, are Functions Subprograms or are Sub Procedures Subprograms? Or can they both be classified as Subprograms.