🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.vbasic
Article #104292

Wywołanie funkcji - nazwa jako String

#104292
From: InDesign Scripts
Date: Thu, 10 Sep 2009 19:57
13 lines
1193 bytes
witam

czy jest możliwe wywołanie funkcji/procedury - mając jej nazwę zapisaną w zmiennej tekstowej ?

czyli:

 Dim NazwaFunkcji as String
 NazwaFunkcji = "Procedura_1"
 ' tutaj wywołanie Procedura_1()

dobrze by było, żeby można było przekazywać parametry ;) ale to już extra dodatek ;)

robin
Technical Details
Message-ID: <h8blo2$a17$1@inews.gazeta.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
From: InDesign Scripts <indesignscripts@gazeta.pl>
Newsgroups: pl.comp.lang.vbasic
Subject: Wywołanie funkcji - nazwa jako String
Date: Thu, 10 Sep 2009 20:57:46 +0100
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 13
Message-ID: <h8blo2$a17$1@inews.gazeta.pl>
NNTP-Posting-Host: host86-158-163-223.range86-158.btcentralplus.com
Mime-Version: 1.0
X-Trace: inews.gazeta.pl 1252612674 10279 86.158.163.223 (10 Sep 2009 19:57:54 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Thu, 10 Sep 2009 19:57:54 +0000 (UTC)
X-User: indesignscripts
X-Antivirus: avast! (VPS 090910-0, 2009-09-10), Outbound message
X-Antivirus-Status: Clean
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit