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
 Re: Greg
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Oliver Stoll

Tuebingen, Germany
2 Posts

Posted - 01/05/1999 :  7:27:00 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi Greg,
Thanks for your fast response. I dont think that the code is the cause for the problem.
If I run the script for example with the run command it executes properly. Only by execution directly from the script window, it crashes.
But if I do execute it with "run" I have another strange problem. The variables are not initialized properly.
If I initialize for example a for-loop with i=1

for (i=1; i<=200; i+=1) {script};

then I get a value of i=200 (maximum allowed value) even in the first turn of the loop so that it executes only once.

greg

USA
1379 Posts

Posted - 01/05/1999 :  7:10:00 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Whenever you experience a script problem, you would be better served by working with Technical Support directly. In your case that would be through:
origin@additive-net.de

Send the complete script along with specific instructions how it should be used and details of what precisely is not working.

Testing:

for(i=1;i<=200;i++) {i=;}

works fine, so there must be something in the main part of the script that is not working, but from the information so far I have no idea what that could be. Just as a suggestion, try using ii in place of i in the script. Origin uses i internally during some operations, so if your main script triggers any of those operations, the script could behave unpredictably.



P.S. To keep a discussion thread in 'one piece' you should go to the page containing the questions and replies and respond by clicking the Reply link.

[This message has been edited by Greg (edited 01-05-99).]

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