KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Utility Method to Re-Tokenize All Methods
PRODUCT: 4D | VERSION: 21 | PLATFORM: Mac & Win
Published On: April 6, 2026
Below is a Utility Method that will retokenize all methods besides the Utility Method itself:

// Util_RetokenizeMethods

ARRAY TEXT($methods_at; 0)
var $i : Integer
var $code_t : Text

METHOD GET PATHS(Path all objects; $methods_at)
For ($i; 1; Size of array($methods_at))
  If ($methods_at{$i}#Current method name)
    METHOD GET CODE($methods_at{$i}; $code_t)
    METHOD SET CODE($methods_at{$i}; $code_t)
  End if
End for