GithubHelp home page GithubHelp logo

kimburgess / netlinx-common-libraries Goto Github PK

View Code? Open in Web Editor NEW
28.0 28.0 15.0 421 KB

Lightweight native libraries for augmenting the base functionality of the NetLinx language used for programming AMX NetLinx integrated controllers.

License: MIT License

NetLinx 100.00%

netlinx-common-libraries's Introduction

     Hello.

     You appear to have wandered into my corner of this digital bazaar.

     For those prepared to wander outside, you'll find a selection of other
     projects at https://simple.industries/tools.html.

     Enjoy your stay.

                                                                               ◢

netlinx-common-libraries's People

Contributors

beejjacobs avatar mattnathan avatar moty66 avatar psyencefact avatar tomhaskell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

netlinx-common-libraries's Issues

rename the function array_index() and create new two function

This is not an issue, but it is an enhancement
I suggest to rename or deprecate the function array_index() and rename it to array_dev_index()
and create new functions like:

define_function integer array_string_index(char item[], char list[][])
define_function integer array_integer_index(integer item, integer list[]);
define_function integer array_double_index(double item, double list[]);

I can send a pull request for this if no body is working/want to work on it

Regards
M. Abuthiab

string_get_between() return value when not found

I think it is a bad idea to return the string 'error ... ' when no string found. it has to return an empty string

example

stack_var char status1[5]
stack_var char status2[5]

status1 = 'status-error-endstatus';
status2 = 'hello, world!';

status1 = string_get_between(status1, 'status-', '-endstatus');
status2 = string_get_between(status2, 'status-', '-endstatus');

in this case status1 and status2 are both contain the string 'error' and this is wrong

solution: string_size_error() function has to return an empty string

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.