Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 509 time(s) in 339 post(s)
|
importData() function doesn't respect the string input for any of delimiters. Function only accepts if delimiters are 0 in SMath, string inputs are giving error to wrong file format. Column separator should be space, decimal separator should be dot, argument separator should be semicolon in file. All delimiter separators couldn't be read even if they are specified as strings to default values in function. Additionally, I get that strings should be in quotes while importing to SMath but this is not productive. If there was an option for f.sym to read non-quoted text as string it would be very good. This option could be set as integer 2 for f.sym and eliminates to manually add quotes for strings in file. I encountered this on linux. In order to check if I am not wrong doing also checked on windows. Function acts same on Both operating systems. Regards PS: I had to rename filename csv to txt to upload here. Usually filetype for these files is csv. Worksheet1.sm (3kb) downloaded 9 time(s). spreadsheet.txt (1kb) downloaded 10 time(s).Edited by user 23 May 2021 00:05:50(UTC)
| Reason: Not specified
|
|
|
|
Rank: Administration Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member Joined: 11/07/2008(UTC) Posts: 1,616 Was thanked: 1978 time(s) in 666 post(s)
|
|
1 user thanked Andrey Ivashov for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 509 time(s) in 339 post(s)
|
Originally Posted by: Andrey Ivashov Thank you. Fixed. I noticed another bug. If you enter first row and leave last row as 0, file is read properly. Same action is not working with column delimiters. It expects a number, don't accept zero as last column delimiter. Function throws a bug. Regards
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 509 time(s) in 339 post(s)
|
Originally Posted by: overlord I noticed another bug. If you enter first row and leave last row as 0, file is read properly. Same action is not working with column delimiters. It expects a number, don't accept zero as last column delimiter. Function throws a bug.
Regards This has not been fixed as it seems.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.