Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug - Reading a string from DATA
#1
Code:
READ a$
print a$
data "AA"
This works fine in QB4.5 but not in FB.13

Code:
C:\freeBASIC>fbc -version
FreeBASIC Compiler - Version 0.13
Copyright (C) 2004-2005 Andre Victor T. Vicentini (av1ctor@yahoo.com.br)


C:\freeBASIC>fbc readtest.bas
readtest.o:fake:(.text+0x1a): undefined reference to `fb_DataReadStr@12'
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#2
Works fine here.

Code:
C:\code\fbc>fbc -version
FreeBASIC Compiler - Version 0.13
Copyright (C) 2004-2005 Andre Victor T. Vicentini (av1ctor@yahoo.com.br)


C:\code\fbc>fbc data.bas

C:\code\fbc>data
AA

C:\code\fbc>
Reply
#3
odd... If it helps I am using win98SE.
Maybe I need to reinstall FB
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#4
Sorry for the double post, I reinstalled FB and it works now. I don't know why it didn't work before. Well thanks anyways.
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)