Declaration: TParticles.Assign (Source: TParticles): integer;
The method Assign copies the TParticles instance specified by the parameter Source. The function returns a zero value if everything is OK, or -1 if the particle data cannot be copied.

Hint 1: In general, the statement Destination := Source; is not the same as the statement Destination.Assign(Source);. The first statement makes Destination referring to the same object as Source, whereas the second statement copies the contents of the object referenced by Source into the object referenced by Destination.

Hint 2: In order to access the particles currently loaded in the particle editor you can use the pre-declared global variable PEData.