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
 ^ operator problem with negative values

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
peter.cook Posted - 08/26/2009 : 07:32:55 AM
OriginPro 7.5 SR6

Hi,

When I open a project file with variuos attached files (.ogs, .cnf, .cpp) the following code does not work :

tempv = 3;
tempv^=-1;
'tempv =' returns a missing value

tempv^=2 returns 9 correctly.

If I open a new project tghen the functionality returns so tempv^=-1 returns the correct value.

I'd appreciate any ideas??

Thanks,

Cheers,

pete
1   L A T E S T    R E P L I E S    (Newest First)
greg Posted - 08/31/2009 : 1:41:45 PM
I would guess that some errant code that runs when you open that particular project creates a dataset named tempv or that the project already has a dataset named tempv.

Do a LIST S in that project to see if TEMPV turns up.

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