Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug Reports
CHR$(0) can't be part of strings, CVI converts an integer, that's 32-bit in FB.
Reply
Then, CVI is different? Oh, I see. It was very useful for bitmasks for LINE. Time to find an alternative.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
How would one go about converting a short then?
Reply
Code:
option escape

declare function str2short ( s as string ) as short

    print str2short( "\1\64" ), 64 * 256 + 1

function str2short ( s as string ) as short
     dim p as byte ptr
     p = strptr( s )
     str2short = p[0] or (p[1] shl 8)
end function

Still, "\0" won't work.[/code]
Reply
Anything would fit. You know, I was using this to render 8x8 bitmap fonts in QB, so the msb was discarded.

Thanks for the tip.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
I know know, if it is a bug or only diferent to the real QB.

But if you have a file with empty lines and load it with "INPUT #1" (not LINE INPUT #1, only INPUT #1), line for line, than QB shows the empty lines too. But FB didn't do it.


-----

An second point is, that FB creates an error-text which not reaaly helps, when have written the following wrong code:

Code:
sub first
'...
end sub

sub second
dim a as integer
a=5
if a=5 then goto forth:
end sub

sub third
'...
end sub

sub forth
'...
end sub

sub sixed
'...
end sub

-----

And at the third point I want to say, that it would be nice, if in the gfxlib the MULTIKEY differs between the key "Alt" and "Alt Gr".
At the moment both have the same code. And so MULTIKEY don't see any different between this two.


Greatings
theuserbl
Reply
Quote:And at the third point I want to say, that it would be nice, if in the gfxlib the MULTIKEY differs between the key "Alt" and "Alt Gr".
At the moment both have the same code. And so MULTIKEY don't see any different between this two.
This was made to be compatible with DOS scancodes: in DOS you can't distinguish between the two ALT keys...
ngelo Mottola - EC++
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)