NXC Code library - would it work?
Posted: 28 Mar 2011, 15:34
I have started this because the discussion in the 'Visual NXC' forum was getting well off-topic.
Because there are so many ways to do things within NXC, I suggested that a repository of short programs, subroutines or even code segments be created. The idea is that those of us who are neither trained programmers or experts in NXC can find a simple solution for common subjects such as using the sensors, opening a file (which might already exist), etc. I see these as 'NXC myblocks' which people can drop into their programs or just peruse to get ideas.
I'm sure this will not be universally acclaimed but thought I would raise the subject anyway.
To start, I have created an example of how contributions to such a library might be set out.
Puts on hard hat and takes cover .......
Because there are so many ways to do things within NXC, I suggested that a repository of short programs, subroutines or even code segments be created. The idea is that those of us who are neither trained programmers or experts in NXC can find a simple solution for common subjects such as using the sensors, opening a file (which might already exist), etc. I see these as 'NXC myblocks' which people can drop into their programs or just peruse to get ideas.
I'm sure this will not be universally acclaimed but thought I would raise the subject anyway.
To start, I have created an example of how contributions to such a library might be set out.
Puts on hard hat and takes cover .......