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 / memblock query

Author
Message
madbilly
21
Years of Service
User Offline
Joined: 20th Mar 2003
Location: United Kingdom
Posted: 29th Mar 2003 18:47
Hi all,

Just a quick query about memblocks. What are the size restrictions on them? I ask because I have had a runtime error about the size of a memblock i was trying to make.



I think the error was 5101. Does the memblock size have to be a multiple of something e.g. 4?

Cheers,

Will
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 29th Mar 2003 20:45
No, Memblocks can be any size. Your code works OK for me.

Were you running low on memory?
madbilly
21
Years of Service
User Offline
Joined: 20th Mar 2003
Location: United Kingdom
Posted: 29th Mar 2003 21:32
No, don't think so, although I had just been doing some graphics stuff in PaintShop Pro. I have 256MB so shouldn't really have any problems with something this small! The exact error I got was:

"Runtime error 5101: Memblock range is illegal at line 72"

...er...

I'm a stoopid fewl! I'm used to numbering of things starting at 0, so I actually had Galaxy = 0!! It works fine now that I set it to 1!

x-d x-d x-d x-d x-d x-d x-d x-d x-d
Shadow Robert
21
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 29th Mar 2003 22:05
see always the little things ya miss - happens to everyone, me more than most lol

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?

Login to post a reply

Server time is: 2024-09-20 03:31:32
Your offset time is: 2024-09-20 03:31:32