include

include - include() function allow you to include simple definitions from other documents. - Сообщения

#101 Опубликовано: 15.04.2016 17:58:09
Ruben Sidranski

Ruben Sidranski

17 сообщений из 463 понравились пользователям.

Группа: User

Wrote

Using Jean's files in the same directory, I updated to Mike's sheet and compared it to UNI's pdf ... I still have an error in the re-definition of BETA. Using latest SMath and plugins.

This is on my work computer ... not the one at home.
BTW, I tried with both files on my desktop and in the "C" drive.
Same Directory.PNG
#102 Опубликовано: 15.04.2016 19:43:19
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

... just like this

Forum Include Proof.gif
#103 Опубликовано: 15.04.2016 23:43:26
Ruben Sidranski

Ruben Sidranski

17 сообщений из 463 понравились пользователям.

Группа: User

Wrote

BETA.PNG

Not that BETA ... the one to the right of "FIT" per my screenshot. Everything up to that point matches UNI's PDF. I've tried moving the "BETA" down. I think that is why I have red boxes below.

#104 Опубликовано: 16.04.2016 00:10:09
уни

уни

156 сообщений из 355 понравились пользователям.

Группа: User

βNlin() redefined (βNlin() := include() = 4).
Россия навсегда! Вячеслав Мезенцев
#105 Опубликовано: 25.07.2017 10:59:19
Bence

Bence

0 сообщений из 8 понравились пользователям.

Группа: User

Hi!

Access to Windows Enviroment Variables would be really nice:

include("%SM_INCLUDE%\fn.sm"=10

Do you think it's possible?

Thank you
#106 Опубликовано: 26.07.2017 02:31:54
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Wrote


Do you think it's possible?


Yes, it is possible. Will be in new release.

2017-07-26_10-01-32.png


Russia ☭ forever, Viacheslav N. Mezentsev
2 пользователям понравился этот пост
Davide Carpi 26.07.2017 06:49:00, Bence 26.07.2017 07:19:00
#107 Опубликовано: 26.07.2017 07:19:07
Bence

Bence

0 сообщений из 8 понравились пользователям.

Группа: User

Awsome! Thank you!

Wrote

Wrote


Do you think it's possible?


Yes, it is possible. Will be in new release.

2017-07-26_10-01-32.png




#108 Опубликовано: 05.09.2017 04:52:41
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Updated (for SMath Studio 0.98.6437).
Russia ☭ forever, Viacheslav N. Mezentsev
2 пользователям понравился этот пост
sergio 05.09.2017 12:13:00, frapuano 06.09.2017 09:09:00
#109 Опубликовано: 11.11.2018 06:06:36
Martin_B

Martin_B

21 сообщений из 84 понравились пользователям.

Группа: User

Hi!

I updated to SMath Version 0.99.6884.
Include() cannot read Sheets saved with this SMath Version. The result looks like include(...)=0.
incl1.PNG

By examining the files I found the new worksheet tag. And the regions tag moved downwards.

after saving with 0.99.6884:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.99.6884.37264"?>
<worksheet xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings dpi="96">
    <shortcut>Formelsammlung</shortcut>
    <identity>
      <id>5f168c43-3307-422f-ab94-2a3c16977117</id>
      <revision>775</revision>
    </dependencies>
  </settings>
  <regions type="content">
    <region id="0" left="567" top="0" width="104" height="215" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>

Maybe that's the reason?
1 пользователям понравился этот пост
#110 Опубликовано: 11.11.2018 11:43:47
Ryan Freund

Ryan Freund

19 сообщений из 339 понравились пользователям.

Группа: User

I'm having the same issues.
#111 Опубликовано: 13.11.2018 07:41:52
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Wrote

By examining the files I found the new worksheet tag. And the regions tag moved downwards.


Updated (plugin version changed to 0.2.x.x). Try now.

Old worksheets must be saved in the new format.
Russia ☭ forever, Viacheslav N. Mezentsev
#112 Опубликовано: 22.02.2019 07:44:06
Martin_B

Martin_B

21 сообщений из 84 понравились пользователям.

Группа: User

Hi,

found a little bug in include():
Strings containing only one space " " are imported as an empty string.

include.png
1 пользователям понравился этот пост
#113 Опубликовано: 22.02.2019 08:40:39
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Updated. Try now.
Russia ☭ forever, Viacheslav N. Mezentsev
1 пользователям понравился этот пост
Martin_B 22.02.2019 09:02:00
#114 Опубликовано: 22.02.2019 09:00:54
Martin_B

Martin_B

21 сообщений из 84 понравились пользователям.

Группа: User

What a quick answer!

I forgot to mention, that I use the latest stable 0.99.6884.

As the plugin is not offered through the plugins dialog, I downloaded the latest file directly and replaced the current one.
But that doesn't work:

Include_error.PNG
#115 Опубликовано: 22.02.2019 10:20:27
Davide Carpi

Davide Carpi

1415 сообщений из 2872 понравились пользователям.

Группа: Moderator

Wrote

I use the latest stable 0.99.6884.

As the plugin is not offered through the plugins dialog, I downloaded the latest file directly and replaced the current one.
But that doesn't work:



The plugin was compiled for a more recent SMath Studio, that's why you can't get it through the extensions manager and why you get the error message (in short the library rely on a different interface than the one available in your version, they can't talk each other)
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#116 Опубликовано: 22.02.2019 13:21:17
Martin_B

Martin_B

21 сообщений из 84 понравились пользователям.

Группа: User

Wrote

Updated. Try now.



Is working, with 0.99.6988

Thanks a lot.
Could you update the plugin for the latest stable, please?

Edit:
I have a more comprehensive sheet, which I include:
now (0.99.6988 with updated include extension) the result of include is shown as usual (98 elements), but they are not accessible:
At first start a few equations were present, but finally I can't get it to work.
I can't even say, if the beta Smath app or if the extension is making troubles.

include_fehler.png

The old extension 0.2.6982.28030 works correctly, apart from " ".

include_alt.png
#117 Опубликовано: 22.02.2019 22:14:45
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Updated. Added support for 0.99.6884.

Wrote

I have a more comprehensive sheet, which I include:
now (0.99.6988 with updated include extension) the result of include is shown as usual (98 elements), but they are not accessible:
At first start a few equations were present, but finally I can't get it to work.
I can't even say, if the beta Smath app or if the extension is making troubles.


Show me .log file from the plugin directory.
Russia ☭ forever, Viacheslav N. Mezentsev
#118 Опубликовано: 23.02.2019 10:56:29
Martin_B

Martin_B

21 сообщений из 84 понравились пользователям.

Группа: User

Wrote

Updated. Added support for 0.99.6884.
Show me .log file from the plugin directory.



Here you are:

23.02.2019 14:51:58 [ERROR] Das Objekt des Typs "System.Xml.XmlWhitespace" kann nicht in Typ "System.Xml.XmlElement" umgewandelt werden.
>The object of type ... cannot be converted to ...<
#119 Опубликовано: 23.02.2019 13:10:39
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: User

Wrote

Hi,

found a little bug in include():
Strings containing only one space " " are imported as an empty string.

include.png



Hi. Related, but in SMath:

spaces.gif

Best regards.
Alvaro.

1 пользователям понравился этот пост
#120 Опубликовано: 23.02.2019 21:24:05
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Updated. Try now.
Russia ☭ forever, Viacheslav N. Mezentsev
1 пользователям понравился этот пост
Martin_B 24.02.2019 05:20:00
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений