processing / processing/processing-website

createReader() example has an error

Open
#377 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
MDX
Stars
90
Forks
122
Avg merge
1h 43m
Merged PRs (30d)
3

Description

Issue description

createReader() example line 12 has an error.
String[] pieces = split(line, TAB);

URL(s) of affected page(s)

https://processing.org/reference/createReader_.html

Proposed fix

should read
String[] pieces = split(line, "t");
that is the the .txt file in the createWriter example uses.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the affected createReader() reference page and inspect the example around line 12, then compare it with the createWriter example referenced in the issue. Correct the displayed example and verify that the rendered page shows the intended delimiter consistently.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.