rwmitchell
12th December 2008, 19:41
I know this is a total newb question, but I come from a C#/java background and am now trying to wrap my head around programming for LN. I have searched the programmer's guide, this forum, and what few Google groups that are dedicated to Baan software, without any luck. What is the significance and proper use of the . (dot) notation, as in change.field.label()? In C#, etc., the dot notation is for inheritance, as in Sytem.Data.SqlClient.DataTable. That would translate to a Datatable from the SqlClient class, derived from the Data class, derived from the System namespace. In LN it appears that the dot is used instead of spaces or underscores? I appreciate greatly any light you can shed on this for me.
Thanks.

mark_h
12th December 2008, 20:51
I have never thought about this and while I am also not a LN developer I think it is a good question. To me in 4c4 the "." means nothing - just a Baan naming convention setup for the internal calls. I use it in my programs because of the site editor - it works better with the . in function names than the _ (underscore). I can't wait to see what the LN folks say.

_Ralph_
12th December 2008, 21:41
I am a Java developer too, but as I first learned LN language
I do not thinked in question like that.

Dot means exactly nothing..

when in java you use


void createSomethingElse()


in baan we usually use


function create.something.else()


as there are no classes there are no acess to attributes.

hope it helps =)

rwmitchell
13th December 2008, 00:51
Thanks to both of you for your answers. It helps to be able to ask about the nuances of the language. <G>

Bob