Sheet subsections

Sheet subsections - A section of a global sheet could be treated like a subroutine with local variables - 消息

#1 已发布: 2012/12/14 20:19:56
Rising Eagle

Rising Eagle

15个赞,共23个帖子。

组: User

In a sheet, the declarations and equations are global. We could draw a rectangle that sections off an area of the sheet where the environment is set up as local for local variables like the line function (local in exactly the same way that a line function works) but that still has the free-form nature of the global sheet, as opposed to the restricted linear format imposed by the line function. This would allow us to make tangential and corollary mathematical developments. A segment at the bottom of the rectangle would allow final assignment(s) to pass results back out to the global sheet. Sort of a free-form version of the line function.
1位用户喜欢此帖子
Radovan Omorjan 2012/12/16 03:08:00
#2 已发布: 2012/12/16 04:02:31
Radovan Omorjan

Radovan Omorjan

325个赞和1个踩,共2,052个帖子。

组: Moderator

Hello Rising Eagle,

First of all, thank you for all your quite interesting and useful posts up to now. I am looking forward to more of them

If I understood you well regarding a subsheet option and the line() function, I suppose that suggestion coincide with some kind of worksheet area (Insert|area) where the newly defined variables and functions are supposed to be local to that area and not known to the global sheet. There should be an option to pass some assignments to the global sheet - maybe via global assignment already present in SMath (using ~ in front of a variable, although this might be confusing and a bad idea). On the other hand, it crossed my mind that this extension might apply to the snippets as well. Actually, snippets might have input and output variables and play some similar role like a function using line().

I hope I was right about all of this.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#3 已发布: 2012/12/16 08:07:37
Rising Eagle

Rising Eagle

15个赞,共23个帖子。

组: User

Wrote

Hello Rising Eagle,

First of all, thank you for all your quite interesting and useful posts up to now. I am looking forward to more of them

If I understood you well regarding a subsheet option and the line() function, I suppose that suggestion coincide with some kind of worksheet area (Insert|area) where the newly defined variables and functions are supposed to be local to that area and not known to the global sheet. There should be an option to pass some assignments to the global sheet - maybe via global assignment already present in SMath (using ~ in front of a variable, although this might be confusing and a bad idea). On the other hand, it crossed my mind that this extension might apply to the snippets as well. Actually, snippets might have input and output variables and play some similar role like a function using line().

I hope I was right about all of this.

Regards,
Radovan



Radovan,

You are absolutely correct. Yours is a more thorough description of exactly what I had in mind than my own. I was unaware of the ~ operator. Thank you for pointing that out. I have been following your stewardship of the forums here for years and thank you for your innumerable interesting posts all this time.

Rising Eagle
  • 有新帖
  • 无新帖