include

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

#101 Posted: 4/15/2016 5:58:09 PM
Ruben Sidranski

Ruben Sidranski

17 likes in 463 posts.

Group: 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 Posted: 4/15/2016 7:43:19 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... just like this

Forum Include Proof.gif
#103 Posted: 4/15/2016 11:43:26 PM
Ruben Sidranski

Ruben Sidranski

17 likes in 463 posts.

Group: 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 Posted: 4/16/2016 12:10:09 AM
уни

уни

156 likes in 355 posts.

Group: User

βNlin() redefined (βNlin() := include() = 4).
Россия навсегда! Вячеслав Мезенцев
#105 Posted: 7/25/2017 10:59:19 AM
Bence

Bence

0 likes in 8 posts.

Group: 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 Posted: 7/26/2017 2:31:54 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: 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 users liked this post
Davide Carpi 7/26/2017 6:49:00 AM, Bence 7/26/2017 7:19:00 AM
#107 Posted: 7/26/2017 7:19:07 AM
Bence

Bence

0 likes in 8 posts.

Group: 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 Posted: 9/5/2017 4:52:41 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

Updated (for SMath Studio 0.98.6437).
Russia ☭ forever, Viacheslav N. Mezentsev
2 users liked this post
sergio 9/5/2017 12:13:00 PM, frapuano 9/6/2017 9:09:00 AM
#109 Posted: 11/11/2018 6:06:36 AM
Martin_B

Martin_B

21 likes in 84 posts.

Group: 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 users liked this post
Вячеслав Мезенцев 11/13/2018 7:42:00 AM
#110 Posted: 11/11/2018 11:43:47 AM
Ryan Freund

Ryan Freund

19 likes in 339 posts.

Group: User

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

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

1402 likes in 1708 posts.

Group: 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 Posted: 2/22/2019 7:44:06 AM
Martin_B

Martin_B

21 likes in 84 posts.

Group: User

Hi,

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

include.png
1 users liked this post
#113 Posted: 2/22/2019 8:40:39 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

Updated. Try now.
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
Martin_B 2/22/2019 9:02:00 AM
#114 Posted: 2/22/2019 9:00:54 AM
Martin_B

Martin_B

21 likes in 84 posts.

Group: 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 Posted: 2/22/2019 10:20:27 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: 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 Posted: 2/22/2019 1:21:17 PM
Martin_B

Martin_B

21 likes in 84 posts.

Group: 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 Posted: 2/22/2019 10:14:45 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: 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 Posted: 2/23/2019 10:56:29 AM
Martin_B

Martin_B

21 likes in 84 posts.

Group: 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 Posted: 2/23/2019 1:10:39 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: 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 users liked this post
#120 Posted: 2/23/2019 9:24:05 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

Updated. Try now.
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
Martin_B 2/24/2019 5:20:00 AM
  • New Posts New Posts
  • No New Posts No New Posts