Home » Developer & Programmer » Forms » How to print the value of a variable..
How to print the value of a variable.. [message #217362] Thu, 01 February 2007 18:36 Go to next message
selim
Messages: 10
Registered: January 2007
Junior Member
Hi All,
I need to write out the value of variables.. What is the shortest way to print the value fo a variable in the program, like system.out.prinln("var"); in java..

The other thing is that I need to read the value of a text item which belongs to block1;
'block1.textitemname' is enough to return the value entered in the text item??
Thanks in advance..
Re: How to print the value of a variable.. [message #217381 is a reply to message #217362] Thu, 01 February 2007 23:23 Go to previous messageGo to next message
Littlefoot
Messages: 21823
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
MESSAGE('Variable value is ' || variable_name);
could be one solution.

As of your second question: why don't you try it? The way I understood it, yes, it should be enough:
variable_name := :block_name.item_name;
Re: How to print the value of a variable.. [message #217405 is a reply to message #217381] Fri, 02 February 2007 01:25 Go to previous message
selim
Messages: 10
Registered: January 2007
Junior Member
Hi,
Thanks,
I was not sure, not I print the messages, It seems It is working.
Regards..
Previous Topic: Form Query output to Excel ?
Next Topic: MOUSE POINTER STYLE
Goto Forum:
  


Current Time: Sat Feb 08 18:56:39 CST 2025