You are here: Overview > Formatting in External Files
Formatting in External Files
The calculation language in external files has a particular format. Keep the following formatting points in mind as you enter your calculation in an external file:
- The external script file can contain any number of lines. Each line can be up to 255 characters in length. Each line must end in a carriage return/line feed pair (\r\n). You can end the file with a Ctrl+Z; however, it is not required that you end the file with Ctrl+Z. Most ASCII text editors will handle this automatically.
- Calculation language is not case sensitive. The calculation can be written in either upper- or lowercase.
- Blank lines can occur anywhere in the file. Blank lines are always ignored as the calculation is processed. Use spaces, tabs, and blank lines to improve readability.
- You create comment lines in a calculation by placing an asterisk (*) at the beginning of the line. The system ignores any line which begins with an asterisk during processing. You can place comments anywhere in the file and use them for any reason you choose. Comments are typically used to provide explanations of sections in the file.
Please note that it is not recommended to include comments in the scripts entered directly onto the Calculation tab of the Properties window. If, however, you do need to include comments, place them at the end of the calculation.
© Copyright 2012, Oracle and/or its affiliates. All rights reserved. Legal notices.
Open table of contents