function
ALLTRIM The function to remove leading and trailing spaces from a character expression is
ALLTRIM( ) Function
Removes all leading and trailing spaces or parsing characters from the specified character expression, or all leading and trailing zero (0) bytes from the specified binary expression.
ALLTRIM(Expression [, nFlags] [, cParseChar [, cParseChar2 [, ...]]])
Parameters
Expression
Specifies an expression of Character or Varbinary type to remove leading and trailing spaces or 0 bytes from, respectively.
nFlags
Foxpro functions and string manipulation
FoxPro Functions in programming
1.7 The function to remove leading and trailing spaces from a character expression is
A) TRIP( )
B) LTRIM( )
C) RTRIM( )
D) ALLTRIM( )
Answer:- ----??
D) ALLTRIM( )
Goals and purpose of CPU scheduling
Goals and purpose for Scheduling:-
Make sure your scheduling strategy is good enough with the following criteria:
Process management
Process management is one of the most important and relevant tasks in operating syste.
Process:-In operating systems, process is defined as “A program in execution”.Process can be considered as an entity that consists of a number of elements, including: identifier, state, priority, program counter, memory pointer, context data, and I/O request.Components of process are:-
Functions or role of DBA
DBA is fully responsible for managing and handling databases.Develop new or maintain existing databases based on specifications
• Develop, implement and maintain unit tests of database programs (i.e, SQL, etc)
• Share knowledge by effectively documenting work
• Respond quickly and effectively to production & development issues and taking responsibility for seeing those issues through resolution.
• Resolve database performance issues, database capacity issues, replication, and other distributed data issues.
Functional Testing
Black box testing takes an external perspective of the test object to derive test cases. These tests can be functional or non-functional, though usually functional. The test designer selects valid and invalid inputs and determines the correct output. There is no knowledge of the test object's internal structure.
ABS( ) Function find Absolute value from result
ABS() function Returns the absolute value of the specified numeric expression.
Syntax:-
ABS(expression)
Examples:-
? ABS(-40) && Displays 40 ? ABS(10-35) && Displays 25 ? ABS(10) && Displays 10 STORE 10 TO gnNumber1 STORE 2 TO gnNumber2 ? ABS(gnNumber2-gnNumber1) && Displays 8
Date & Time functions foxpro
Foxpro provides a set of functions for handling date and time related operations.Here is a list of few of date and time functions provided by foxpro-
Useful general FoxPro commands and functions
Foxpro has a wide range of functions and commands Many were introduced in earlier versions of the language and have been carried through from FoxBase to Visual Foxpro.Belo is list of some of the more useful commands and functions.
commands Vs function:-
commands do something whereas functions just return a value to be displayed or used in another command.
Few general command used in Foxpro:-
CLEAR
Clears the screen
CLEAR MEMORY

Sign In





