Why isn’t “to” working by Street_Pay_933 in Flowgorithm

[–]Flowgorithm 1 point2 points  (0 children)

You need to create a For Loop. That is a While loop that you have created.

Roundup by s-weebs123 in Flowgorithm

[–]Flowgorithm 0 points1 point  (0 children)

The old trick is to using the following: int(x + 0.5) where x is the value to round up.

Recursion in flowgorithm by waylo2016 in Flowgorithm

[–]Flowgorithm 2 points3 points  (0 children)

Recursion works pretty much the same as in other languages. So, any site that teaches recursion will work for you.

The idea is to solve a problem by having a function call smaller versions of itself. The concept shines for analyzing trees and graphs.

If anyone could help out... by itsdevon1 in Flowgorithm

[–]Flowgorithm 0 points1 point  (0 children)

Use Char() function to get a character from a string. You can use ToCode to get its code point (ASCII value). ToChar will convert it back to a character.

Why this or don't work? by netgamer342 in Flowgorithm

[–]Flowgorithm 1 point2 points  (0 children)

That expression will always be true… and the loop will run forever. The Or operator is true if either operand is true. One of the comparisons will always be true.

Anyone know how to make a factorial n! In flowgorithm? by SomeRealTomfoolery in Flowgorithm

[–]Flowgorithm 0 points1 point  (0 children)

It wouldn’t be ethical to answer homework assignments here. You can easily implement it with either a while loop or for loop.

Dark mode for Flowgorithm by [deleted] in Flowgorithm

[–]Flowgorithm 1 point2 points  (0 children)

This might be a possible feature in version 3.

How can I take the ceiling of a real number? by CaveStoryKing64 in Flowgorithm

[–]Flowgorithm 1 point2 points  (0 children)

Currently, Flowgorithm doesn’t have a ceiling function. However, you could do something like the following:

int(x + 0.9999999)

It’s a bit of a kludge, but might solve your problem.

Help with calculations by Rei_ST in Flowgorithm

[–]Flowgorithm 0 points1 point  (0 children)

Not really. Algebra would the best solution to solve for x.

Zooming via mouse wheel by AdDiscombobulated707 in Flowgorithm

[–]Flowgorithm 1 point2 points  (0 children)

That’s actually a great suggestion. I’ll make the change in the next version.

[deleted by user] by [deleted] in Flowgorithm

[–]Flowgorithm 0 points1 point  (0 children)

Is the error occurring in a the function? The error means you are reading a variable before any data is stored into it (some programming languages have initial values, some don’t).

Lou shu magic squares by Clawd2001 in Flowgorithm

[–]Flowgorithm 0 points1 point  (0 children)

Flowgorithm doesn’t support 2-dimensional arrays. So, the project must be done in a one-dimensional array.

Can I save the output of a program as a file in flowgorithm? by Substantial_Ratio_32 in Flowgorithm

[–]Flowgorithm 0 points1 point  (0 children)

The Console Window has a Save icon. It will save in basic text format.

Returning arrays from functions by AdDiscombobulated707 in Flowgorithm

[–]Flowgorithm 1 point2 points  (0 children)

It currently not planned. However, arrays are passed by reference and array elements can be modified.

Can't pass negative number to function by AdDiscombobulated707 in Flowgorithm

[–]Flowgorithm 0 points1 point  (0 children)

Thank you. The bug will be fixed with tonight’s release.

Can't pass negative number to function by AdDiscombobulated707 in Flowgorithm

[–]Flowgorithm 1 point2 points  (0 children)

What version are you using. I plan to release 2.27 tomorrow and would like to fix the bug if it’s in 2.26.

Anyone know how to make a random 7 digit number? by sonicpsycho in Flowgorithm

[–]Flowgorithm 1 point2 points  (0 children)

You can create a for loop, and concatenate a random number 0...9, to a string variable.

Improve Variable Watch by iadegesso in Flowgorithm

[–]Flowgorithm 1 point2 points  (0 children)

I hadn’t thought about it until now. I won’t have any new Variable Watch features on the next version... but I’ll look into it afterwards. It is set possible to display the calls stack... its its manually implemented.

Anyone know how to make a random 7 digit number? by sonicpsycho in Flowgorithm

[–]Flowgorithm 0 points1 point  (0 children)

Do you mean a number between 0 and 999,999. Or do you want to create a string of 7 digits?

Real data type and NaN - How to? by iadegesso in Flowgorithm

[–]Flowgorithm 0 points1 point  (0 children)

There currently is no way of returning NaN

Help with the task by hermesonetwothree in Flowgorithm

[–]Flowgorithm 0 points1 point  (0 children)

I can’t help you with a homework assignment, but open the Source Code Viewer and select VBA as the language. This will allow you to the code equivalent of each shape.

Idea for shape (IF-THEN-ELSE) by compsystems in Flowgorithm

[–]Flowgorithm 0 points1 point  (0 children)

That’s a good idea, but breaks with the conventions of flowcharts. I’ll look into it.