Antwort schreiben...
 
Themen-Optionen Thema durchsuchen
Alt 13.10.2012, 13:18   #181
leecher
Moderator
MODES

E r g e b n i s / R e s u l t

Configures the screen configurations

B e s c h r e i b u n g / D e s c r i p t i o n

This Language call allows you to configure the screen configurations
found in the CONFIG.SCR file. This works very similiar to configuring
a printer from Utilities Configure Printer Parameters. This can be
called from anywhere, but should not be called from Utilites Configure
Miscellaneous Parameters Screen Configuration Window. (You will be
changing the CONFIG.SCR file and you may get real weird results).
A list of up to 16 configurations will appear
You can change, create a new or delete configurations
After you change or create a new configuration, you can change
the name of screen configuration.
There is room for 32 configurations but this program only supports
the first 16.
You can delete all but 1 of the configurations.

S y n t a x
Code:
call("modes")
P a r a m e t e r

R e t u r n s

B e i s p i e l / E x a m p l e
Code:
attach "modes"
call("modes")
detach "modes"
Angehängte Dateien
Dateityp: oac MODES.OAC‎ (23.0 KB, 3x aufgerufen)
Dateityp: zip modes.zip‎ (22.5 KB, 3x aufgerufen)
leecher ist offline   Mit Zitat antworten
Alt 13.10.2012, 15:02   #182
leecher
Moderator
ABS

The same as the ABS function in TOOLS.OAC.
Angehängte Dateien
Dateityp: oac dbfunc.oac‎ (15.5 KB, 3x aufgerufen)
Dateityp: zip dbfunc.zip‎ (16.7 KB, 3x aufgerufen)
leecher ist offline   Mit Zitat antworten
Alt 13.10.2012, 15:05   #183
leecher
Moderator
EXP

E r g e b n i s / R e s u l t
Calculate the exponential of a real

B e s c h r e i b u n g / D e s c r i p t i o n
This function calculates the exponential of a real

S y n t a x
Code:
result = call('exp', value)
P a r a m e t e r
value - is any real value.

R e t u r n s
Returns a number of the same type as that passed to it.

B e i s p i e l / E x a m p l e
Code:
attach 'dbfunc'
put call ('exp' , 5.0)
detach 'dbfunc'
leecher ist offline   Mit Zitat antworten
Alt 13.10.2012, 15:06   #184
leecher
Moderator
TRUNC

E r g e b n i s / R e s u l t
Truncates the decimal part of a real (returns a real)

B e s c h r e i b u n g / D e s c r i p t i o n
This function Truncates the decimal part of a real

S y n t a x
Code:
result = call('trunc', value)
P a r a m e t e r
value - is any real value.

R e t u r n s
Returns a number of type real.

B e i s p i e l / E x a m p l e
Code:
attach 'dbfunc'
result = call('trunc',-5.77)
detach 'dbfunc'
leecher ist offline   Mit Zitat antworten
Alt 13.10.2012, 15:07   #185
leecher
Moderator
INTEGER

E r g e b n i s / R e s u l t
Truncates the decimal part of a real (returns an integer)

B e s c h r e i b u n g / D e s c r i p t i o n
This function truncates the decimal part of a real

S y n t a x
Code:
result = call('integer', value)
P a r a m e t e r
value - is any real value.

R e t u r n s
Returns a number of type integer.

B e i s p i e l / E x a m p l e
Code:
attach 'dbfunc'
intresult = call('integer',-5.77)
detach 'dbfunc'
leecher ist offline   Mit Zitat antworten
Alt 13.10.2012, 15:08   #186
leecher
Moderator
LN

E r g e b n i s / R e s u l t
Calculates the natural log of a real

B e s c h r e i b u n g / D e s c r i p t i o n
This function calculates the natural log of a real

S y n t a x
Code:
result = call('ln', value)
P a r a m e t e r
value - is any real value.

R e t u r n s
Returns a number of type real..

B e i s p i e l / E x a m p l e
Code:
attach 'dbfunc'
result = call('ln',5.0)
detach 'dbfunc'
leecher ist offline   Mit Zitat antworten
Alt 13.10.2012, 15:09   #187
leecher
Moderator
PWR

Same as PWR from PWR.OAC
leecher ist offline   Mit Zitat antworten
Alt 13.10.2012, 15:12   #188
leecher
Moderator
ROUND

Same as ROUND from TOOLS.OAC
leecher ist offline   Mit Zitat antworten
Alt 13.10.2012, 15:13   #189
leecher
Moderator
SQRT

E r g e b n i s / R e s u l t
Calculates the square root of a real

B e s c h r e i b u n g / D e s c r i p t i o n
This function calculates the square root of a real

S y n t a x
Code:
result = call('sqrt', value)
P a r a m e t e r
value - is any real value.

R e t u r n s
Returns a number of type real..

B e i s p i e l / E x a m p l e
Code:
attach 'dbfunc'
result = call('pwr',call('sqrt',4.0),3.00) 
detach 'dbfunc'
leecher ist offline   Mit Zitat antworten
Alt 13.10.2012, 15:41   #190
leecher
Moderator
ASC

ASC from TOOLS.OAC does the same as ASC from ASC.OAC
leecher ist offline   Mit Zitat antworten


Antwort schreiben...

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche