Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Cannot load a list of bitmaps

Author
Message
Stuart Peters
20
Years of Service
User Offline
Joined: 1st Jun 2004
Location:
Posted: 2nd Jun 2004 00:29
Hi all,

I am trying to load bitmaps from a directory.

I first discover the files with perform checklist for files then grab the filename using checkist string$()

When I try to load bitmap using the filename I get a runtime error 1003 - Could not load bitmap.

I can, however, use the filename to either copy or open for read.

What am I doing wrong?

Regards,
Stuart
zircher
21
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 2nd Jun 2004 01:05 Edited at: 2nd Jun 2004 01:06
This command is missing an image ID:

load bitmap filetoload$

Try something like:

load bitmap filetoload$, rpt-2

--
TAZ

FYI, load image is more versatile and will load other image formats.

History did not begin with PONG. -- Greg Costikyan

Game Beavers

Login to post a reply

Server time is: 2024-09-22 11:26:14
Your offset time is: 2024-09-22 11:26:14