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
 can't customize iteration

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
Song421 Posted - 09/19/2017 : 08:54:07 AM
Dear all,
I have two sections that do the same thing.However, the second one doesn't work(nothing happens!).
I really appreciate your help.
Thanks

[section1]
int beginning = 2
int ending = 11
for(ii=beginning;ii<=ending;ii++){
smooth iy:=[%H]$(page.active)!$(ii) method:=aav weight:=1 npts:=20 oy:=[%H]$(page.active)!$(wks.ncols+1)
}
[section2]
for(ii=2;ii<=11;ii++){
smooth iy:=[%H]$(page.active)!$(ii) method:=aav weight:=1 npts:=20 oy:=[%H]$(page.active)!$(wks.ncols+1)
}
2   L A T E S T    R E P L I E S    (Newest First)
Song421 Posted - 09/19/2017 : 10:36:40 AM
quote:
Originally posted by Hideo Fujii

Hi Song421,

The first two lines (with int) in section1 need semicolons at the end. It shouldn't run. By fixing this, as far as I tested,
both sections worked okay.

--Hideo Fujii
OriginLab


Thank you very much! I think I should read the tutorials carefully.
Hideo Fujii Posted - 09/19/2017 : 10:03:00 AM
Hi Song421,

The first two lines (with int) in section1 need semicolons at the end. It shouldn't run. By fixing this, as far as I tested,
both sections worked okay.

--Hideo Fujii
OriginLab

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