Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Top4 Data Compression (compressor and decompressor included)
#6
(12-12-2023, 10:27 PM)grymmjack Wrote: @dbox would know - LOC docs https://www.qbasic.net/en/reference/qb11...on/LOC.htm I found here - maybe it's not supported.

Looks like that was an oversight on my part when I added the file I/O support and virtual file system.  I don't think I ever used LOC, but it looks very straightforward to add.  I'll include it in the next QBJS release.

Most of the other warnings look like they are undeclared variables.  At present, QBJS really wants you to "Dim" your variables before you use them.


There was one additional curiosity that I found interesting.  I was wondering how the following line was even working in QB64:

Code: (Select All)
IF LOF(1)-LOC(1)=>32767 THEN

Turns out the QB64 IDE helps you out and switches the operators around the right way:

Code: (Select All)
If LOF(1) - Loc(1) >= 32767 Then
Reply


Messages In This Thread
RE: Top4 Data Compression (compressor and decompressor included) - by dbox - 12-13-2023, 02:48 PM



Users browsing this thread: 1 Guest(s)