Can't import numbers with units

Issue #773 new
Former user created an issue

If I try to import a .txt that has, for example:

H = 1 gram

I get an error: <b>gram</b> unknown function or variable

After doing this, the unit system seems broken until I restart SpeedCrunch

I'm on Windows 10 using 0.12.

Comments (4)

  1. jmaxfiel

    I'm on Windows 10 using version 0.12 of SpeedCrunch.

    Are you sure you're using the "Import" option, and not the "Load Session"?

  2. Pol Welter

    Ok, I got it now.

    It is not working when you choose to clear the existing variables. When you merge the imported file with the existing session it is fine.

    Apparently when clearing all variables and functions, we also delete the built-in constants and units.

  3. Log in to comment