Code for portability
- Last Updated: October 29, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Different operating systems have different restrictions and naming conventions.
To ensure portability across platforms, take care to follow conventions when naming your
fields, files, tables, and variables. The following are some recommended practices.
- Do not use a hyphen as the first character of a filename and do not use spaces in filenames.
- Use lowercase when specifying a procedure name in a
RUNstatement, and make sure your procedure files have lowercase names on UNIX. - Use forward slashes (/) as separators in specifying file paths when using ABL
statements such as
RUN,INPUT FROM, orOUTPUT TO. The AVM automatically converts the UNIX pathname syntax to Windows pathname syntax, which helps maintain portability among operating systems.
See Naming conventions for files, tables, and variables for a complete list of conventions to follow to ensure portability across platforms.