Electron microscopy
 
:= and = in DM and C++
- Practical Electron Microscopy and Database -
- An Online Book -
Microanalysis | EM Book                                                                                   http://www.globalsino.com/EM/        


=================================================================================

 

Table 1100. Difference between := and = in DM and C++.

:= =

:= and = in DM and C++ 
◆ Script file: Link
◆ Script function: Name the opened images in order of "the front most, second front most and so on"
◆ Example:
         Names of original images

          Names of the images after script execution

◆ Re-naming in order: "Image 0" is the most front image, "Image 1" is the second most front image, and so on... , for instance, the images will be re-named as "Image 0 ...", "Image 1" and "Image 2" if three images are opened in total
◆ FindNextImage() in Line 15 returns each image. If the last image is found, the returned image will be invalid and then the script execution ends.

 
◆  Script file: Link
◆ Script function: Name the opened images in order of "the front most, second front most and so on"
◆ Example:
         Names of original images

          Names of the images after script execution

◆ The most-front image will be cloned first
◆ Re-naming in order: "Image 0" is the most front image originally, "Image 1" is the cloned image, "Image 2" is the second most front image originally, , "Image 3" is the third most front image originally, and so on...
◆ Comparing with the script with ":=" on the left (Line 8), this script adds one cloned images in each script execution process

 

 

 

=================================================================================