![]() |
Usage: f%=FIND(a$)
Warning: this language keyword is deprecated; its functionality has been replaced by DbFind&: in SysRam1.opx.
Usage: f%=FINDFIELD(a$,start%,no%,flags%)
Warning: this language keyword is deprecated; its functionality has been replaced by DbFindField&: in SysRam1.opx.
Usage: FIRST
Positions to the first record in the current view.
Usage: f$=FIX$(x,y%,z%)
Returns a string representation of the number x, to y% decimal places. The string will be up to z% characters long.
Example: FIX$(123.456,2,7) returns "123.46".
See also GEN$, NUM$, SCI$.
Usage: FLAGS flags%
Used within an APP…ENDA construct to provide the OPL applications system flags. Possible values for flags% are:
|
1 |
This application can create files. It will be included in the list of applications offered when the user creates a new file from the System screen. |
|
|
2 |
This application does not appear on the Extras bar. It is very unusual to have this flag set. |
These constants can be added together to combine their effects. They are supplied in Const.oph.
FLAGS may only be used within the APP…ENDA construct.
See also APP and OPL applications.
Usage: f=FLT(x&)
Converts an integer expression (either integer or long integer) into a floating-point number. Example:
PROC gamma:(v)
LOCAL c
c=3E8
RETURN 1/SQR(1-(v*v)/(c*c))
ENDP
You could call this procedure like this: gamma:(FLT(a%)) if you wanted to pass it the value of an integer variable without having first to assign the integer value to a floating-point variable.
See also INT and INTF.
Usage: FONT id&,style%
Sets the text window font and style. The standard font IDs are:
|
268435951 |
268435962 |
||
|
268435952 |
268435963 |
||
|
268435953 |
268435964 |
||
|
268435954 |
268435965 |
||
|
268435955 |
268435966 |
||
|
268435956 |
268435967 |
||
|
268435957 |
268435968 |
||
|
268435958 |
268435969 |
||
|
268435959 |
268435970 |
||
|
268435960 |
268435971 |
||
|
268435961 |
268435972 |
||
|
268435493 |
268436062 |
||
|
268435494 |
268436063 |
||
|
268435495 |
268436064 |
||
|
268435497 |
268436065 |
||
|
268435498 |
268436066 |
||
|
268435499 |
268436067 |
||
|
268435500 |
268436068 |
||
|
268435501 |
268436069 |
||
|
268435502 |
268436070 |
||
|
268435503 |
268436071 |
||
|
268435504 |
268436072 |
||
|
268435661 |
|
|
|
|
268435701 |
|
|
|
|
268435752 |
|
|
Standard font styles are:
|
0 |
Normal style. |
|
|
1 |
Bold. |
|
|
2 |
Underline. |
|
|
4 |
Inverse video. |
|
|
8 |
Double height. |
|
|
16 |
Mono-spaced (typewriter) font. |
|
|
32 |
Italic. |
All these constants are provided in Const.oph.
See The text and graphics windows for more details.
Usage: FREEALLOC pcell&
Frees a previously allocated cell at pcell&.
See also SETFLAGS if you require the 64K limit to be enforced. If the flag is set to restrict the limit, pcell& is guaranteed to fit into a short integer.
|
|