1 страниц (4 вхождений)
importData() - Delimiter strings bug - Сообщения
#1 Опубликовано: 22.05.2021 18:03:25
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 (2 КиБ) скачан 30 раз(а).
spreadsheet.txt (98 Б) скачан 29 раз(а).

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 (2 КиБ) скачан 30 раз(а).
spreadsheet.txt (98 Б) скачан 29 раз(а).
#2 Опубликовано: 22.05.2021 18:43:31
Thank you. Fixed.
1 пользователям понравился этот пост
overlord 22.05.2021 20:02:00
#3 Опубликовано: 17.06.2021 14:58:52
#4 Опубликовано: 24.02.2024 00:53:15
WroteI 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.
1 страниц (4 вхождений)
-
Новые сообщения
-
Нет новых сообщений