fpt and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Ref Manual Home |
PAD COMMON BLOCKS
Syntax:
[DO NOT] PAD COMMON BLOCKS
[DO NOT] PAD COMMONS
Function:
New variable declarations are inserted into COMMON blocks so as to force variables within the COMMON blocks to aligned addresses.
The command ALIGN OBJECTS IN COMMON BLOCKS instructs fpt to compute COMMON block addresses with the requirement that they are aligned, but does not change the code. Both ALIGN OBJECTS IN COMMON BLOCKS and PAD COMMON BLOCKS must be specified if padding variables are to be inserted
The command COMMON ALIGNMENT GRANULARITY specifies the unit of alignment for COMMON blocks. Logical, integer and real objects are aligned to the COMMON alignment granularity or to their data size, whichever is the smaller. Complex objects are aligned with the alignment rules for the real data specification with he same precision. Character objects are not aligned.
No change is made in the alignment of objects where EQUIVALENCE relations would be affected by the change in address.
Where to Use this Command
Operating system command line | Yes |
Configuration file, config.fsp | Yes |
Specification (fsp) files, *.fsp | Yes |
Interactively, to FPT> prompt | No |
Interactive command files | No |
Embedded in the Fortran code | No |
Default
No change is made by default. (Note that defaults may be changed in the configuration file).
See Also
ALIGN OBJECTS IN COMMON BLOCKS
Copyright ©1995 to 2025 Software Validation Ltd. All rights reserved.