Posts

Showing posts from September, 2018

Library Function

Library Function Library Function: The function are the Pre-defined formula or program code to perform the specific task in the program. The function provided by the QBASIC are called library function and the function created by the user are called user defined function. Types User defined function Library function 1. LEFT$: LEFT$ is a string function that allows us to extract the specific number of characters beginning from the left-most character of the string. Example: a$= “computer”                PRINT LEFT$(a$,5) Output = COMPU 2. RIGHT$: RIGHT$ is a string function that allows us to extract the specific number o characters beginning from the right-most character of the string. Example: a$= “computer”               PRINT RIGHT$ (a$,5) Output = PUTER 3. MID$: MID$ function returns a specific number of characters ...