LB Booster
Programming >> Liberty BASIC language >> BMP Files http://lbb.conforums.com/index.cgi?board=lblang&action=display&num=1430040667 BMP Files
Post by RNBW on Apr 26th, 2015, 09:31am
One of the things I have noticed (I am using Liberty Basic Workshop and LBB) is that when I run a file from LB that contains BMP files, I get an error that the BMP file can't be found.
I know where LB saves it BMP files, but I can't see how LBB can be directed to view the files by default. Does LBB look for BMP files in LB or BBC Basic. I did try to set up a BMP folder in LBB itself, but that didn't seem to work.
Ray
Re: BMP Files
Post by Richard Russell on Apr 26th, 2015, 11:55am
I know where LB saves it BMP files, but I can't see how LBB can be directed to view the files by default.
As far as I am aware, LB 4.04 and LBB behave in the same way:
If you specify no path, the file is assumed to be in the same directory as the program (DefaultDir$). If you specify a relative path, it is assumed to be relative to the directory containing the program. If you supply an absolute path, that determines where the file is.
This assumes that you have not changed DefaultDir$ in your program.
If you have any reason to think this is not the case, please let me know. But considering that nobody has previously reported an incompatibility in this respect I would be surprised. When I run the supplied LB sample programs, bitmaps and other resource files are found correctly.