Error

 Previous Topic Next Topic
 Andrey Ivashov #1 Posted : 01 June 2012 01:55:30(UTC) Rank: AdministrationGroups: Developers, Registered, Knovel Developers, Administrators, Advanced MemberJoined: 11/07/2008(UTC)Posts: 1,603Was thanked: 1972 time(s) in 661 post(s) New feature is introduced in SMath Studio 0.94.4535 - Absolute Definitions.The same is for functions (which starts from ~).This feature is not the same as used in Mathcad (called Global Definitions). Absolute Definitions designed to introduce a built-in way to send data from the bottom of the Worksheet to it's top.Example: absoluteDefinitionsExample.sm.Any questions are welcome Best regards, Andrey Ivashov. 2 users thanked Andrey Ivashov for this useful post. on 01/06/2012(UTC),  on 01/06/2012(UTC)
 Wanna join the discussion?! Login to your SMath Studio Forum forum accountor Register a new forum account.
 omorr #2 Posted : 01 June 2012 12:12:52(UTC) Rank: AdministrationGroups: Registered, Advanced MemberJoined: 23/06/2009(UTC)Posts: 1,740Was thanked: 318 time(s) in 268 post(s) Hello Andrey,Thank you for this new feature. I have to say that using those variables might be quite useful, but sometimes a bit confusing.Regarding your example, and by playing a bit, I could see that the region will be "someVar=0" when you open the file. When you repeat Recalculate page, someVar will have values 1,2,3,4.....which is expected to be. On the other hand if you move that region above and below if clause subsequently, then the values will have step two, actually you will get 21,23,25...I've also noted that with the simple example1: a:=12: a:=a+13: a=24: a:=6Now, if you move 4: below 1: you will get ("a" will be 7 as expected)1: a:=14: a:=62: a:=a+13: a=7When you just move it back, then "a" becomes 8?If you continue moving 4: below 1: and back, value of "a" will get values 7 and 8 subsequently1: a:=12: a:=a+13: a=84: a:=6When you recalculate page at this time, "a" will become 2, as expected.Is there something I do not understand here?. I think that this moving the definition of an absolute variable above and below the region when that variable changes the value is a bit problematic at the moment. I think that variable should not change the value when we get it back. Aactualy, I think that variable "a" should retain the value 7 and not change to 8.Regards,RadovanEdited by user 01 June 2012 12:19:16(UTC)  | Reason: Not specified When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" 1 user thanked omorr for this useful post. on 01/06/2012(UTC)
 kmihaylovich #3 Posted : 01 June 2012 12:28:18(UTC) Rank: MemberGroups: Registered Joined: 22/06/2010(UTC)Posts: 13Location: ПитерWas thanked: 5 time(s) in 4 post(s) This is because program evaluates only expressions affected by the change. So when you move a back to the bottom SMath Studio performs evaluation starting from second expression and not from the top. 1 user thanked kmihaylovich for this useful post. on 01/06/2012(UTC)
 omorr #4 Posted : 01 June 2012 14:01:47(UTC) Rank: AdministrationGroups: Registered, Advanced MemberJoined: 23/06/2009(UTC)Posts: 1,740Was thanked: 318 time(s) in 268 post(s) Hello,Originally Posted by: kmihaylovich This is because program evaluates only expressions affected by the change. So when you move a back to the bottom SMath Studio performs evaluation starting from second expression and not from the top.Thank you, I think I understand now By the way, could someone reproduce this. I tried to make an absolute function and then the region disappeared, and everything else disappeared. I got it back by clicking in the worksheet area. It happened to me few times before, sometimes SMath crashed, but could not reproduce it. Look at this video, please.Regions disappearRegards,Radovan When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
 Davide Carpi #5 Posted : 01 June 2012 14:33:19(UTC) Rank: Advanced MemberGroups: Registered, Advanced MemberJoined: 13/01/2012(UTC)Posts: 2,540Location: ItalyWas thanked: 1270 time(s) in 835 post(s) Originally Posted by: omorr Hello,...By the way, could someone reproduce this. I tried to make an absolute function and then the region disappeared, and everything else disappeared. I got it back by clicking in the worksheet area. It happened to me few times before, sometimes SMath crashed, but could not reproduce it. Look at this video, please.Regions disappearRegards,RadovanI confirm... it's not the absolute value, but the assignment ":" (sequence to reproduce the issue: ~ -> f -> ( -> x -> "->" -> : )the ~ can be obtained by typing "Alt" + 0126 (from numpad)I think the bolded function obtained by typing ~ before the name can be very interesting...regards,w3b5urf3rEdited by user 02 June 2012 22:58:01(UTC)  | Reason: Not specified If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
 omorr #6 Posted : 01 June 2012 14:40:27(UTC) Rank: AdministrationGroups: Registered, Advanced MemberJoined: 23/06/2009(UTC)Posts: 1,740Was thanked: 318 time(s) in 268 post(s) Thank you,Originally Posted by: w3b5urf3r_reloaded I confirm... it's not the absolute value, but the assignement ":"I agree and it seems it happened sometimes when the assignment is used. I just bumped into it when tried to use absolute functions.I think this might be considered as a bug then.Regards,Radovan When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
 Jean Giraud #8 Posted : 16 February 2016 07:33:11(UTC) Rank: GuestGroups: Registered Joined: 04/07/2015(UTC)Posts: 6,397Was thanked: 928 time(s) in 756 post(s) Hiiiiiiiiiiii !Can hardly see the Smath work sheet attached.Jean
 Jean Giraud #9 Posted : 16 February 2016 07:51:46(UTC) Rank: GuestGroups: Registered Joined: 04/07/2015(UTC)Posts: 6,397Was thanked: 928 time(s) in 756 post(s) Originally Posted by: Davide Carpi I think the bolded function obtained by typing ~ before the name can be very interesting...Not so sure, to see capital phi => size 24Jean Scrap Bold.sm (5kb) downloaded 54 time(s).
 Davide Carpi #10 Posted : 16 February 2016 10:32:22(UTC) Rank: Advanced MemberGroups: Registered, Advanced MemberJoined: 13/01/2012(UTC)Posts: 2,540Location: ItalyWas thanked: 1270 time(s) in 835 post(s) "Everything is relative"If you are working in a worksheet where 24pt is the default font-size, shouldn't be a problem.But yes, bold notation has his own limits (even when used to distinguish a matrix from a scalar) :P If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
 Jean Giraud #11 Posted : 16 February 2016 17:42:04(UTC) Rank: GuestGroups: Registered Joined: 04/07/2015(UTC)Posts: 6,397Was thanked: 928 time(s) in 756 post(s) Smath recognises Alt+0key, but not Alt+0key symbol.Smath does not have the "Font" pluginStill very interesting for publishing.Jean
 Users browsing this topic
 Similar Topics Absolute definitions? (Questions) by Dudebro 02/01/2021 21:03:20(UTC)
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.