Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


8 Pages«<23456>»
Options
Go to last post Go to first unread
Offline brotjob  
#61 Posted : 16 December 2014 21:54:45(UTC)
brotjob


Rank: Advanced Member

Groups: Registered
Joined: 18/09/2014(UTC)
Posts: 71
Switzerland

Was thanked: 7 time(s) in 7 post(s)
I can confirm this bug. I am sure Viacheslav will find a fix for this.

But what I still don't understand: Shall we see the include plugin as the definitive solution or shall we push to get a smath integrated core include function? I ask this because Vicheslav himself wrote that only Andrey can program a "real" include.
Offline Owndante  
#62 Posted : 17 December 2014 10:45:35(UTC)
Owndante


Rank: Member

Groups: Registered
Joined: 28/11/2014(UTC)
Posts: 15

Was thanked: 1 time(s) in 1 post(s)
There are a few extensions that I would gladly see it in the core software, and "include" in one of them.
Offline uni  
#63 Posted : 17 December 2014 11:52:51(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,493
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
I spoke with Andrey on this. He is not yet able to implement it as an internal function. He said that the full realization of such function is difficult now. But in the future it is planned.

As for the bug. Functions (regions) from the external plug-ins (for the include file) are not supported yet. I'll try to add such possibility, but not sure what I can. I did not expect such use. You ask for features that should support mathematical package, but not a simple function.
Russia ☭ forever
Viacheslav N. Mezentsev
Offline Owndante  
#64 Posted : 17 December 2014 13:41:41(UTC)
Owndante


Rank: Member

Groups: Registered
Joined: 28/11/2014(UTC)
Posts: 15

Was thanked: 1 time(s) in 1 post(s)
Thanks!
Offline RFreund  
#65 Posted : 18 December 2014 21:21:02(UTC)
RFreund


Rank: Advanced Member

Groups: Registered
Joined: 25/09/2013(UTC)
Posts: 325
United States
Location: IL

Was thanked: 19 time(s) in 17 post(s)
Is it correct that the variables/values in the referenced file cannot be inside of an 'area'?
Offline uni  
#66 Posted : 18 December 2014 21:44:41(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,493
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
As I wrote above, we have found a bug in the program when saving a file with the areas. The error is related to the wrong location closing tag for the area. This leads to the fact that the function incorrectly interprets the data in the other areas or to ignore them. Andrey will fix this. After that you can use the variables within areas.
Russia ☭ forever
Viacheslav N. Mezentsev
Offline uni  
#67 Posted : 08 April 2015 11:31:50(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,493
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Originally Posted by: uni Go to Quoted Post
As I wrote above, we have found a bug in the program when saving a file with the areas. The error is related to the wrong location closing tag for the area. This leads to the fact that the function incorrectly interprets the data in the other areas or to ignore them. Andrey will fix this. After that you can use the variables within areas.

Examples.

File Attachment(s):
a.sm (5kb) downloaded 56 time(s).
b.sm (6kb) downloaded 49 time(s).
c.sm (9kb) downloaded 48 time(s).
Russia ☭ forever
Viacheslav N. Mezentsev
Offline bAiLeY  
#68 Posted : 16 June 2015 21:50:31(UTC)
bAiLeY

Rank: Newbie

Groups: Registered
Joined: 02/06/2015(UTC)
Posts: 3

Is there any update on the Areas bug?
Offline uni  
#69 Posted : 05 August 2015 20:57:19(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,493
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Originally Posted by: bAiLeY Go to Quoted Post
Is there any update on the Areas bug?

Bug was fixed in the SMath Studio 0.97.5581, but something wrong happening again with the nested function call.

Russia ☭ forever
Viacheslav N. Mezentsev
Offline uni  
#70 Posted : 07 August 2015 19:37:14(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,493
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Updated.
Russia ☭ forever
Viacheslav N. Mezentsev
Offline RFreund  
#71 Posted : 27 August 2015 17:17:42(UTC)
RFreund


Rank: Advanced Member

Groups: Registered
Joined: 25/09/2013(UTC)
Posts: 325
United States
Location: IL

Was thanked: 19 time(s) in 17 post(s)
I was just curious - has there been any updates regarding the use of areas and include.
As I understand it. If there is work inside of an area it will not be transferred to the file which uses the 'include' statement, correct?
I could see this being good and bad. It's nice to have a way to keep variables from following to the include file but at the same time I use areas to help organize my sheets, hmm....
Offline uni  
#72 Posted : 07 September 2015 08:01:19(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,493
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Hmm... I see now that include function supports only one level depth for areas, variables in nested areas are invisible. I'll try to fix this.
Russia ☭ forever
Viacheslav N. Mezentsev
Offline RFreund  
#73 Posted : 04 October 2015 04:52:26(UTC)
RFreund


Rank: Advanced Member

Groups: Registered
Joined: 25/09/2013(UTC)
Posts: 325
United States
Location: IL

Was thanked: 19 time(s) in 17 post(s)
It's actually not so bad to have Nested areas not transfer as it provides a way to keep some variables from not transferring.
However, a problem occurs when I have a function that is nested in an area. For example:

In sheet 1 the values for q.WL are found from a function which is in a collapsed area.
In sheet 2 we include "sheet 1.sm". We ask for the values of q.WL however they cannot be retrieved because it claims that the function is not defined.

