RE: Live Tutorial
- Posted by Lynn Kilroy <leks_transportation at hotmail.com> Jan 22, 2006
- 452 views
don cole wrote: > > One more thing the code that Jason Gade sent you, input() will handle > long > strings like Qbasic's INPUT whare as my code only handles one chr at a > time. > I don't like BASIC's Input, which is why I wrote all mine own custom input routines in the first place. {Giggles} Nor did I like BASIC's PRINT statement in it's plain-Jane incarnation, so I customized that as well. {Laughs} The resulting cusomizations only output - and printed - strings. So all the data that users input were strings and all that was printed on the screen was strings. The subroutines were customized for various applications, and specialized for Database Apps - something I seem to be rather good at. {Blushing} So anything that allowed just any old data to be input wasn't good enough. And INPUT was worse because it had the Redo from start error which could really mess up a nicely formatted computer screen. Not to mention it's permissiveness with the arrow keys and stuff. What I'm endeavoring to do now is to understand Euphoria enough to compose my own input routines. The code snippets I have seen {outside yours, of course, which are still very confusing to me} have all shown a little bit of how to do this, but my first endeavors have pretty consistently failed {Points to Error Report}. I *can* see where you're trying to take it, however, and you are just as clumsy as I am at tutoring. This isn't a bad thing, really. You are quite skilled and very much love the language, and it shows. It's just like me, you expect a person to understand much more then they often do, and so, like me, you often go over the heads of others. I've said things that were perfectly clear to me and watched people's faces screw up in intense concentration as they tried to understand what I just said. It's all rather embarassing, really. To make affairs more confusing, traditional teaching methods and documentations tend to be useless to me. I learned BASIC from what was essentially a BASIC dictionary. I'm learning HTML essentially the same way {See www.html-reference.com}. As far as I can tell, there is no Euphoria Dictionary anywhere. Even if there was one, with the way you talk about fixing standardized include files, I doubt it could ever really be complete. So no one ever completely understands Euphoria, just as no one ever completely understands C, and there's no way to actually compose a complete and thorough dictionary on Euphoria, and no one's going to take the time to create such a dictionary for each include file they write or rewrite. So, my usual method is SOL. Hence, I am stuck spamming you with questions on even the most basic things because there's no Error Dictionary, and no Dictionary pointing out things that I may be doing wrong, and no Dictionary on Euphoria that I can readily find. Even EE doesn't come with this kind of thing. It has some kind of manual that it opens for editing. Immense help to someone like me, that, when http://www.html-reference.com/ has taught me so much about html in less than a week's time. > I would also point out that a string always = sequence but a sequence > does not always = a string.(Again see Gay's tutorial) > This makes perfect sense. A sequence could be a simple array of numbers, and this is apparently how the program is choosing to handle my "string" when I try to send it to the subroutine for printing. > > I know this might be a bit much but I hope it helps. > I like your idea of sticking with Dos for now. > That what I did when I first started w/Euphoria. > {Smiles} Staying with DOS is just easier and makes it closer to QBasic for the time being. I've no need to make things any more complicated than they need to be right now. I think you're a great person. I will look over your code in detail later. I rather enjoy people who like to talk over my head. The challenge for me is to get up the knowledge where we can actually understand each other. I usually feel very good about myself when I've accomplished that. Love & Friendship & Blessed Be! Lynn Erika Kilroy