File path issues with importData(2)

File path issues with importData(2) - Import file path string gets corrupted when re-opening sMath file - Messages

#1 Posted: 11/8/2021 1:30:35 PM
tedd

tedd

0 likes in 9 posts.

Group: User

This may be an issue with my system, not sMath, but I'm posting here in the hope that someone else will have seen this.

System:

sMath version 0.99 build 7822
Windows 10 on a Microsoft Surface
Latest version of importData() installed (I think).

When I save a file with the following importData(2) call:

importDataXLSX("C:\\Users\<username>\Documents\Daily_Calculations\2021_10_30.xlsx","Coefficients"

then later open that sMath file, the importData(2) call changes to:

importData.XLSX("C:\\Users\<username>\Documents\Daily_Calculationsǂ005F\10_30.xlsx","Coefficients"

I.e., the string "\2021_\" becomes "ǂ005F\". It seems to have something to do with the underscore characters in the file path, or perhaps it's the "\2". Do I need an escape character in my pathname?
  • New Posts New Posts
  • No New Posts No New Posts