06-26-04 03:53 PM
In your Inline C# you can maintain global variables that can remember the
state information across different functoid calls, and thus you can
remember if you have already generated a GUID before.
The code that you put in a InlineC# functoid would probably look something
like:
bool _globalDidWorkBefore = false; //global variables to remember state
string _globalGuid = null; //global variable to remember state
string GetMeGuid()
{
if (! _globalDidWorkBefore)
{
_globalDidWorkBefore = true;
_globalGuid = GenerateNewGuid();
}
return _globalGuid;
}
Thanks....
--------------------[vbcol=seagreen]
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12
.phx.gbl[vbcol=seagreen]
the[vbcol=seagreen]
call[vbcol=seagreen]
This posting is provided "AS IS" with no warranties, and confers no rights.
EBusiness Server Team
[ Post a follow-up to this message ]
|