Site pages
Current course
Participants
General
Topic 1
Topic 2
Topic 3
Topic 4
Topic 5
Topic 6
Topic 7
Topic 8
Topic 9
Topic 10
Topic 11
Topic 12
Topic 13
Topic 14
Topic 15
Topic 16
Topic 17
Topic 18
Topic 19
Topic 20
Topic 21
Topic 22
Topic 23
Topic 24
Topic 25
Topic 26
Topic 27
Topic 28
Topic 29
Topic 30
Topic 31
Topic 32
Topic 33
Topic 34
Topic 35
Some BASIC functions
There are two types of functions Pre-defined functions are also referred to as Library functions and are supplied as a part of the BASIC system. The form is The argument may be a constant, a variable, another function or a combination of these. The argument must be enclosed in parenthesis User defined functions The user can define his own functions with the help of a DEF (DEFINE) statement. The form of this statement is The name is a user define name, FN indicates that the name refers to function and is to be specified. Eg : 32 DEF FNA(R) = 3.1415 *R 2 +1.5 33 …. 34 …. 35 X= FNA(3) 36 …. |
Last modified: Tuesday, 10 January 2012, 4:11 PM