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.

AppGameKit Studio Chat / not defined as array

Author
Message
marvin944
6
Years of Service
User Offline
Joined: 27th Aug 2013
Location:
Posted: 21st Jun 2020 00:45
I'm getting errors in latest version stating (ex.)

Error: "bm" has not been defined as an array
Error: "bm" has not been defined as a type

It is defined like this (and worked before):

type BMtype
_nr as integer
_scene as string
endtype

Global bm as BMtype[0]
Dutch
Bengismo
2
Years of Service
User Offline
Joined: 20th Nov 2017
Location: Yorkshire, England
Posted: 21st Jun 2020 12:04
Your code works fine in classic and studio for me. You can define the type and set up a global array of the type with 0 length.

Do you have an example project that causes the error you are seeing?
marvin944
6
Years of Service
User Offline
Joined: 27th Aug 2013
Location:
Posted: 21st Jun 2020 13:23
Solved! I had a plugin that could no be found (had nothing to do with the erronious code) and that triggered a whole lot of unrelated errors weirdly enough... if I leave out the plugin, everything works fine.
Dutch

Login to post a reply

Server time is: 2020-08-04 04:26:23
Your offset time is: 2020-08-04 04:26:23