LCDInfo.com
http://forum.lcdinfo.com/

Plugin syntax??
http://forum.lcdinfo.com/viewtopic.php?f=13&t=1156
Page 1 of 1

Author:  tmsound [ Sun Apr 10, 2005 20:52 ]
Post subject:  Plugin syntax??

Does any body know what type is in the syntax for a plugin???


Morten Bækgaard

Author:  Henri [ Tue Apr 12, 2005 21:04 ]
Post subject: 

You mean the type field in log.txt ?

With values 0, 1, 2

0 is text string
1 is integer number
2 is floating point number

Author:  tmsound [ Tue Apr 12, 2005 21:37 ]
Post subject: 

yes that it, but could u plz give me an example for that...

Author:  Henri [ Thu Apr 21, 2005 19:25 ]
Post subject: 

I'm not really sure what kind example you would like to see.

If you're just printing them to the screen the type doesn't matter. But for some other things like using them as parameters for other plugins or bargraphs for example they need to be some numerical value like integer or floating point number as calculations can't be done with text strings.

Page 1 of 1 All times are UTC + 2 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/