Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FormatX$ in QB64
#1
Find attached the file FormatX5.zip which contains FormatX.bas and is a library of format functions.

They are not a Print Using replicants but contain certain FormatX$ functions similar to the ones in QB 7.1

The functions allow for parsing formatted strings and unique to QB64 which has no Format$ functions.

  Year between 1753 and 2078 increased to 0001 and 9999.

NOT backwards compatible with QB 4.5 because format date/time is stored in float Now## precision.

Read on! ejo Big Grin

Code: (Select All)
Format library v5.0a in BASIC for QB64 similar to BC7/VBDOS1 is PD 2024.
   Version v1.0a:
     Initial creation 09/30/2024.
   Version v2.0a:
     Adds StoreColor for Colorf function.
     Adds KeyBoardLine$ function.
     Adds Debug to StatusLine.
     Adds some constants.
  Version v3.0a:
    Adds Control-Break trapping.
    Adds statusline format strinng.
    Adds titlebar timer trap.
  Version v4.0a:
    Adds extended LineInput$ function.
  Version v5.0a:
    Fixes date/time display in:
      DateTimeClock$ and DateTimeClockSerial$ (serial##)

Now 2,590 lines.


Attached Files
.zip   FORMATX5.ZIP (Size: 20.83 KB / Downloads: 27)
Reply


Messages In This Thread
FormatX$ in QB64 - by eoredson - 09-29-2024, 06:45 AM
RE: FormatX$ in QB64 - by SMcNeill - 09-29-2024, 07:24 AM
RE: FormatX$ in QB64 - by eoredson - 09-29-2024, 07:52 AM
RE: FormatX$ in QB64 - by eoredson - 09-30-2024, 12:18 AM
RE: FormatX$ in QB64 - by eoredson - 09-30-2024, 01:31 AM
RE: FormatX$ in QB64 - by eoredson - 09-30-2024, 01:37 AM
RE: FormatX$ in QB64 - by eoredson - 10-02-2024, 03:49 AM
RE: FormatX$ in QB64 - by SMcNeill - 10-02-2024, 06:12 AM
RE: FormatX$ in QB64 - by Dimster - 10-02-2024, 09:14 AM



Users browsing this thread: 1 Guest(s)