include

include - include() function allow you to include simple definitions from other documents. - 消息

#101 已发布: 2016/4/15 17:58:09
Ruben Sidranski

Ruben Sidranski

17个赞,共465个帖子。

组: 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 已发布: 2016/4/15 19:43:19
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

... just like this

Forum Include Proof.gif
#103 已发布: 2016/4/15 23:43:26
Ruben Sidranski

Ruben Sidranski

17个赞,共465个帖子。

组: 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 已发布: 2016/4/16 00:10:09
уни

уни

156个赞,共355个帖子。

组: User

βNlin() redefined (βNlin() := include() = 4).
Россия навсегда! Вячеслав Мезенцев
#105 已发布: 2017/7/25 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 已发布: 2017/7/26 02:31:54
Вячеслав Мезенцев

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

1,558个赞,共1,868个帖子。

组: 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 2017/7/26 06:49:00, Bence 2017/7/26 07:19:00
#107 已发布: 2017/7/26 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 已发布: 2017/9/5 04:52:41
Вячеслав Мезенцев

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

1,558个赞,共1,868个帖子。

组: Moderator

Updated (for SMath Studio 0.98.6437).
Russia ☭ forever, Viacheslav N. Mezentsev
2位用户喜欢此帖子
sergio 2017/9/5 12:13:00, frapuano 2017/9/6 09:09:00
#109 已发布: 2018/11/11 06:06:36
Martin_B

Martin_B

22个赞,共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 已发布: 2018/11/11 11:43:47
Ryan Freund

Ryan Freund

20个赞,共339个帖子。

组: User

I'm having the same issues.
#111 已发布: 2018/11/13 07:41:52
Вячеслав Мезенцев

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

1,558个赞,共1,868个帖子。

组: 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 已发布: 2019/2/22 07:44:06
Martin_B

Martin_B

22个赞,共84个帖子。

组: User

Hi,

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

include.png
1位用户喜欢此帖子
#113 已发布: 2019/2/22 08:40:39
Вячеслав Мезенцев

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

1,558个赞,共1,868个帖子。

组: Moderator

Updated. Try now.
Russia ☭ forever, Viacheslav N. Mezentsev
1位用户喜欢此帖子
Martin_B 2019/2/22 09:02:00
#114 已发布: 2019/2/22 09:00:54
Martin_B

Martin_B

22个赞,共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 已发布: 2019/2/22 10:20:27
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: 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 已发布: 2019/2/22 13:21:17
Martin_B

Martin_B

22个赞,共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 已发布: 2019/2/22 22:14:45
Вячеслав Мезенцев

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

1,558个赞,共1,868个帖子。

组: 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 已发布: 2019/2/23 10:56:29
Martin_B

Martin_B

22个赞,共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 已发布: 2019/2/23 13:10:39
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: 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 已发布: 2019/2/23 21:24:05
Вячеслав Мезенцев

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

1,558个赞,共1,868个帖子。

组: Moderator

Updated. Try now.
Russia ☭ forever, Viacheslav N. Mezentsev
1位用户喜欢此帖子
Martin_B 2019/2/24 05:20:00
  • 有新帖
  • 无新帖