how to set color for a mesh vertex

i want to set color for mesh vertices in blender 2.54, how achieve it?

look at http://blenderartists.org/forum/showthread.php?t=200487 (an example code from Peter!)

thanks, but it means blender doesn’t support set color for individual vertex. yes?

You cannot see vertices in a render, only faces (I think).
That means you maybe use some tiny Sphere as a point, which you can give a color

example

in fact, i only need to color vertex in 3D View and display vertex with color, not in a render.

Oh, in the preferences one can set colours , but as I understood, not say 6 colours to 6 diffenent vertices.

vertices coloring in the source code is much more difficult? if it’s not too difficult, i will try.