While developing in LC I feel that it is very Verbos like for example:
Code: Select all
set the text of field "DisplayMessage" to the text of field "EnterMessage"Code: Select all
set the field "DisplayMessage".Text to field "EnterMessage".TextTIA
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Code: Select all
set the text of field "DisplayMessage" to the text of field "EnterMessage"Code: Select all
set the field "DisplayMessage".Text to field "EnterMessage".Text 
 
Code: Select all
put fld "DisplayMessage" into fld "EnterMessage" 
 
 
 I am not saying that current syntax should be removed. In fact there should be two way to writing code in LC:Klaus wrote:Hi Yogi,
there have been a LOT of discussion about DOT notation in the past, but this will not happen very soon, if at all, in Livecode!
But you can do this, which is even shorter
Code: Select all
put fld "DisplayMessage" into fld "EnterMessage"
And use abbreviations wherever possible:
cd = card
btn = button
fld = field
sb = scrollbar
grp = group
grc = graphic
Best
Klaus


If there is one thing I tend to miss from other languages I've used, this would be itmrcoollion wrote:I would rather see the editor evolve in such a way that for example when I start to type in 'put' it suggests a list of possibilities during typing i can select from and after I type in or select 'fld ' (or field ) it suggest a list of possible field-names on that card I can select from and so on.
That would save me a lot of time and prevents many type errors as well as creating a much shorter learning curve for newbies (like me).
 I'm not sure it would create a shorter learning curve, since you would most likely as a new person use it more like a crutch instead of going to find what you need to know, but it sure would save time depending on implementation (seen both good and bad on that one, for instance preferred Delphi 5,6 to VB 5,6 auto-complete). I would guess (although I haven't tried to work it out) that you could write a script that would collect the type and name of objects added into an array, and then insert a drop index of possible values into the editor, but at the point I am now it is above my pay grade
 I'm not sure it would create a shorter learning curve, since you would most likely as a new person use it more like a crutch instead of going to find what you need to know, but it sure would save time depending on implementation (seen both good and bad on that one, for instance preferred Delphi 5,6 to VB 5,6 auto-complete). I would guess (although I haven't tried to work it out) that you could write a script that would collect the type and name of objects added into an array, and then insert a drop index of possible values into the editor, but at the point I am now it is above my pay grade   
 

How old is the engine driver? 47!bogs wrote:...The time is now 5:25 am. If a train is leaving Chicago at 2 pm...
