Page 3 of 3 FirstFirst 123
Results 21 to 30 of 30

Thread: FreeBasic SDK: extended data type

  1. #21

    Re: FreeBasic SDK: extended data type

    Sorry Eros. Don't know what happened there but its definitely uploaded this time.

    I will do FB module test pieces as soon as possible.

  2. #22
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10

    Re: FreeBasic SDK: extended data type

    Sorry Charles but still cannot get the changes you mentioned.
    In thinCore.bi there is no EXT/DOUBLE conversion.
    Also parse1numbers should be parse1number (singular because just one number), all the others (from 2 to 7) are plural.
    I cleaned also my browser cache (just in case)

    Ciao
    Eros

    PS: going out for few hours now, so take your time.
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  3. #23

    Re: FreeBasic SDK: extended data type

    Well third time lucky I hope.


    Attached Files Attached Files

  4. #24
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10

    Re: FreeBasic SDK: extended data type

    Thanks. This one is ok.

    I just noted a little error in
    DECLARE FUNCTION thinBasic_Parse1Number LIB "thinCore.DLL" ALIAS "thinBasic_Parse1Numbers"
    ALIAS is still with "s". Should be without "s".

    Ciao
    Eros
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  5. #25

    Re: FreeBasic SDK: extended data type

    You beat me to it! Thanks Eros.

    File updated. But I think it is inevitable that testing all the functions will expose a few more gremlins. I am looking at ways of automating tests whenever changes are made to the module package. - Can't rely on fingers and spectacles.

  6. #26
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10

    Re: FreeBasic SDK: extended data type

    Well, when I will finish to align PowerBasic SDK with FreeBasic one, it will be MY DUTY to keep them aligned and documented.
    "C" language can wait a bit for the moment.

    Thanks a lot for your work Charles!
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  7. #27

    Re: FreeBasic SDK: extended data type

    Freebasic uses a utility called SWIG to automatically translate C headers to Freebasic headers. I wonder if we could do something similar - to keep module headers synchronised across several languages. It all depends on how frequently the thincore interface is likely to change, but it might save you a lot of work in the long run.

  8. #28
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10

    Re: FreeBasic SDK: extended data type

    I do not think I will introduce new interfaces in near future. I just need to make a job on sync and documentation in order to simplify module development.
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  9. #29

    Re: FreeBasic SDK: extended data type

    I finally worked on the real10 lib a bit, fixed the output routine and added more
    types that are automatically converted to extended when used with an
    extended function or variable, also added For Next support for extended type.
    I still consider this as an interesting experiment, not solid enough to be taken
    seriously.
    I bundled the code in one include file so you can compile it in FBide, no need
    to compile to lib, it's easier to experiment with the code this way.
    Attached Files Attached Files

  10. #30
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732

    Re: FreeBasic SDK: extended data type

    Hi Jack,

    thanks for nice surprise, I will try it during tomorrow.


    Petr

    EDIT: Looked at it right now, this is big amount of work done!
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

Page 3 of 3 FirstFirst 123

Similar Threads

  1. ThinBasic extended numbers in FreeBASIC SDK.
    By D.J.Peters in forum thinBasic SDK
    Replies: 16
    Last Post: 15-05-2011, 00:27

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •