home *** CD-ROM | disk | FTP | other *** search
- SW3HDR
- (EMG158AI(SV304A)]D
- Address!R
- Frameformat
- Zeichenformat
- Textformatvorlage
- Standard
- HP LaserJet 4V
- HP LaserJet 4V
- \\Home\qs_lj4v
- HPPCL5MS
- HP LaserJet 4V
- MSUDN
- HP LaserJet 4V
- SW3HDR
- Frameformat
- Zeichenformat
- Textformatvorlage
- Standard
- , 6'"
- Standard
- Standard
- 2,max,1702;1702;100;0;0;13875;8070;0
- Standard
- LIBIMBEDDED
- LIBIMBEDDED
- Kay Koll
- Kay Koll
- subexmpl
- SfxDocumentInfo
- Kay Koll
- Kay Koll
-
- subexmpl
-
-
-
- Info 0
-
- Info 1
-
- Info 2
-
- Info 3
-
- StarWriter 3.0
- StarWriter 3.0
- swriter3.StarWriterDocument.3
- SBX sb
- Standard
- StarBASIC
- SBX AR
- SBX AR
- SBX AR
- SBX bm
- Modul1
- StarBASICModule
- SBX AR
- SBX em
- Start
- SBX em
- WordCount
- WortText
- SBX AR
- SBX AR
- Modul1SC
- option explicit
- Sub Start
- dim text$
- text$ = inputbox("Bitte geben Sie einen Text ein", "Eingabeaufforderung")
- print "Dies Text enth
- lt";WordCount%(Text$);" Worte"
- End Sub
- '*** Funktion z
- hlt Leerzeichen in einem String, und
- '*** damit die Worte.
- function WordCount%(WortText$)
- dim z%, count%
- count%=1
- for z%=1 to len(WortText$)
- if mid$(WortText$,z%,1)=" " then
- count%=count%+1
- endif
- next z%
- WordCount%=count%+1 '+1, weil ein Leerzeichen=zwei Worte
- end function
-