KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Find all distinct interprocess variables
PRODUCT: 4D | VERSION: 20 | PLATFORM: Mac & Win
Published On: August 26, 2024

Since interprocess variables are not available in preemptive processes and tend to make code less maintainable, it is recommended to replace these variables with newer features such as Storage or classes.

One of the first steps to replacing them is to find all instances of interprocess variables in the application. This could be done by searching for "<>" in Find in Design, but the results could contain irrelevant things such as variables that were commented out.

A better approach would be to open the Compiler and let 4D perform Generate Typing. Then, all distinct interprocess variables should appear in either the "Compiler_Arrays_Inter" or "Compiler_Variables_Inter" project method. To view all instances of a particular interprocess variable, context click the variable and select the "Search References…" option.