Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recalc avg on fcopy #874

Open
cskeeters opened this issue Jun 30, 2024 · 0 comments
Open

Recalc avg on fcopy #874

cskeeters opened this issue Jun 30, 2024 · 0 comments

Comments

@cskeeters
Copy link
Contributor

A cell with @avg isn't recalculated when a cell included in it's range is modified as a result of :fcopy.

Start with the following file, recalc.sc.

# This data file was generated by the Spreadsheet Calculator Improvised (sc-im)
# You almost certainly shouldn't edit it.

newsheet "recalc"
movetosheet "recalc"
offscr_sc_cols 0
offscr_sc_rows 0
nb_frozen_rows 0
nb_frozen_cols 0
nb_frozen_screenrows 0
nb_frozen_screencols 0
let A0 = 2
let B0 = A0
let A1 = 1000
let B2 = @avg(B0:B1)
goto B0

Then enter gob0:fcopy. Notice B2 (avg) doesn't update unless you move to that cell and press @ or open and reclose. I have autocalc set, so I would expect this to update automatically after fcopy.

If I go to b2 and press @, it will update. Is there a way to recalculate the entire sheet without saving, closing, and reopening?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant