Initial upload
Initial upload.
This commit is contained in:
27
_module/nss/paus_i0_array.nss
Normal file
27
_module/nss/paus_i0_array.nss
Normal file
@@ -0,0 +1,27 @@
|
||||
// Generic Array Manipulation Routines
|
||||
|
||||
void MySetIntArray(object oSource, string sName, int iElem, int iState)
|
||||
{
|
||||
string sFull = sName+IntToString(iElem);
|
||||
SetLocalInt(oSource,sFull,iState);
|
||||
}
|
||||
|
||||
void MySetObjectArray(object oSource, string sName, int iElem, object oElem)
|
||||
{
|
||||
string sFull = sName+IntToString(iElem);
|
||||
SetLocalObject(oSource,sFull,oElem);
|
||||
}
|
||||
|
||||
object MyGetObjectArray(object oSource, string sName, int iElem)
|
||||
{
|
||||
string sFull = sName+IntToString(iElem);
|
||||
return GetLocalObject(oSource,sFull);
|
||||
}
|
||||
|
||||
int MyGetIntArray(object oSource, string sName, int iElem)
|
||||
{
|
||||
string sFull = sName+IntToString(iElem);
|
||||
return GetLocalInt(oSource,sFull);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user