What is the difference between using "view. ..." and "cd. ..." commands ?

Hello everyone,

I'm a newby here and I have a project to develop a datafield exactly the way i would like, with differents data values at the place i want.

Thus i'm starting from the complex datafield example provided by Garmin. In this example, it seems that the data is shown once a second thanks to the command "View.OnUpdate". But i've seen here https://github.com/dmuino/HMFields/blob/master/source/HMFields.mc a different way using only some "dc. ..." commands.

I would like to know the differences between the two methods. And i also would like to know how to display some lines on the background so as to separate the differents fields i'm displaying using the View commands.

Best regards,