I was thinking of a different way to handle vulns/immunes/resists that could
be quickly and easily modified, and i can to thinking about having an
external file, say /data/immsvulnsres.txt or something and in that file it
looked like:
1 2 3 4 5 6 7 8 9 10
1
2 r r
3
4 i
5
6 v
7
8 i v
9
10
and each type represented a number on the x and y axis, and the grid
basically reads that if theres a 'r' the x axis is not very effective
against the y axis....'v' is vuln etc...
like you figure out which IMM_/RES_/VULN_ thing represents which number,
then you tell the code to go X spaces to the right and Y lines down... then
just fread_letter what it finds
now i don't think this should be too difficult at all, i'm just wondering if
anybody can shed some light on the part where you tell it to go X right and
Y down
_________________________________________________________________
Free yourself from those irritating pop-up ads with MSn Premium. Get 2months
FREE*
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines