# \#script-file

**URL:** https://swi-prolog.discourse.group/tag/script-file/103.md

[Latest](https://swi-prolog.discourse.group/latest.md) · [Categories](https://swi-prolog.discourse.group/categories.md) · [Tags](https://swi-prolog.discourse.group/tags.md)

---

## [Incorrect statement in edit/0](https://swi-prolog.discourse.group/t/incorrect-statement-in-edit-0/4739)

<div class="topic-metadata">

**Author:** [@atava](https://swi-prolog.discourse.group/u/atava)\
**Replies:** 3\
**Last updated:** [December 10, 2021, 11:13am UTC](https://swi-prolog.discourse.group/t/incorrect-statement-in-edit-0/4739 "2021-12-10T11:13:03Z")

</div>

I think there’s a minor inaccuracy in the documentation for edit/0. If Prolog files are passed directly to swipl, the first of these becomes the “associated file” and it’s the one edit/0 opens by default. This is state…
