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.

Author
Message
Santi
23
Years of Service
User Offline
Joined: 9th Dec 2002
Location: Spain
Posted: 24th Apr 2003 00:37
Hi. I have a big, big, problem:
I've created an array in a file to #include in my program. When I try to compile the program the compiler "say": #100044: cannot find structure "the name of the file that has the array:_the array" in locar declaration inside "the name of another file than hasn't the array"

What is going on???? what is wrong??? HELP PLEASE
Santi
23
Years of Service
User Offline
Joined: 9th Dec 2002
Location: Spain
Posted: 24th Apr 2003 00:57 Edited at: 24th Apr 2003 00:58
The problem seems to be in this code:

read byte 1,numcateg

dim tarjetas_categ(numcateg,1)

for I = 1 to numcateg
read byte 1,tarjetas_categ(I,1)
next I

The compiler stops at line "read byte 1,tarjetas_categ(I,1)"

#100044: Cannot find structure "Tarjetas_categ" in local declaration al line 219
solo
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Israel
Posted: 24th Apr 2003 01:07
declare you array type:
dim tarjetas_categ(numcateg,1) as integer

[solo]

Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 24th Apr 2003 02:07
are you attempting to use this within a function, main program or as part of an included file?

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?
CloseToPerfect
23
Years of Service
User Offline
Joined: 20th Dec 2002
Location: United States
Posted: 24th Apr 2003 15:51
the include file is the problem, just copy and paste it in your code. if your syntax is correct that's the problem and that will fix it.

Login to post a reply

Server time is: 2026-07-11 09:29:59
Your offset time is: 2026-07-11 09:29:59