I'd like the include to include the values in q.WL without requiring the function to be brought into sheet 2. At least I think that's what I would want...
Offline RFreund  
#74 Posted : 20 October 2015 21:39:12(UTC)
RFreund


Rank: Advanced Member

Groups: Registered
Joined: 25/09/2013(UTC)
Posts: 325
United States
Location: IL

Was thanked: 19 time(s) in 17 post(s)
What about including only certain variables?
Offline RFreund  
#75 Posted : 20 October 2015 23:41:30(UTC)
RFreund


Rank: Advanced Member

Groups: Registered
Joined: 25/09/2013(UTC)
Posts: 325
United States
Location: IL

Was thanked: 19 time(s) in 17 post(s)
Another issue seems to be including variables which were defined in a "For Loop". Not sure why that is. Any thoughts?
Offline uni  
#76 Posted : 21 October 2015 14:40:37(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,493
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Because it creates a set of variable definitions I think. This is normal.
Russia ☭ forever
Viacheslav N. Mezentsev
Offline RFreund  
#77 Posted : 21 October 2015 15:38:02(UTC)
RFreund


Rank: Advanced Member

Groups: Registered
Joined: 25/09/2013(UTC)
Posts: 325
United States
Location: IL

Was thanked: 19 time(s) in 17 post(s)
So is there anyway to include variables created in for loops?
Offline uni  
#78 Posted : 21 October 2015 15:56:20(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,493
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Show me an example. What do you have and what you want to avoid.
Russia ☭ forever
Viacheslav N. Mezentsev
Offline RFreund  
#79 Posted : 24 October 2015 20:12:53(UTC)
RFreund


Rank: Advanced Member

Groups: Registered
Joined: 25/09/2013(UTC)
Posts: 325
United States
Location: IL

Was thanked: 19 time(s) in 17 post(s)
Uni ->

Attached is the file that I had problems with. There is a lot of information there that I was trying to whittle down but I kept messing up the actual issue. I did however find where the problem occurs:
I define a matrix by placing a summation into the matrix. Then this variable is used in a "for" loop. I'm not sure where the error occurs.
There are three .sm files - I only included "loads" so that the they would all work properly but I don't think there is anything useful in there. I've highlighted the issue in red which occurs in the "Loads - EQ Low_Test.sm" file. The problem is seen on the Test.sm file.

Let me know if it is too confusing; I can continue to try and reduce the files.

Thanks!
File Attachment(s):
Include.7z (801kb) downloaded 44 time(s).
thanks 1 user thanked RFreund for this useful post.
on 24/10/2015(UTC)
Offline Jean Giraud  
#80 Posted : 25 October 2015 06:53:43(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
There are a few extensions that I would gladly see it in the core software, and "include" in one of them. [Owndante]
________________________

The Smath version I downloaded April 2015 comes with "include(,)", Smath menu, f(x), here is.
It looks doing something like "Reference" in Mathcad. In ~ 125000 exchanges Mathsoft Collaboratory
I bet < 12 work sheets were exchanged with reference to other work sheet. It might be useful in Smath
from prime consideration but in fact it is limited to specific functions, some type of program that
would be cumbersome otherwise ... but the collapsed area is a much better approach as it keeps the
document stand alone. The Smath collapsed area has its own problem. In my Smath version, it doesn't
push down the regions below the collapsed area ... result: when collapsing again all the regions
are messed and very hard to recuperate. Surprising because *.Sm from Draghilev method they push down
the regions.
All that said, a good example for "include(,) is the Bessel JZERO, JONE, YZERO, YONE
They are monster formulas that one is better let them sleep hiden. Another good use would be to
collect Physical/Chemical/.... constants as well as the several pages of Mathcad constants.
If somebody wants them, just ask for ,,, *.bmp, bingo and patience to reinstall in Smath.

Thanks, very interesting.

Cheers, Jean.
Users browsing this topic
Similar Topics
Display formula stored in "Included" SMath file (Questions)
by faruk 10/03/2024 23:36:28(UTC)
include files @ startup (Questions)
by charlamb 10/05/2023 23:44:05(UTC)
Adidas include guaranteed with the 12 months (Bugs & Problems)
by guanyansb 11/12/2020 07:02:55(UTC)
include function issues (Questions)
by jrufener 01/06/2019 21:44:47(UTC)
[include plugin] missing LinqBridge.dll error in SMath Viewer executables (Bugs & Problems)
by resist 24/11/2017 18:07:37(UTC)
Include [User Program Function] (Feature Requests)
by Jean Giraud 16/04/2016 15:29:14(UTC)
"include" plugin: default directory setting (Feature Requests)
by mikekaganski 04/04/2016 07:19:58(UTC)
Include and Combobox Region (Questions)
by RFreund 01/03/2016 02:18:21(UTC)
include does not seem to work anymore (Bugs & Problems)
by Tinu 23/06/2014 09:56:03(UTC)
Even so Kobe Shoes includes by no means offered " up " their particular method to Nike Air condition (Questions)
by gladys 07/06/2014 05:27:07(UTC)
Include Hook Sections (Feature Requests)
by sublim21 29/05/2013 21:23:33(UTC)
Include ksi and ksf in next release (Feature Requests)
by TheWizEd 17/07/2010 22:42:11(UTC)
Include function (Feature Requests)
by LordMike 24/10/2009 05:15:45(UTC)
8 Pages«<23456>»
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.