views:

75

answers:

3

Hey all,

I'm currently working on my Dissertation for my degree, and in writing my report, I don't know how to caption my code fragments correctly.

For example...

====================================

Diagram/Image: "Figure 1 - My Diagram"

Table: "Table 1 - Tabulated data"

Code: "????? 1 - some pseudocode"

====================================

What would you replace the question marks with?

Many thanks in advance,

-- Majesticmerc

+1  A: 

I usually go for "Listing", as in:

Listing 14: simulation harness code for a multi-threaded elevator controller.

John Feminella
+2  A: 

I think the generally accepted term is "Listing".

drewh
+1  A: 

I would refer to your pieces of code as Listings.

Hence,

====================================

Diagram/Image: "Figure 1 - My Diagram"

Table: "Table 1 - Tabulated data"

Code: "Listing 1 - some pseudocode"

====================================

Nathan DeWitt