It is currently Wed Feb 08, 2012 11:44 pm

All times are UTC



Welcome
Welcome to RHAPSODY4YOU

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, respond to polls, upload and download content, and access many other special features. Registration is fast, simple, and absolutely free, so please, register to join our community today.





 Page 1 of 1 [ 4 posts ] 
Author Message
 Post subject: Flowcharts and for loop
PostPosted: Thu Mar 11, 2010 10:05 pm 

Joined: Wed Dec 10, 2008 7:32 am
Posts: 31
Hi,

I'm using Rhapsody 7.4 and I'd like to generate a for loop using a flowchart, but I've found that in v.7.4. it is only possible to generate While and DoWhile loops (besides of if-then clauses).

Seems that in Rhapsody 7.5 it is possible to do it 26-may-2009-rhapsody-7-5-released-t294.html

Has anybody of you tried it??
please could you post an image example showing how it is modelled? (I ignore if saving a project made in 7.5 as 7.4 will run or the for loop will be overriden)

Thanks a lot!!!


Offline
 Profile  
 
 Post subject: Re: Flowcharts and for loop
PostPosted: Tue Oct 12, 2010 7:23 pm 

Joined: Wed Dec 10, 2008 10:51 pm
Posts: 138
Did you ever figure this out? I'm still trying to find it in documentation.


Offline
 Profile  
 
 Post subject: Re: Flowcharts and for loop
PostPosted: Wed Oct 13, 2010 12:10 pm 

Joined: Wed Oct 31, 2007 3:09 pm
Posts: 58
Location: Milkyway, classic 9-planet solar system
franjose wrote:
Seems that in Rhapsody 7.5 it is possible to do it 26-may-2009-rhapsody-7-5-released-t294.html

I can read there about flowchart generation from code, so there is support for a for-loop recognition in a code centric workflow.
I cannot find any details regarding generation of for-loops from flow charts

b.t.w. How should it be modeled?
I do not see notational elements in UML (or Rhapsody extensions beyond UML), which would help to indicate such a pattern. The flowchart is still a restricted version of an UML activity flow.

Luke.



_________________
May the force be with you ...
Offline
 Profile  
 
 Post subject: Re: Flowcharts and for loop
PostPosted: Mon Nov 08, 2010 2:04 pm 

Joined: Wed Aug 05, 2009 2:46 pm
Posts: 5
With some Tags or Stereotypes it would be possible.

As long as the code generation isn't that smart to decide what kind of generation
(while, for, do while, if or switch case) extend the language to let the user do the work.

A for loop you can cheat by using a do while loop, but have you ever modeled a switch case?
The model is that crowded as the if .. else if ... else ... if looks.

@development: If you need some inputs, just give me a call.


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

cron

suspicion-preferred