Login Page - Create Account

Support Board


Date/Time: Fri, 07 Feb 2025 18:24:56 +0000



Post From: Updating study for new version

[2020-06-07 04:33:22]
anouar6869 - Posts: 13
It works only if I put sc.ClearAllPersistentData() right after the default block, is that correct? It works fine.. only to be sure.

Thanks

/////////////////////////////////////

if (sc.SetDefaults)
  {
.............
  return;
  }

// Clear persistent data on (re)load
  if (sc.UpdateStartIndex == 0 ) {
    sc.ClearAllPersistentData();
   )
  // Main processing

  int npi = 0;  
int& PivotIndex = sc.GetPersistentIntFast(npi++);    
  int& NextLineNumber = sc.GetPersistentIntFast(npi++);  
  int& NextLineIndex = sc.GetPersistentIntFast(npi++);