logo Welcome, Guest. Please Login or Register.
November 19, 2017, 06:59:51 AM
Home Help Search Login Register
 News: Self-Registration temporarily suspended due to abuse.To Register as a member, please email to webmaster@triplc.com with your email and username.

  Internet PLC Forum
  General
  Opinions & Feedback

  Custom Libraries
? previous next ?
Pages: [1] Go Down Reply Notify of replies Send the topic Print
   Author  Topic: Custom Libraries  (Read 1242 times)
davidg
Newbie
*

Posts: 11





View Profile WWW E-Mail
Custom Libraries
« on: November 03, 2015, 06:09:37 PM »
Reply with quote

It would be a really neat feature if you were able to allow users to make custom libraries for other people to implement in their applications.

I use the term libraries in reference to how the Arduino IDE sets up there code.  It is also used in many different areas of programming as well (jQuery, Prototype, ect)

Example:

I make an email library.  Another user who wants to use this library may download it into a library folder on their computer.  They can then slect to include this library through the iTrilogy interface.  Then they use use custom keywords such as "SendEmail,  "Sub: Hi", "Message: This is an email".  Etc.

The library would then take the information and send an email just like the PLC normally does but it would not clutter up a users code and keep everything simpler.

The Library would essentially just be an embedded or hidden function (Like your other TBASIC Keywords).  But it would keep the code and functions cleaner and easier.  It would encourage user generated data.

I am always having to go back to old programs and copy and paste long lines of code.  If I could make and use my own libraries it would be simpler, plus user would be motivated to share their libraries with others and create a list of simplified functions.

Sorry for the rambling.  Hopefully this makes sense what I am trying to say.
Report to moderator   Logged
Pages: [1] Go Up Reply Notify of replies Send the topic Print 
? previous next ?
Jump to: 


Login with username, password and session length

Powered by MySQL Powered by PHP Internet PLC Forum | Powered by YaBB SE
© 2001-2004, YaBB SE Dev Team. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!