Access violation (struct)
Posted: 19 Aug 2020, 15:27
I wrote this code:
But when struct variable is called, it gives me a "Runtime Error (Access Violation)" in the debugger:
And the script stops executing. Is this a bug or I am doing something wrong?
Code: Select all
struct npc_struct
dim ivala as integer
dim ivalb as integer
dim ivalc as integer
end
dim mynpc as npc_struct
mynpc.ivala = 1But when struct variable is called, it gives me a "Runtime Error (Access Violation)" in the debugger:
And the script stops executing. Is this a bug or I am doing something wrong?