Not sure how to send variable which is type of integer.

Post questions here regarding the CodeSite Express edition

Not sure how to send variable which is type of integer.

Postby clementyap » Thu May 21, 2015 10:53 pm

I know how to send string like;
CodeSite.Send('This is string variable - ', name);

But Integer variable?
CodeSite.Send('This is integer variable - ', serial Number);

Please advise
Clement
clementyap
 
Posts: 7
Joined:
Fri May 08, 2015 1:59 am

Re: Not sure how to send variable which is type of integer.

Postby Raize Support » Thu May 21, 2015 11:49 pm

Hi Clement,

The Send method is overloaded to handle many different variable types. Consider the following code:

procedure TForm1.Button1Click( Sender: TObject );
var
N: Integer;
begin
N := 24;
CodeSite.Send( 'N', N );
end;

The CodeSite.Send method above will result in 'N = 24' showing up in the CodeSite Live Viewer.

Ray
Raize Software Support
Raize Software
http://www.raize.com
Raize Support
 
Posts: 611
Joined:
Fri Mar 25, 2011 9:04 pm

Re: Not sure how to send variable which is type of integer.

Postby clementyap » Fri May 22, 2015 12:54 am

"Send method is overloaded to handle many different variable types...." I see.

Thanks.

It worked.
Clement
clementyap
 
Posts: 7
Joined:
Fri May 08, 2015 1:59 am


Return to Express Edition

Who is online

Users browsing this forum: No registered users and 2 guests

cron