Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

How to sum variables

General discussion about LCD Smartie.

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo, Fast351

Post Reply
warlock2511
Posts: 9
Joined: August 18th, 2010, 10:38 am

How to sum variables

Post by warlock2511 »

Hi Guys,
how can I sum variables like $NetSpDownM(1) + $NetSpDownM(2)??
I need to display the sum of the two variables: So i want the sum of to variables to be shown on the display
Can somebody plese help me?

limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Re: How to sum variables

Post by limbo »

Use math plugin or demo plugin

$dll(math,1,$NetSpDownM(1),$NetSpDownM(2))

warlock2511
Posts: 9
Joined: August 18th, 2010, 10:38 am

Re: How to sum variables

Post by warlock2511 »

Too many Parameters :(

With both plugins:
$dll(demo.dll,1,$NetDownG(5),192)
$dll(math,1,$NetSpDownM(1),$NetSpDownM(2))

Both too many parameters :(

warlock2511
Posts: 9
Joined: August 18th, 2010, 10:38 am

Re: How to sum variables

Post by warlock2511 »

Is there nobody who can help me `?

limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Re: How to sum variables

Post by limbo »

try this one:
$dll(math,1,$dll(math,8,$NetSpDownM(1)),$dll(math,8,$NetSpDownM(2)))

Post Reply