Jump to content

danwinslow

Members
  • Posts

    3,034
  • Joined

  • Last visited

Posts posted by danwinslow

  1. Nobody is using your stuff. That is your actual problem. You are providing something that no-one needs. All of your utilities help with things that aren't actually problems.  Everything you handle is either already done in numerous ways, or trivial. In particular, no-one needs "cubbyhole" optimization software. AdvSkel is actually not a bad idea, but its executed and documented so badly that no one wants to use it.

     

    Stop obsessing about sizes, and take the time to build AdvSkel out into a real toolkit for people writing text adventures. Document it well. Then, even in this late day of 8bit, somebody somewhere might use it.

    • Like 2
  2. 5 hours ago, drac030 said:

    Huh? This is what the C library has to offer for clrscr() and setcursor()? Why not simply putc(125) and a simple write to crscol/row? It would be not only more portable - to different Atari display handlers, at least - but also much shorter, no?

    I'm just reporting. I Had nothing to do with CC65's source code. I'm sure they had their reasons.

  3. yeah, I assumed as much, since he hasn't commented. I'm glad you've known about this, please pardon us for discussing it in your thread. Neither one of us was advocating for a change in MadPascal, I was just voicing an opinion.

    • Like 1
  4. It shouldn't make them constants, constants go in a 'constant' block. Whether local var initialization should do anything and whether it should occur every time the function is entered is less clear, can't really get a direct answer after googling a bit.

    This thread is probably relevant  - https://en.delphipraxis.net/topic/923-initialize-local-variables-at-declaration/

     

    But anyway, as an outsider opinion I think it definitely should behave the way I was thinking - either make it happen each function call or don't allow it. There are various different implementations out there though, so maybe MadPascal allows compilation of such sources with the proviso that you might have to go back in and add your own direct initialization.

  5. Ah. Ok, thanks. The guy asking about it seemed to have some expectation of it working that way, so I kind of thought it was supposed to. Maybe it's kind of a language hole, and only works in variants that MadPascal is not implementing.

  6. Scope, yes, but whats the point of allowing the declarative initialization if it's only going to be done once? The fact that the last value is retained makes it act more like global scope, even if the name scope is there. Not a pascal expert but seems kind of wrong.

    • Like 2
  7. TGB, yes, you "fixed" it, but thats not the point.

    The locals in the xyz() function should be re-initialized to 0 each time the function is entered. According to his output, they are not, and retain the 10 from the previous call. I think this is a bug.

    Unless pascal explicitly doesn't do that, in which case I wonder why they have local vars at all.

  8. Well, it's by design of the folks who designed Action!, obviously, and intended for use with Action! programs. Is it a good idea for Action? Sort of, I guess, as said it's kind of a semi-dangerous way to skip having to specify the channel all the time. 

    Drac030 seems to be answering the question "Was this by the design of Atari itself?" and he's right, the answer there is no.

    • Thanks 1
  9. This is unfortunately true. Him posting a bit hurts nothing, but due to the nature of people it inevitably snags someone into trying to help him, or else telling him to hush up, or both, and then we all have the same threads over and over. What he really wants is attention. At any rate, I think it's time we consider limiting his ability to post, however that is done here.

    • Like 1
×
×
  • Create New...