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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Assigning field values to LT variables
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

dlw21

USA
18 Posts

Posted - 01/30/2003 :  2:39:21 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

Mike Buess

USA
3037 Posts

Posted - 01/30/2003 :  2:59:41 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

dlw21

USA
18 Posts

Posted - 01/30/2003 :  3:08:48 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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

Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000