Search:

Type: Posts; User: flxkid

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Re: DF SQL Drivers mixing DF20x and DF3.2 programs

    Evertjan, et al.,

    Although it's likely that in some cases things will just "work", there are many cases where things may not work. For instance, if you're using other than our MS SQL driver, you...
  2. Replies
    5
    Views
    1,863

    Re: JSON: Decimal is coming out as a string

    Joseph,

    Came across this post somewhat randomly today. Don't know if this has gone anywhere, but probably what is being done internally is actually correct. A decimal in Dataflex is a fixed point...
  3. Thread: Installer bug

    by flxkid
    Replies
    1
    Views
    695

    Installer bug

    When I click Do Not Configure IIS checkbox, I get a dialog box with a yes/no, and no matter what I answer I can't go past that. Also the text is cut off.

    OLIVER

    ...
  4. Replies
    5
    Views
    1,340

    Re: Chicken and egg Structs

    Where this is done in other languages, in general the struct get's a pointer that is used to break the self-references and/or recursive references. So in your example you'd have something along the...
  5. Replies
    3
    Views
    1,274

    Re: Local variable initialization problems too

    Hadn't thought of that. Interesting workaround. Lets hope we get a real fix though :-)

    OLIVER
  6. Replies
    3
    Views
    1,274

    Local variable initialization problems too

    Most have seen the posts already about the problem with global variable initialization problems. But there are also problems with local variable initialization as well. I've reported this already, so...
  7. Replies
    11
    Views
    3,136

    Re: Datetime bug found with DateAddDays

    Derek,

    Attached is a replacement GlobalDateTimeFunctions.pkg that you can use (I've named it FixedGlobalDateTimeFunctions.pkg, but you can rename it and overwrite the one in the packages folder...
  8. Integer Function has a mind of it's own (not truncating reals)

    The Integer function has this documentation: "Real and number values are converted to integer values by truncation of the decimal portion of the value". Mostly this is true, but not entirely true....
  9. Replies
    11
    Views
    3,136

    Re: Datetime bug found with DateAddDays

    Frank,

    Don't worry about it, I've written my own for now. But it really is a pain!

    OLIVER
  10. Replies
    11
    Views
    3,136

    Re: Datetime bug found with DateAddDays

    Frank,

    I'd considered something similar, but then you have to deal with another bug. Since your code uses a timespan, you're limited to math of less than about 181yrs since timespans have a...
  11. Replies
    13
    Views
    3,011

    Re: Years later, Variant bug still there

    Frank,

    Yeah, that would certainly work, but as you stated, an official fix is better than runtime patching. As you've proven though, the fix is trivial...

    OLIVER
  12. Replies
    13
    Views
    3,011

    Re: Years later, Variant bug still there

    Frank,

    I'm sure there are some controls that do that, but a good testing framework would catch that early on and the developer would fix it. It's a well known limitation and most developers that...
  13. Replies
    13
    Views
    3,011

    Re: Years later, Variant bug still there

    Harm,

    How about we look at a more harmful twist on this issue. Let's say you're getting back reporting data via a COM control and you're going through transactions and you want all of them before...
  14. Replies
    13
    Views
    3,011

    Re: Years later, Variant bug still there

    For even MORE fun try out this code:


    Procedure TestOldDate
    DateTime dtOld
    Variant vOldDate
    DateTime dtOther

    Get DateTimeSet 1899 12 30 0 0 0 0 to dtOld
    Move dtOld to vOldDate
  15. Replies
    13
    Views
    3,011

    Re: Years later, Variant bug still there

    Harm,

    For an additional fun time give these two bits of code a whirl:


    Get DateTimeSet 0001 01 01 0 0 0 0 to dtOld
    move dtOld to someVariant

    I was hoping the variant would contain...
  16. Replies
    13
    Views
    3,011

    Re: Years later, Variant bug still there

    Harm,

    A VT_DATE for sure supports milliseconds. Internally an OADate is simply a Double (VT_R8). This issue with SystemTimeToVariantTime has been around for a LONG time with a solution. Although...
  17. Replies
    11
    Views
    3,136

    Datetime bug found with DateAddDays

    This has been reported on elsewhere, but I can't find anything that says it's logged as a bug:

    If you do this:


    Datetime dt
    Get DateTimeSet 1899 12 30 0 0 0 0 to dt
    showln (DateAddDay(dt,...
  18. Replies
    13
    Views
    3,011

    Years later, Variant bug still there

    It's been over three years since this bug was reported, it's no doubt latently sitting there in many peoples code and still not fixed. Code can describe it better than I can:


    Procedure TestDTBug...
  19. Re: DF 20: Something is really wrong with bigInt global_variables

    Samuel,

    I think it's related to getting the address of certain global_variables. I've had a similar problem doing an AddressOf on a global variant.

    OLIVER
  20. Replies
    7
    Views
    1,709

    Re: Direct_Input Readln grabs the BOM

    A better way to think about it is to view the BOM as metadata. You don't read in metadata when you're reading the data. It's a separate interface to read the metadata so that it doesn't interfere...
  21. Replies
    7
    Views
    1,709

    Re: Direct_Input Readln grabs the BOM

    Wil,

    This doesn't make the file ANSI at all...you can read UTF-8 without a BOM all day and it works just fine. The BOM is simply an indicator. DF reads a file without a BOM as UTF-8 without any...
  22. Replies
    7
    Views
    1,709

    Re: Direct_Input Readln grabs the BOM

    Wil,

    Good to see you too. What I was trying to get at is that it because code often does things like "read x characters (or first line, etc) from file" to see something about it, and this BOM is...
  23. Replies
    7
    Views
    1,709

    Direct_Input Readln grabs the BOM

    I was kinda hoping that doing a standard readln would skip the BOM since it's just an indicator of the format to follow. But it seems the BOM is read by readln. I can see READ_BLOCK as an interface...
  24. Replies
    34
    Views
    6,438

    Re: New Postgres Project

    Bob,

    PostgreSQL can do this with a DO block. The problem is that the return value of DO blocks is discarded. If you need to actually return something but don't want to make a function you can use...
  25. Replies
    11
    Views
    2,896

    Re: MySQL Dataflex Driver + Licensing

    Pepe,

    It doesn't have to fall under the same restrictions. MariaDB is still GPLv2 (a license with high virality). So if your software packages a MariaDB server with it, then you'd need a...
Results 1 to 25 of 131
Page 1 of 6 1 2 3 4