Sheet subsections

Sheet subsections - A section of a global sheet could be treated like a subroutine with local variables - Сообщения

#1 Опубликовано: 14.12.2012 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 16.12.2012 03:08:00
#2 Опубликовано: 16.12.2012 04:02:31
Radovan Omorjan

Radovan Omorjan

325 сообщений из 2052 понравились пользователям.

Группа: 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 Опубликовано: 16.12.2012 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
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений