Gentalk Forum

Current User: Guest Login Register
Please consider registering


Register? | Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Add a New Topic Reply to Post
Post
Member

Darius Panahy

posts 3

3:04 am April 20, 2009

gentalk.biz/blog/gentalk-forum/gentalk/code-snippets/#p403','403');return false;">
1

Yes, the action diagram that you select the code from does not have to be checked out. You can select blocks of code from any model in the ency (that you have access to).


Read original blog post

Admin

Gentalk Gaffer

posts 397

4:12 am April 19, 2009

Darius Panahy said:

With our genIE tool, you can cross-copy blocks of statements (i.e. snippets) between action diagrams using both a toolset plug-in for changes on the workstation and direct into the PAD on the ency using genIE Direct.

The action diagram statements that you want to copy are selected from any action diagram, in any model, and hence you could easily develop a 'code snippets' model that contained the code fragments that you might want to re-use and hence make it much easier for these to be located. genIE x-copy also supports substitution of referenced objects like entity tuypes, work sets and exit states, so the code fragments could be developed against a generic data model.

Read original blog post


Of course you're right – presumably you can take code from a model that is on the encyclopedia that you haven't even checked out a subset from ? THis would make it a really useful feature and fill a gap in the usage of the toolset. Very often, stuff like this is overlooked until the obvious is pointed out to you !!

Thanks for your input.

Member

Darius Panahy

posts 3

3:51 am April 17, 2009

With our genIE tool, you can cross-copy blocks of statements (i.e. snippets) between action diagrams using both a toolset plug-in for changes on the workstation and direct into the PAD on the ency using genIE Direct.

The action diagram statements that you want to copy are selected from any action diagram, in any model, and hence you could easily develop a 'code snippets' model that contained the code fragments that you might want to re-use and hence make it much easier for these to be located. genIE x-copy also supports substitution of referenced objects like entity tuypes, work sets and exit states, so the code fragments could be developed against a generic data model.

Admin

Gentalk Gaffer

posts 397

11:33 pm April 16, 2009

Talking to some of my colleagues yesterday – we thought – "wouldn't it be great if we could have a feature in Gen which would be like a list of common code snippets that we could insert into a Gen action block or a procedure step to do common things ?"

Yes, I know we have action blocks which we can call, but sometimes you just need a small few lines of code that could do a small job, that we could simply "add" with a click of a button.

Not sure how this would work in practical terms, with different view types and so on, but I'll give it some thought – any ideas from the readership would be appreciated !!!

Reply to Post

Reply to Topic:
Code snippets

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
3 + 7
   


About the Gentalk.biz – a blog about CA Gen Forum

Forum Timezone: Europe/London

Most Users Ever Online: 58

Currently Online:
5 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 3
Forums: 6
Topics: 424
Posts: 491

Membership:

There are 76 Members
There have been 12 Guests

There is 1 Admin

Top Posters:

isobel – 14
Gordon – 7
pbc3199 – 7
skint – 4
Darius Panahy – 3
helena – 3

Recent New Members: johnyuan, Gordon

Administrators: Gentalk Gaffer (397 Posts)



  • Share/Bookmark