Dr. Charles Simonyi is the Father of Modern Microsoft Excel                                           JavaScript was originally developed by Brendan Eich of Netscape under the name Mocha, later LiveScript, and finally renamed to JavaScript.                                           The word "Biology" is firstly used by Lamarck and Treviranus                                           Hippocrates (460-370 bc) is known as father of medicine.                                           Galene, 130-200 is known as father of Experimental Physology                                           Aristotle (384-322 BC) is known as Father of Zoology because he wrote the construction and behavior of different animals in his book "Historia animalium"                                           Theophrastus(370-285 BC) is known as father of Botany because he wrote about 500 different plants in his book "Historia Plantarum".                                           John Resig is known as Father of Jquery -                                          HTML is a markup language which is use to design web pages. It was invented in 1990 by Tim Berners-Lee.                                                                The Google was founded by Larry Page and Sergey Brin.                                                                Rasmus Lerdorf was the original creator of PHP. It was first released in 1995.                                                               Facebook was founded by Mark Zuckerberg                                                               Bjarne Stroustrup, creator of C++.                                                                Dennis Ritchie creator of C                                                                                                                              James Gosling, also known as the "Father of Java"                                          At 11.44%, Bihar is India's fastest growing state                                          Father of HTML -Tim Berners Lee                                          orkut was created by Orkut Büyükkökten, a Turkish software engineer                    Photoshop: It came about after Thomas Knoll, a PhD student at the University of Michigan created a program to display grayscale images on a monochrome monitor which at the time was called 'Display'.

programming concept

       A Program is a set of instructions used to achieve the desired output.
To create new program or to edit the existing one.
NOTE command
            If ignore the particular line or command, NOTE can be used at the beginning of that line.
Comment Line
            To add comments to the right of the Programming code , use &&
 Clear All Command
            This command is used to closes all databases files and releases all active memory variables, arrays menus or popup.
Input / Output command
                         ? | ?? | ??? [expr1?]
?      - To print the expression in new line
??    - To print the expression in the same line
???  - The Output will going to the printer
          ? "Hellow!"
Sample Program
            NOTE prg for just print something on the screen
Clear           && To Clear the Screen or previous outputs
?? " World...!"
??? "Thank you”

Writing Programs
 * FoxPro has powerful built-in editor for writing    and editing.
* It can be invoked from the command window by   using the MODIFY COMMAND.  
            MODIFY COMMAND <prenames>
    Modify Command journal
    (This program will automatically save with the      extension .PRG)
 Press CTRL + W - To save and close the program window
 Executing Program
            Programs can be executed by DO command.
            DO <prgname>
             Do journal
 When compile the executed file the FoxPro creates an object code program with .FXP extension. If there are any errors, creates a file an .ERR extension.
 INPUT command
 It is used to accept Numeric input from the user and store it into a memory variable.
            INPUT [<char exp>] TO <memvar>
Store 0 to eno
INPUT              "Enter your Enrollment No : " TO eno
? Eno
ACCEPT command
It is used to accept character input from the user and store it into a memory variable.
            ACCEPT [<char exp>] TO <memvar>
            Store space (15) to NAM
ACCEPT "Enter the Name: " to NAM
? "Entered name:” NAM
Example 2
Accept  "Enter your nane :" to nam
Input "enter your Age  : " to age
Accept " enter your city  :" to cit
Accept "Enter your Mail id  : " to mail
? "******************************************"
? "NAME  ::  " ,nam
? "AGE      ::  " ,age
? "CITY     ::   " ,cit
? "MAIL ID::  " ,mail
? "******************************************"

Setting/restoring the environment
         Every FoxPro program includes all commands required to establish the working environment and restore it to its prior state before the program terminates execution. This is achieved by issuing some set.
 Set notify on/off
            Enables the display of certain system messages.
Set talk window
            Directors the display of system messages to an user-defined window instead of the system window. Sets notify should be ON.
Set deleted on/off
            Processes records marked for deletion.

Read more:

No comments:

Post a Comment