this is what i'm looking for:
1: Make a bi dimensional array field. Ex: Atk[6, 2]
This doesn't work, how do I overcome this?
2: My save system is able to save and Load correctly. the problem is that I have more than 40 fields and I find difficult to make a simple code. Ex:
While not Eof(SavedGameFile)
SeekFile(SavedGameFile, 5000(SavedGameFile)*4-4)
WriteInt(....
......
;->>(I have more than 100 Lines for this sh** =P)
Wend
how can Make this simple (if there is a way)
3: I wanted to ask if there's a different way to position the pointer, without using (5000*(SavedGameFile)*4-4)
For instance: seekfile(Savedgamefile, 2)
4: I wanted to get a field without reading all the other 39.
For instance: Readint%(savedgamefile, Atk[6])
*Sorry if it's hard to understand =P
1: Make a bi dimensional array field. Ex: Atk[6, 2]
This doesn't work, how do I overcome this?
2: My save system is able to save and Load correctly. the problem is that I have more than 40 fields and I find difficult to make a simple code. Ex:
While not Eof(SavedGameFile)
SeekFile(SavedGameFile, 5000(SavedGameFile)*4-4)
WriteInt(....
......
;->>(I have more than 100 Lines for this sh** =P)
Wend
how can Make this simple (if there is a way)
3: I wanted to ask if there's a different way to position the pointer, without using (5000*(SavedGameFile)*4-4)
For instance: seekfile(Savedgamefile, 2)
4: I wanted to get a field without reading all the other 39.
For instance: Readint%(savedgamefile, Atk[6])
*Sorry if it's hard to understand =P