1 страниц (12 вхождений)
Rom2Arab - Arab2Rom - Сообщения
#1 Опубликовано: 18.10.2023 22:06:10
#2 Опубликовано: 19.10.2023 00:53:00
Really it's a very strange bahavior (a bug ?), because the value of variable n is cleared when function returns from Arab2Rom()
So, a solution is to use functions fwrite() and rfile() to save the value of n on a file as a memory:

See the atachment with the solution: Rome-Arab SOLVED.sm (41 КиБ) скачан 17 раз(а).
best,
Oscar
So, a solution is to use functions fwrite() and rfile() to save the value of n on a file as a memory:
See the atachment with the solution: Rome-Arab SOLVED.sm (41 КиБ) скачан 17 раз(а).
best,
Oscar
1 пользователям понравился этот пост
Valery Ochkov 19.10.2023 01:08:00
#4 Опубликовано: 19.10.2023 01:42:23
#5 Опубликовано: 19.10.2023 01:52:56
WroteThanks!
But this have an error too!
Rom2Arab.sm (293 КиБ) скачан 22 раз(а).
That's another function, not similar with the others above. Here the problem is the origin in Mathcad for strings. Try to set ORIGIN = 1 in Mathcad and rewrite the code.
Best regards.
Alvaro.
#6 Опубликовано: 19.10.2023 02:13:24
WroteWroteThanks!
But this have an error too!
Rom2Arab.sm (293 КиБ) скачан 22 раз(а).
That's another function, not similar with the others above. Here the problem is the origin in Mathcad for strings. Try to set ORIGIN = 1 in Mathcad and rewrite the code.
Best regards.
Alvaro.
#7 Опубликовано: 19.10.2023 02:43:57
1 пользователям понравился этот пост
Valery Ochkov 19.10.2023 02:49:00
#8 Опубликовано: 19.10.2023 02:49:12
#9 Опубликовано: 23.10.2023 00:30:24
#10 Опубликовано: 23.10.2023 01:34:42
If I remember correctly, 1988 a bottle of vodka (0.5l) was 3 rubles (if you got it at all, it was the time of prohibition - сухой закон). Therefore the 3-ruble-notes.
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 пользователям понравился этот пост
Valery Ochkov 23.10.2023 02:31:00
#11 Опубликовано: 23.10.2023 02:24:31
#12 Опубликовано: 28.10.2023 16:11:54
1 страниц (12 вхождений)
-
Новые сообщения
-
Нет новых сообщений