EtherFreak
2011-04-07 00:45:00
So I came across this cool thing in inventory.
GetInven(integer);
but I am unsure of how to work it to my will. I would like to take the value it gives me and perhapse excract a piece, or compare it to something. but all I can seem to do is colect it, store it, and compare colected to stored. For example:
How can I input the data (20, 14, 62, (695, 438, 715, 452), (705, 444), 1) into a simple variable? how can I extract pieces from this data.
If there is a tutorial for this, I will apologize, I could not find it.
GetInven(integer);
but I am unsure of how to work it to my will. I would like to take the value it gives me and perhapse excract a piece, or compare it to something. but all I can seem to do is colect it, store it, and compare colected to stored. For example:
var
IT:TInvenItem;
begin
IT:=GetInven(1);
writeln(IT(1)); //this is not valid :(
writeln(IT)
IT:=(20, 14, 62, (695, 438, 715, 452), (705, 444), 1); //this is not valid :(
writeln(IT);
end;
How can I input the data (20, 14, 62, (695, 438, 715, 452), (705, 444), 1) into a simple variable? how can I extract pieces from this data.
If there is a tutorial for this, I will apologize, I could not find it.