faqts : Computers : Programming : Languages : Tse : Datastructure

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

1 of 1 people (100%) answered Yes
Recently 1 of 1 people (100%) answered Yes

Entry

Procedure: Function:Name: Create: Systematic: How to systematically create name for function in TSE?

Apr 17th, 2005 09:52
Knud van Eeden,


----------------------------------------------------------------------
--- Knud van Eeden --- 17 April 2005 - 11:52 pm ----------------------

Procedure: Function:Name: Create: Systematic: How to systematically 
create name for function in TSE?

---
---

Possibly give your function names a fixed structure.

e.g.

Alway first a noun, followed always by a verb, followed by something 
else.

thus

<noun><verb><something else>()

e.g.

BlockCopy...()

TextSearch....()

StringCopy...()

...

---

Steps: Overview:

 1. -Create lists (or better comboboxes) to choose from:

--- cut here: begin --------------------------------------------------

[ noun list ]   [ verb list ]   [ other list ]

  Block           Backup          ...
  Text            Change
  File            Check
  String          Communicate
  ...             Compare
                  Compile
                  Compress
                  Convert
                  Copy
                  Count
                  Create
                  Draw
                  Exchange
                  Exit
                  Expand
                  Get
                  Goto
                  Insert
                  Install
                  Join
                  Load
                  Manage
                  Mark
                  Merge
                  Move
                  Query
                  Remove
                  Replace
                  Run
                  Save
                  Search
                  Select
                  Set
                  Sort
                  Undo
                  Update
                  View
                  ...

--- cut here: end ----------------------------------------------------

 2. -Create the function or procedure name by concatenating the choices

     1. s = s1 + s2 + s3

---
---

Note:

If you use this approach consequently you can also quite easy
programmatically create this function names automatically.

---
---

Internet: see also:

---

TSE: Menu: Name: Create: Systematic: How to systematically create name 
for menu in TSE?
http://www.faqts.com/knowledge_base/view.phtml/aid/35702/fid/1571

----------------------------------------------------------------------