ristoi General User


Joined: 25 Aug 2009 Posts: 24 Location: Järvenpää
|
Posted: Wed Jul 07, 2010 10:49 am Post subject: Main routine for example use of Titta and sAnna |
|
|
Here is main routine which is for testing of sAnna and Titta routines. If user changes document default language or default locale setting from Options (s)he can see different format in examples. Changes in optional arguments made more changes in appearance.
Hope this can help somebody somehow. Kind comments are welcome.
Regards
Risto
| Code: |
REM ***** BASIC *****
Sub Main
REM Titta- ja sAnna-rutiinien esittelyä
DIM oAsiak as Object
DIM dLuku as Double
DIM sVast as String
dLuku = 72345.678
oAsiak = thisComponent
Titta oAsiak.URL, "Kopioi vaikka polku"
sVast = sAnna(oAsiak.URL, "Koko osoite")
Titta dLuku
sVast = sAnna(dLuku, "dLuku", "science")
sVast = sAnna(sVast, "" , "valuutta")
End Sub
|
|
|