ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2025

Calling a procedure/a function
Syntax for calling a local or global procedure.
Declaring a procedure/a function
The different syntaxes for declaring a procedure...
Global procedure/function
A global procedure can be used in all the processes or events of the project.
Parameters of a procedure/function
You have the ability to pass parameters to a procedure.
Passing parameters
The parameters can be passed to a procedure...
Parameters of a procedure with a variable number of parameters
When the procedure uses a variable number of parameters, you must be able to handle the different parameters passed to the function in the code of the procedure.
Local procedure
Two types of procedures are available...
Typecasting of parameters
The description of the parameter type is optional...
Prototype overload/Overload
The procedures and the methods of classes can have several syntaxes.
FinCurrentVal (Function)
Returns the current value of investment.
IntegerToDate (Function)
Converts an integer into a date in YYYYMMDD format.
FinNetCurrentVal (Function)
Returns the net current value of investment.
DurationToString (Function)
Converts a duration to a character string in the specified format.
FinFutureVal (Function)
Returns the future value of an investment.
DateToWeekNumber (Function)
Returns the week number within the year that corresponds to the specified date.
FinRepayVal (Function)
Returns the amount of each regular payment for an investment with fixed interest rate and fixed...
IntegerToTime (Function)
Converts an integer into a time in HHMMSSCC format.
DateToMonthInAlpha (Function)
Returns the name of the month that corresponds to a specified date.
Abs (Function)
Returns the absolute value: of a numeric value, of a numeric expression (integer or real)....
DateToDayInAlpha (Function)
Returns the name of the day that corresponds to a specified date.
ArcCos (Function)
Returns the arc cosine of a numeric value (integer or real).
DateToDay (Function)
Returns the day that corresponds to a given date.
ArcSin (Function)
Returns the arc sine of a numeric value (integer or real).
DateToInteger (Function)
Converts a date to an integer.
ArcTan (Function)
Returns the arc tangent of a numeric value (integer or real).
DateToString (Function)
Converts: a date to a string in the specified format. a date time to a string...
Round (Function)
Returns the rounded value of a numeric value according to the specified number of decimal places.
DateValid (Function)
Checks the validity of a date between January 01 0001 and December 31 9999.
DateSys (Function)
Returns or modifies the system date (current date defined on the current computer).
Cos (Function)
Calculates the cosine of an angle.
DateTimeByDefault (Function)
Used to define the default value of Date, Time and DateTime variables.
CoTan (Function)
Calculates the cotangent of an angle.
DateTimeDifference (Function)
Calculates the difference between two dates and times.
IsOdd (Function)
Identifies an odd number.