Most Flowgorithm problems fall into three groups: the program won't install or start, a shape won't accept what you typed, or the program runs but does the wrong thing. This guide works through each group, then finishes with a short checklist you can run before asking for help.

Installation and start-up problems

The installer doesn't start

The download is a ZIP archive. If you double-click the setup program while viewing it inside the ZIP, Windows may refuse to run it or fail partway through. Right-click the ZIP, choose Extract All, then run setup from the extracted folder.

Windows SmartScreen or antivirus warnings

SmartScreen often warns about programs that are downloaded less frequently than big commercial apps. Check that the file came from the link you intended — our download section links to the developer's own file — and scan it with your antivirus before deciding to run it. If your antivirus quarantines the file, check its report before restoring anything.

No permission to install

School and work PCs often block installations. Ask your IT team; Flowgorithm may already be available in a lab image or virtual desktop.

.fprg files don't open with a double-click

The executable-only download doesn't register file types. Install with the setup program instead, or open files from inside Flowgorithm.

Errors while building a flowchart

Unknown or undeclared variable

Every variable needs a Declare shape above the first shape that uses it. Check spelling and capitalisation, and remember that a variable declared inside one function doesn't exist in another — pass it as a parameter instead.

Type mismatch

Flowgorithm is strongly typed. Common causes:

  • Putting text into an Integer or Real variable.
  • Storing a decimal result in an Integer variable — declare it as Real.
  • Comparing a String with a number in an If condition.

The expression is rejected

Look for missing quotation marks around text, unbalanced brackets, or a stray character. Join text with &, for example "Total: " & total.

Problems while the program runs

The loop never ends

Something inside a While or Do loop must change the value its condition tests. A sentinel loop needs an Input inside the loop as well as before it. Stop the program, then step through a couple of passes with the Variable Watch window open.

Array index out of range

Arrays start at index 0. A five-element array uses indexes 0 to 4, so a For loop should run from 0 to size − 1.

Division by zero

Check the divisor with an If before dividing, especially when it comes from user input or a count that might be zero.

Recursion error

Flowgorithm stops runaway recursion with an error rather than crashing. That almost always means the base case is missing or can never be reached — check that each call moves closer to it.

Wrong answer, no error

These are logic errors, and the debugging tools are built for them. Step through, watch values change, and add a Breakpoint shape where things go wrong. A conditional breakpoint pauses only when an expression is true — for example when i = 7 — so you don't have to step through every pass.

Running under Wine (Mac or Linux)

  • Won't start at all: Flowgorithm is a .NET program, so Wine needs Wine-Mono installed.
  • Odd fonts or layouts: a known Wine side effect; usually cosmetic.
  • Works one day, not the next: OS or Wine updates can break things. A Windows virtual machine is more predictable — see the Mac guide.

Checklist before asking for help

  1. Did you extract the ZIP and install with the setup program?
  2. Is every variable declared before it's used, with the right type?
  3. Does every text value have quotation marks?
  4. Can every loop's condition eventually become false?
  5. Are all array indexes between 0 and size − 1?
  6. Have you stepped through with the Variable Watch window open?

If you're still stuck, describe the problem with a screenshot or exported image of the flowchart — it makes it much easier for an instructor or classmate to help. Want more practice spotting mistakes? Work through the beginner tutorial and deliberately break it.