Practical Electron Microscopy and Database

An Online Book, Second Edition by Dr. Yougui Liao (2006)

Practical Electron Microscopy and Database - An Online Book

Chapter/Index: Introduction | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | Appendix

Multiple Assignments in DM

DM as well as C++ allows a very convenient method of assigning many variables the same value, that is, using multiple assignments in a single statement. For instance, the program below assigns EMx, EMy, and EMz the same value 10 (script file):
         Multiple Assignments in DM

In professionally written programs, you will often see variables which are assigned a common value using such format.