OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Main routine for example use of Titta and sAnna

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Code Snippets
View previous topic :: View next topic  
Author Message
ristoi
General User
General User


Joined: 25 Aug 2009
Posts: 26
Location: Järvenpää

PostPosted: Wed Jul 07, 2010 10:49 am    Post subject: Main routine for example use of Titta and sAnna Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Code Snippets All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group