A Text file format for LiveCode

Monte Goulding monte at sweattechnologies.com
Sun Oct 6 18:46:36 EDT 2013


On 07/10/2013, at 8:52 AM, Dr. Hawkins <dochawk at gmail.com> wrote:
> The format is probably pretty obvious, too . . .
> 
> begin button myBtn
>  owner: card buttonville of stack buttonland
>  type: pushbutton
>  label: "My Favorite button"
>  loc:   823, 445
>  width:  92
>  height: 39
> 
>  script:
>     on mouseup
>         do something awesome
>     end mouseup
> 
> end button myBtn

How would you represent multi-dimensional properties in this format? Text formats that are designed to represent structured data are much better suited to the situation (XML,JSON). I chose JSON because it's quite readable and it isn't overly verbose.

Cheers

--
Monte Goulding

M E R Goulding - software development services
mergExt - There's an external for that!








More information about the use-livecode mailing list