Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Hull and Outfitting

Reading from Files

  • Last UpdatedFeb 08, 2023
  • 1 minute read

When reading a file one line at a time using the ReadRecord() method you must open the file first with the Open(‘READ’) method and close it afterwards with the Close() method. Each line read from the file will be returned as a STRING until the end of the file is reached, when you will get an UNSET STRING returned.

The UNSET string can be detected using the STRING object's Set() method (or Unset()) as in the example above (See Example).

TitleResults for “How to create a CRG?”Also Available in