include

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

#101 Publicado: 15/4/2016 17:58:09
Ruben Sidranski

Ruben Sidranski

17 me gusta en 465 mensajes.

Grupo: 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 Publicado: 15/4/2016 19:43:19
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

... just like this

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

Ruben Sidranski

17 me gusta en 465 mensajes.

Grupo: 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 Publicado: 16/4/2016 0:10:09
уни

уни

156 me gusta en 355 mensajes.

Grupo: User

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

Bence

0 me gusta en 8 mensajes.

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

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

1.558 me gusta en 1.868 mensajes.

Grupo: 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
A 2 usuarios les gustó este mensaje
Davide Carpi 26/7/2017 6:49:00, Bence 26/7/2017 7:19:00
#107 Publicado: 26/7/2017 7:19:07
Bence

Bence

0 me gusta en 8 mensajes.

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

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

1.558 me gusta en 1.868 mensajes.

Grupo: Moderator

Updated (for SMath Studio 0.98.6437).
Russia ☭ forever, Viacheslav N. Mezentsev
A 2 usuarios les gustó este mensaje
sergio 5/9/2017 12:13:00, frapuano 6/9/2017 9:09:00
#109 Publicado: 11/11/2018 6:06:36
Martin_B

Martin_B

22 me gusta en 84 mensajes.

Grupo: 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?
A 1 usuarios les gustó este mensaje
#110 Publicado: 11/11/2018 11:43:47
Ryan Freund

Ryan Freund

20 me gusta en 339 mensajes.

Grupo: User

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

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

1.558 me gusta en 1.868 mensajes.

Grupo: 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 Publicado: 22/2/2019 7:44:06
Martin_B

Martin_B

22 me gusta en 84 mensajes.

Grupo: User

Hi,

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

include.png
A 1 usuarios les gustó este mensaje
#113 Publicado: 22/2/2019 8:40:39
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: Moderator

Updated. Try now.
Russia ☭ forever, Viacheslav N. Mezentsev
A 1 usuarios les gustó este mensaje
Martin_B 22/2/2019 9:02:00
#114 Publicado: 22/2/2019 9:00:54
Martin_B

Martin_B

22 me gusta en 84 mensajes.

Grupo: 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 Publicado: 22/2/2019 10:20:27
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: 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 Publicado: 22/2/2019 13:21:17
Martin_B

Martin_B

22 me gusta en 84 mensajes.

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

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

1.558 me gusta en 1.868 mensajes.

Grupo: 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 Publicado: 23/2/2019 10:56:29
Martin_B

Martin_B

22 me gusta en 84 mensajes.

Grupo: 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 Publicado: 23/2/2019 13:10:39
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: 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.

A 1 usuarios les gustó este mensaje
#120 Publicado: 23/2/2019 21:24:05
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: Moderator

Updated. Try now.
Russia ☭ forever, Viacheslav N. Mezentsev
A 1 usuarios les gustó este mensaje
Martin_B 24/2/2019 5:20:00
  • Nuevos mensajes
  • Sin mensajes nuevos