Antwort schreiben...
 
Themen-Optionen Thema durchsuchen
Alt 06.06.2007, 09:11   #21
RKabis
Registrierter Benutzer
Beschreibung vorhanden OSA DRAWD und DRAWS

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

Pfeiltasten bekommen eine Linien-Funktion

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

Bei einer freien Funktionstaste (z.B. F5) \Cdrawd\! eintragen
Schirmmaske öffnen
Mit UMSCH+F5 Funktion aufrufen
Wenn jetzt die Pfeiltalsten bewegt werden gibt es automatisch Linien.

Wird ein Quadrat oder Rechteck gefahren enstehen ebenfalls automatisch die Ecken bzw. bei durchkreuzen der Linien die "Kreuze".

R e t u r n s

doppelte Linien

Q u e r v e r w e i s / R e f e r e n c e

DRAWS
Angehängte Dateien
Dateityp: oac DRAWD.OAC‎ (14.0 KB, 7x aufgerufen)
RKabis ist offline   Mit Zitat antworten
Alt 06.06.2007, 09:14   #22
RKabis
Registrierter Benutzer
Beschreibung vorhanden DRAWS

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

Pfeiltasten bekommen eine Linien-Funktion

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

Bei einer freien Funktionstaste (z.B. F5) \Cdraws\! eintragen
Schirmmaske öffnen
Mit UMSCH+F5 Funktion aufrufen
Wenn jetzt die Pfeiltalsten bewegt werden gibt es automatisch Linien.

Wird ein Quadrat oder Rechteck gefahren enstehen ebenfalls automatisch die Ecken bzw. bei durchkreuzen der Linien die "Kreuze".

R e t u r n s

einfache Linien

Q u e r v e r w e i s / R e f e r e n c e

DRAWD
Miniaturansicht angehängter Grafiken
Klicken Sie auf die Grafik für eine größere Ansicht

Name:	capture_06062007_102110.jpg‎
Hits:	8
Größe:	114.1 KB
ID:	95   Klicken Sie auf die Grafik für eine größere Ansicht

Name:	capture_06062007_102125.jpg‎
Hits:	4
Größe:	93.0 KB
ID:	96   Klicken Sie auf die Grafik für eine größere Ansicht

Name:	capture_06062007_102205.jpg‎
Hits:	5
Größe:	46.2 KB
ID:	97  

Angehängte Dateien
Dateityp: oac DRAWS.OAC‎ (14.0 KB, 3x aufgerufen)
RKabis ist offline   Mit Zitat antworten
Alt 06.06.2007, 09:32   #23
RKabis
Registrierter Benutzer
Beschreibung vorhanden OSA LCASE und andere "STRING"-Funktionen

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

Wandelt einen String in Kleinbuchstaben um.
Converts a string to lowercase letters

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 returns a string where all uppercase letters have been
converted to lowercase.
This function compliments the Open Access UCASE Programmer function.

S y n t a x

Code:
answer = call ('LCASE' , string)
P a r a m e t e r

string - is any string or constant

R e t u r n s

Returns a string variable of the same length as the string passed to i

B e i s p i e l / E x a m p l e

Code:
attach 'STRING'
put call ('LCASE' , 'Test String') ! prints test string
a = 'AA Aerospace'
b = call ('LCASE' , a) ! b contains 'aa aerospace'
detach 'STRING'
Q u e r v e r w e i s / R e f e r e n c e

UCASE
PROPER
Angehängte Dateien
Dateityp: oac STRING.OAC‎ (15.5 KB, 5x aufgerufen)
RKabis ist offline   Mit Zitat antworten
Alt 06.06.2007, 09:34   #24
RKabis
Registrierter Benutzer
Beschreibung vorhanden LEFT

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

Liefert die meist ausgelassenen n Charakter aus einem String
Returns the left-most n characters of a string

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 returns a string composed of the left-most characters of
a string passed to it. The user tells the function how many characters
to return.

S y n t a x

Code:
answer = call ('LEFT' , string , value)
P a r a m e t e r

string - is any string or constant
value - is an integer, specifying the length of the string returned.
If the value is larger than the length of the string then the entire
string is returned. If the value is less than 0 then a zero length string
is returned.

R e t u r n s

Returns a string variable of the length passed to the function.

B e i s p i e l / E x a m p l e

Code:
attach 'string'
put call ('LEFT' , 'Test String' , 4) ! prints Test
a = 'AA Aerospace'
b = call ('LEFT' , a , 1) ! b contains 'A'
detach 'string'
Q u e r v e r w e i s / R e f e r e n c e

RIGHT
MID
FORENAME
RKabis ist offline   Mit Zitat antworten
Alt 06.06.2007, 09:35   #25
RKabis
Registrierter Benutzer
Beschreibung vorhanden MID

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

Liefert einen Unterstring von einem anderen String
Returns a sub-string of another string

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 returns a string of a given length from another string,
starting at a given position. The user tells the function how many
characters to return and where to start.
This function works in the same manner as the Programmer statement
EXTRACT. It is provided for users of Database Screen and Print forms.

S y n t a x

Code:
answer = call ('MID' , string , starting_position , length)
P a r a m e t e r

string - is any string or constant
starting_pos - is an integer, specifying the starting point that the
sub-string starts.
length - is an integer, specifying the length of the string
returned.
If starting_pos is less than 0 then it is set to the start of the string.
If starting_pos is larger than the string, then it is set to the end of
the string.
If length is larger than the length of the string then the entire string
is returned from the starting point. If length is less than 0 then a
zero length string is returned.

R e t u r n s

Returns a string variable of the length passed to the function.

