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
 Assigning field values to LT variables

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
dlw21 Posted - 01/30/2003 : 2:39:21 PM
Hello,

Since upgrading to SR3, I have encountered some odd behavior. I have a DialogBuilder DLL .OGS script that has lines of the following form:

maxE = Tab.Sys.Egap.v1;

which USED to assign the value in the Edit box associated with "Tab.Sys.Egap" to the variable maxE, which would later be passed into an OriginC function.

Now, the debugger reports several things to me:
1) Tab.Sys.Egap.v1 has the value I expect
2) maxE is not recognized at all as a variable
3) the variable that "receives" maxE inside the OriginC code reports its value to be NANUM (obviously this is bad!)

Has something about the assignment semantics changed?

Thanks,
Dave

2   L A T E S T    R E P L I E S    (Newest First)
dlw21 Posted - 01/30/2003 : 3:08:48 PM
Mike,

Ack! Your instincts are right on the money.

Your suggestion solved that problem, but others have now cropped up -- but they may be related to the same thing, so I am going to comb thru the code and make this change and see what happens.

Thanks!
Dave

Mike Buess Posted - 01/30/2003 : 2:59:41 PM
Hi Dave,

This is a shot in the dark, but does the full assignment method work?

maxE = DialogName!Tab.Sys.Egap.v1;

Mike Buess
Origin WebRing Member

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