Groups > Superbase > Superbase NG > Re: property object




property object

property object
Sun, 2 Sep 2007 17:29:07 +0800
I was reading the language ref manual and noticed the property object under 
"Built in Types and Functions". How does one use this?
John 

Post Reply
Re: property object
Mon, 03 Sep 2007 14:34:23 +010
John Roberts wrote:
> I was reading the language ref manual and noticed the property object under

> "Built in Types and Functions". How does one use this?

The property object does not have a lot of value for most people. In
SIMPOL everything is an object, including types, properties, functions,
and events. A type is an object that has a set of properties and methods:

Type type
     Properties:
         type type
         type next
         module module
         property firstproperty
         function firstfunction()
         function new()

A property object looks like this:

Type property
     Properties:
         type type
         type intype
         type contenttype
         property next

Unless you are writing some fairly convoluted stuff, you probably will
never need to get into the complexities of this stuff. We purposely
don't go into it in detail because it is more likely to put people off
than be of any particular use to them. It may eventually be the fodder
of an advanced SIMPOL programming course.

Post Reply
Re: property object
Wed, 5 Sep 2007 07:26:15 +0800
Nice to see an SB member stuff simpol equivalent. Just what I needed for an 
object properties dialog.
Thanks, John

"Neil Robinson" <neil@simpol.com> wrote in message 
news:fbh2h2$hpu$1@ipx22096.ipxserver.de...
> John Roberts wrote:
>> I was reading the language ref manual and noticed the property object 
>> under
>> "Built in Types and Functions". How does one use this?
>
> The property object does not have a lot of value for most people. In
> SIMPOL everything is an object, including types, properties, functions,
> and events. A type is an object that has a set of properties and methods:
>
> Type type
>     Properties:
>         type type
>         type next
>         module module
>         property firstproperty
>         function firstfunction()
>         function new()
>
> A property object looks like this:
>
> Type property
>     Properties:
>         type type
>         type intype
>         type contenttype
>         property next
>
> Unless you are writing some fairly convoluted stuff, you probably will
> never need to get into the complexities of this stuff. We purposely
> don't go into it in detail because it is more likely to put people off
> than be of any particular use to them. It may eventually be the fodder
> of an advanced SIMPOL programming course.
>
> Ciao, Neil


Post Reply
about | contact