Jump to content
Neron

geting variable name in debug window

Recommended Posts

Helo!

 

i got a problem

 

im creating script who will create another script.

 

like:

 

var a,something: integer;

begin

a := 1;

something := 2*a;

 

writeln('something := ' + inttostr(something) + ';');

end.

 

i want create procedure writelnVar(var x:integer);

 

 

how i get name of variable into string? not value, name.

thanx.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
  • Create New...