31.05.2015, 06:08
To declare a variable you need to use the following code
new File: some_file,some_integer;
In your code you are doing File: some_file directly.The compiler will think that some_file is already declared and will search for it.Since you are making a new variable you need to prefix it with new.
Replace this
With
new File: some_file,some_integer;
In your code you are doing File: some_file directly.The compiler will think that some_file is already declared and will search for it.Since you are making a new variable you need to prefix it with new.
Replace this
Код:
File: ini_CurrentFile, // 340 ini_Temp[MAX_RECORD_LENGTH], ini_OsLineEndLen = 2, ini_OsLineEndChar[5], bool: ini_FileOpen, ini_KeyData[MAX_RECORDS][MAX_KEY_LENGTH], ini_ValData[MAX_RECORDS][MAX_VAL_LENGTH];
Код:
new File: ini_CurrentFile, // 340 ini_Temp[MAX_RECORD_LENGTH], ini_OsLineEndLen = 2, ini_OsLineEndChar[5], bool: ini_FileOpen, ini_KeyData[MAX_RECORDS][MAX_KEY_LENGTH], ini_ValData[MAX_RECORDS][MAX_VAL_LENGTH];