Home  |  IT Zone  |  Tips / Tricks  |  Did You Know  |  Inspirational  |  Health  |  World Infos  |  Insurance  |  Universities  |  Forex  |  Mathematics  |  Illusions  |  Children Day Quotes  |  Fun / Jokes  |  Decent Quotes  |  Birthday Msgs  |  Good Morning Msgs  |  Good Night Msg  |  Husband Wife Jokes  |  Teacher Students Jokes  |  Insult Jokes  |  Love Quotes  |  Sad Quotes  |  Funny Pics  |  Be Aware  |  Articles  |  Simple Joys of Life 

What is User Defined Function?

As there are limited number of standard functions built-in on Qbasic, soon it will be not enough to meet the users requirements. So, Qbasic allows users to create some new functions that work like a library function.
  • These functions created by user according to their need for easiness in the program are called user defined functions (UDF).
  • A user defined function is written by computer programmer to do specific task. A User-Defined Function (UDF) is a function provided by the user of a program or environment, in a context where the usual assumption is that functions are built into the program or environment.
  • Example: DECLARE FUNCTION area (l, b)
  •                  DECLARE FUNCTION perimeter (r)
     

Share :

Twitter
Back To Top

facebook main

Powered by Blogger.