Post by Jon on Jul 17, 2004 22:18:06 GMT -5
Whenever I try to run a program than has images of some kind I get this messsage. My program was working fine before, but now I can't get it to work. I haven't renamed anyfiles, and haven't made a change to the program in anyway. I don't know what is happening here. When it gives the error, it always puts the cursor right after the name of the image file that I was trying to load up.
I also get a whole bunch of error, like pointer operation and what not after this happens. The only way then to close BASIC4GL is to do so from the taskmanager.
Here is some of the code...if that will help any:
That is all of the code. I don't know...this problem wasn't happening yesterday.
Please help,
Jon
I also get a whole bunch of error, like pointer operation and what not after this happens. The only way then to close BASIC4GL is to do so from the taskmanager.
Here is some of the code...if that will help any:
'Next 12 lines load square textures,
dim blue
blue = LoadTexture ("data\nock it\blue.png")
dim green
green = LoadTexture ("data\nock it\green.png")
dim orange
orange = LoadTexture ("data\nock it\orange.png")
dim purple
purple = LoadTexture ("data\nock it\purple.png")
dim rainbow
rainbow = LoadTexture ("data\nock it\rainbow.png")
dim red
red = LoadTexture ("data\nock it\red.png")
'End square texture loading
'Next line loads interface title
dim title
title = LoadTexture ("data\nock it\title.png")
'Next line loads interface
dim inface
inface = LoadTexture ("data\nock it\inface.png")
'Next line loads statistics box
dim stats
stats = LoadTexture ("data\nock it\stats.png")
'Next 20 lines load numbers
'in numerical order...sort of
dim n1
n1 = LoadTexture ("data\nock it\numbers\n1.png")
dim n2
n2 = LoadTexture ("data\nock it\numbers\n2.png")
dim n3
n3 = LoadTexture ("data\nock it\numbers\n3.png")
dim n4
n4 = LoadTexture ("data\nock it\numbers\n4.png")
dim n5
n5 = LoadTexture ("data\nock it\numbers\n5.png")
dim n6
n6 = LoadTexture ("data\nock it\numbers\n6.png")
dim n7
n7 = LoadTexture ("data\nock it\numbers\n7.png")
dim n8
n8 = LoadTexture ("data\nock it\numbers\n8.png")
dim n9
n9 = LoadTexture ("data\nock it\numbers\n9.png")
dim n0
n0 = LoadTexture ("data\nock it\numbers\n0.png")
'End number loading
That is all of the code. I don't know...this problem wasn't happening yesterday.
Please help,
Jon