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
 Origin Forum
 typing negative values in script windows

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
pwel Posted - 12/09/2002 : 08:23:13 AM
Since recently, I have problems with typing negative numbers in the script windows.
the following script:

a=-1;
type $(-1);

returns with a blank. Any other operations with negative numbers work well! I didn't have this problem before!
I work with origin 6.0 SR4 on windows nt 4.0.

1   L A T E S T    R E P L I E S    (Newest First)
cpyang Posted - 12/09/2002 : 08:47:32 AM
The type command support options in the form of unix styles switches. So you should put quotes around your string, otherwise the '-' will be interpreted as a switch, so this should work

type "$(-1)";




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