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
 Origin Forum
 typing negative values in script windows
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

pwel

Netherlands
2 Posts

Posted - 12/09/2002 :  08:23:13 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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.

cpyang

USA
1406 Posts

Posted - 12/09/2002 :  08:47:32 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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)";



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