grammarware / software-evolution

Software Evolution
MIT License
1 stars 0 forks source link

Figurative-constants for composite fields #21

Open andreioff opened 4 months ago

andreioff commented 4 months ago

The MOVE clause support several figurative constants. On Canvas and the BabyCobol website, it is described how these constants behave for field variables, but what about composite fields? Would something like MOVE SPACES TO A (where A is a composite field) perform a MOVE SPACES to all leaves of A?

grammarware commented 4 months ago

Yes, MOVE SPACES just fills in the entire target data structure with spaces/zeroes/nulls.