That's of course true...
but I'd like to write quite huge application that can be completly
configurated by the config file.
When I say "completly" I mean that I want as well change some information
inside the app as which funcion should be run...
Unluckly I'm still learning the construcion of the configuration file and I
only now how to read from there only strings...
that's why I'm looking for a way to treat a string like a command to run and
the "case" construction isn't the best for me...
Mayby there's another way to do so using the configuration file... I'm still
working on it...
Hope I made myself clear...
Uzytkownik "Armin Zingler" <az*******@freenet.de> napisal w wiadomosci
news:OL**************@TK2MSFTNGP09.phx.gbl...
"zurg" <zu*****@wp.pl> schrieb Both of you gave me a helpful answear - thank you!
But I'd like it also to work like this:
Module Module1
Sub Main
Dim strCommand As String
strCommand = "Hello"
Run(strCommand)'or sth like this
End Sub
Sub Hello
Msgbox("Hello")
End Sub
End Module
and it should show "Hello" messagebox...
How to do so?
Where do you get the strings from? Which programming language is used for
these commands? Writing commands is actually a programmer's job. Commands
are parts of projects, and projects are compiled using the compiler, then
executed.
--
Armin
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html