I'm new with jmp and I have some difficulties to finish my script. In few words, I wish to subset some tables from a source table. So, I use "select where" first to determine subsets, then I'm trying to concatenate subsets according to a condition (value present or not in subset).
What's wrong ? Your help will be deeply appreciated.
Here is how the for loop works. The first chunk is the initialization part (cnt = 1). The second chunk is the conditional. ( cnt LESS THAN N Items(headers ) ) The third chunk is the "Do after one loop" chunk ( cnt++ ). Here is where the syntax gets wierd. The fourth chunk is everything that goes into the for loop. It just needs to have a semicolon ( createJPEG( headers[cnt], files[int] ); )
Here is some synax
For( cnt = 1, cnt LESS THAN N Items( headers ), cnt++, print (cnt); createJPEG( headers[cnt], files[int] ); blah blah blha );
Note: I used LESS THAN because the less than sign was messing up my post, I dont know HTML.
My description isnt too technical, but I think it gets the point across. If this doesn't help feel free to reply and ill give you more help / examples.