[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Is there a way to tell if a class symbol is a variable, method etc
[Thread Prev] | [Thread Next]
- Subject: Is there a way to tell if a class symbol is a variable, method etc
- From: Brian G <brian@xxxxxxxxxxxxxxxx>
- Date: Sun, 11 Oct 2026 14:48:13 -0700
- To: "user >> Gambas Users" <user@xxxxxxxxxxxxxxxxxxxxxx>
I can get a list of symbols from a class, but is there a way to find out if they are methods etc.
There appears to be ways to call and get the value and find out if a symbol exists, but is there a way to find out what type of symbol it is?
For instance, using in a _read or _write class function to know which symbols to save or load on write or read of the object.
right now you do a getproperty on every symbol but sometimes it does not return an error on a method... or constant etc.
-- ~~~~ Brian
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature
| Re: Is there a way to tell if a class symbol is a variable, method etc | Bruce Steers <bsteers4@xxxxxxxxx> |