Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Wolfgang Riedmann" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: Is it possible to get the signature of method in VO through reflection? Date: Thu, 1 Oct 2020 17:28:50 +0200 Lines: 34 Message-ID: References: <0d394226-f399-40ea-80fa-3cb4d53c86cfn@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: individual.net y0BMSTC8ILrFaZIiMF+tGgQHZGC4T+n7BVcunpv/qlhjpehCw= Cancel-Lock: sha1:xABOlMGGLD+0e6VcRpFTPZvCC0c= User-Agent: XanaNews/1.18.1.6 Xref: csiph.com comp.lang.clipper.visual-objects:13092 Hi Jafar, many years ago I have seen something like that in a session about adding a method to a class at runtime. But is was a very difficult thing, dealing with structures and pointers and concatenated lists - and it was entirely undocumented code. Unfortunately i don't remember who was the speaker and where you can retrieve that material. Wolfgang Jafar wrote: > I know its possible in VO to get the list of methods for a specific > class (MethodListClass) or wether a method exists (IsMethod), but is > there also a method/function to get the signature of a specific > method? > > For example lets say I have the following method: > > METHOD SetValue(key AS USUAL, valueToSet AS STRING) AS VOID STRICT > CLASS Dictionary // some code > RETURN > > Is then there is any way if I can get some kind of array like this or > something similar where I can get the signature?: {{"Key", "USUAL"}, > {"valueToSet", "STRING"}} --