<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=big5" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19328">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Calibri>Dear all,</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>I'm trying to add new fields used in GAMER by editing
the file "field.py",</FONT></DIV>
<DIV><FONT face=Calibri>but I'm confused about the following
declarations.</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri> KnownGAMERFields =
FieldInfoContainer()<BR> add_gamer_field =
KnownGAMERFields.add_field</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri> GAMERFieldInfo =
FieldInfoContainer.create_with_fallback(FieldInfo)<BR> add_field =
GAMERFieldInfo.add_field</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>What is the difference between "KnownGAMERField" and
"GAMERFieldInfo"?</FONT></DIV>
<DIV><FONT face=Calibri>To me, it seems that they are both instantiations of the
class FieldInfoContainer,</FONT></DIV>
<DIV><FONT face=Calibri>except that GAMERFieldInfo has a fallback function
"FieldInfo".</FONT></DIV>
<DIV><FONT face=Calibri>Similarly, what's the difference between
"add_gamer_field" and "add_field"?</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>Thanks in advance for the help!!</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>Sincerely,</FONT></DIV>
<DIV><FONT face=Calibri>Hsi-Yu</DIV>
<DIV><BR></DIV></FONT>
<DIV><FONT face=Calibri> </DIV></FONT></BODY></HTML>