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
 Re: Greg

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
Oliver Stoll Posted - 01/05/1999 : 7:27:00 PM
Hi Greg,
Thanks for your fast response. I donīt 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.

1   L A T E S T    R E P L I E S    (Newest First)
greg Posted - 01/05/1999 : 7:10:00 PM
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).]


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