B e i s p i e l / E x a m p l e

Code:
attach 'string'
put call ('MID' , 'Test String' , 6 , 3) ! prints Str
a = 'AA Aerospace'
b = call ('MID' , a , 4 , 4) ! b contains 'Aero'
detach 'string'
Q u e r v e r w e i s / R e f e r e n c e

RIGHT
LEFT
INITIALS
RKabis ist offline   Mit Zitat antworten
Alt 06.06.2007, 09:37   #26
RKabis
Registrierter Benutzer
Beschreibung vorhanden PROPER

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

Setzt einen String in on Groß- in Groß-Kleinschreibung um

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 returns a string where letters starting a word have been
converted to uppercase, while the other letters in the word are
converted to lowercase.
This function replaces the two Open Access programs previously required
to convert the string.

S y n t a x

Code:
answer = call ('PROPER' , string)
P a r a m e t e r

string - is any string or constant

R e t u r n s

Returns a string variable of the same length as the string passed to i

B e i s p i e l / E x a m p l e

Code:
attach 'string'
put call ('PROPER' , 'TEST STRING') ! prints Test String
a = '27 HIGH STREET, MIDTOWN'
b = call ('PROPER' , a) ! b contains '27 High Street, Midtown'
detach 'string'
Q u e r v e r w e i s / R e f e r e n c e

LCASE
UCASE
RKabis ist offline   Mit Zitat antworten
Alt 06.06.2007, 19:05   #27
RKabis
Registrierter Benutzer
Beschreibung vorhanden RIGHT

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

Gibt die am weitesten rechts stehenden n Buchstaben einer Zeichenkette wieder.
Returns the right-most n characters of a string

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 returns a string composed of the right-most characters of
a string passed to it. The user tells the function how many characters
to return.

S y n t a x

Code:
answer = call ('RIGHT' , string , length)
P a r a m e t e r

string - is any string or constant
length - is an integer, specifying the length of the string returned.
If length is larger than the length of the string then the entire
string is returned. If length is less than 0 then a zero length
string is returned.

R e t u r n s

Returns a string variable of the length passed to the function.

B e i s p i e l / E x a m p l e

Code:
attach 'string'
put call ('RIGHT' , 'Test String' , 6) ! prints String
a = 'AA Aerospace'
b = call ('RIGHT' , a , 4) ! b contains 'pace'
detach 'string'
Q u e r v e r w e i s / R e f e r e n c e

LEFT
MID
SURNAME
RKabis ist offline   Mit Zitat antworten
Alt 06.06.2007, 19:07   #28
RKabis
Registrierter Benutzer
Beschreibung vorhanden SUBSTR

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

Liefert einen Unterstring von einem anderen String einer Position.
Returns a substring of another string from a position

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 returns a string composed of the rest of another string
from a position passed to it. The user tells the function at what
point to start the copy from.
SUBSTR simplifies one of the most common uses of EXTRACT. Just the
starting position is required, the user does not have to know how long
the string is.

S y n t a x

Code:
answer = call ('SUBSTR' , string , value)
P a r a m e t e r
string - is any string or constant
value - is an integer, specifying the position the copy starts from.
If value is less than 1, then the entire string is returned. If value is
greater than the length of the string, then the last character is
returned.
R e t u r n s

Returns a string variable.

B e i s p i e l / E x a m p l e

Code:
attach 'string'
put call ('SUBSTR' , 'Test String' , 6) ! prints String
a = 'AA Aerospace'
b = call ('SUBSTR' , a , 9) ! b contains 'pace'
detach 'string'
Q u e r v e r w e i s / R e f e r e n c e

MID
RKabis ist offline   Mit Zitat antworten
Alt 06.06.2007, 19:10   #29
RKabis
Registrierter Benutzer
Beschreibung vorhanden OSA SURNAME

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

Liefert das letzte Wort (Nachname) von einem String.
Returns the last word (surname) of a string

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 returns a string composed of the last word (effectively
the surname) of a string passed to it.

S y n t a x

Code:
answer = call ('SURNAME' , string)
P a r a m e t e r

string - is any string or constant

R e t u r n s

Returns a string variable, the length set to that of the last word.

B e i s p i e l / E x a m p l e

Code:
attach 'string'
put call ('SURNAME' , 'Test String' ) ! prints String
a = 'Theo P Wildebeest'
b = call ('SURNAME' , a) ! b contains 'Wildebeest'
detach 'string'
Q u e r v e r w e i s / R e f e r e n c e

FORENAME
INITIALS
RIGHT
Angehängte Dateien
Dateityp: oac STRING.OAC‎ (15.5 KB, 3x aufgerufen)
RKabis ist offline   Mit Zitat antworten
Alt 06.06.2007, 19:12   #30
RKabis
Registrierter Benutzer
Beschreibung vorhanden TRIM

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

Löscht führende und abschließende Leerstellen aus einem String.
Remove leading and trailing blanks from a string

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 returns a string where all leading or trailing spaces
have been removed.
This function is identical to the Open Access TRIM Programmer function.
It has been provided for users of the Database Screen and Print forms.

S y n t a x

Code:
answer = call ('TRIM' , string)
P a r a m e t e r

string - is any string or constant

R e t u r n s

Returns a string variable.

B e i s p i e l / E x a m p l e

Code:
attach 'string'
put call ('TRIM' , ' Test String') ! prints Test String
a = ' AA Aerospace '
b = call ('TRIM' , a) ! b contains 'AA Aerospace'
detach 'string'
Q u e r v e r w e i s / R e f e r e n c e
RKabis ist offline   Mit Zitat antworten


Antwort schreiben...

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche