KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: The command "New Process" and passing parameters
PRODUCT: 4D | VERSION: | PLATFORM: Mac & Win
Published On: August 22, 2002
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

Compatibility: 6.7.x, 6.8.x
Platforms: Windows and Mac OS

The command "New Process" starts a new process in which you are able to pass parameters to the process "method." * You can pass parameters in the same way as you would pass them to a subroutine.



New process (method; stack{; name{; param{; param2; ...; paramN}{; *}}}) Number



When passing parameters to the process method, you must remember to pass the "name" parameter, otherwise the parameters will not be passed and you'll end up with undefined variables in the process method.



* There are restrictions- Please see https://www.4d.fr/4DDoc68/CMU/CMU00317.HTM for more information.