The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Project range variable

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
muh Posted - 06/25/2021 : 08:06:34 AM
Is there any way to create a project-scope range variable? Doc says that project level variables are created when un-declared double, string or dataset variable is used (rather strange way of doing things). But this does not work with range variables, which is pity, since I have couple of ranges, which I use as functions. Workaround is to put them in ProjectEvents.ogs with @glob qualifier; but is there a straight way of doing this?
4   L A T E S T    R E P L I E S    (Newest First)
cpyang Posted - 06/25/2021 : 3:32:11 PM
We are adding named range for next version (2022) and it will do exactly that, to define a named range with scope for project. Named range scope will be Sheet, Book, Project.

CP
YimingChen Posted - 06/25/2021 : 1:45:55 PM
Right, this is the only way to go.

muh Posted - 06/25/2021 : 10:06:15 AM
This _is_ my workaround. Exactly what I wrote above.
YimingChen Posted - 06/25/2021 : 08:51:38 AM
Can you just define the range variables under the AfterOpenDoc section in ProjectEvents.ogs? Then each time the project is loaded, the script under this section gets executed to create the range variables.

James

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000