Answer the question
In order to leave comments, you need to log in
How to get the name of a variable as a string?
Pascal, Delphi
Any variable is given as input to a function, how can I get its name as a string at the output?
Example: filed Var1, received string 'Var1' as output
function fGetNameVar(x:variant): string;
start
???
end;
Answer the question
In order to leave comments, you need to log in
Didn't understand the assignment. If you call a function in a program, eg
f(vasya) why don't you write
'vasya'
instead ?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question