ghostman11
Well-Known Member
I'm really hesitant to jump into this one. Yes, I am a brain-damaged Basic programmer. That said, there is nothing I have set out to do using Swordfish that I haven't accomplished.
Sure, the free DEMONSTRATION version of Swordfish has some extremely generous restrictions on code size. So generous in fact that many users never come up against the barrier and don't even know that it's there. Good for them, not so good for the developer who is trying to make a living from selling it.
I will not get into a debate about C vs. Basic. C is definitely more portable; in my case at least Basic lets me rapidly accomplish the things I desire to do.
But let's step back to the issue at hand. The discussion is wether C would overcome the limitations of Swordfish Basic for MrDEB. I'm going to be brutally blunt here – apologies to any hurt feelings along the way. MrDEB's problems don't stem from any limitations of the language he's using. The limitations start from a lack of basic understanding of the language syntax, a lack of logical understanding of what commands do and a lack of a logical understanding of program flow. Changing from Basic to C, Forth or any other language doesn't change the need to understand these things. 5000 posts between here and Digital-DIY will lend some credence to these thoughts.
Where i disagree with you is regarding Mr deb, As LG first pointed out, for mr Deb the best way forward would have been 5 independent software pwm arrays, or a multi dimensional array (i cant remember what he said), apparently as i understand it you advised that swordfish didnt have that particular capability.
Now you have to remember there is a huge difference between yourself and your capabilities, and those of both LG and mr Deb. I am sure in your capable hands you can get swordfish to do pretty much anything, in the same way Nigel and code a couple of dozen lines with his eyes shut, and get the same thing.
Look on the swordfish forum, for a long time there was chaos because the developer just gave up and went off to do other things for well over a year! my personal view is for a beginner your better off learning a language with good support and back up, because if the dev guy goes missing or gives up, you have learn t a language that will eventually no longer support any new chips! that one fact alone would lead me to discourage beginners to go anywhere near swordfish.
my suggestion for C was based on C18 or Keil C, both are good compilers, both have large company support, in the case of C18 or its variants, you can be sure new chips will be quickly supported. and the free versions only lack some code optimizations, for most that will never mater, if it does then you can get a full version free for 90 days!
add it up, it makes no sense to go the swordfish route if you are new to this stuff.