Announcement

Collapse
No announcement yet.

Request for added UDT size in next version of PB for DOS

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Request for added UDT size in next version of PB for DOS

    Subject line says it almost all.

    Is it practical to expand the size of a UDT to 32K instead of the
    current limit of 16K in rounded sizes?

    A lively discussion of dis and dat vs. compilers and so on for
    structs and whatever noted that 64K is even found elsewhere. I
    don't claim to know this at all personally, just ducked my head
    and silently slunk away when confronted by it from supposedly
    knowledgable folks much my superior at all this...

    If $STRING = 32 is practical, shouldn't a UDT max size be possible
    in that focus as well.

    It just hit me as wonderment thinking about the other thread I'd
    opened pn the mysteries of life in the world of how long your string
    can be that might be related to this as well. Just a thought here.

    Thanks


    ------------------
    Mike Luther
    [email protected]
    Mike Luther
    [email protected]

  • #2
    This is also on the wish list, but it is not clear whether extending the UDT size can be done without trading off performance that would affect existing code.

    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>
    Lance
    mailto:[email protected]

    Comment


    • #3
      Code:
      $UDT 16|32
      Michael Mattias
      Tal Systems (retired)
      Port Washington WI USA
      [email protected]
      http://www.talsystems.com

      Comment


      • #4
        Way cool! Please post the rest of the code required to implement it, and I'll ask R&D to merge it into the compiler ASAP.

        Thanks!



        ------------------
        Lance
        PowerBASIC Support
        mailto:[email protected][email protected]</A>
        Lance
        mailto:[email protected]

        Comment


        • #5
          I'll do half the job, OK?:

          for $UDT 16
          Code:
           ' no changes
          MCM

          Michael Mattias
          Tal Systems (retired)
          Port Washington WI USA
          [email protected]
          http://www.talsystems.com

          Comment


          • #6
            Well, almost half... you left out the code that parses $UDT 16.

            ------------------
            Lance
            PowerBASIC Support
            mailto:[email protected][email protected]</A>
            Lance
            mailto:[email protected]

            Comment

            Working...
            X