Page 1 of 1 1
Topic Options
#81253 - 2002-09-14 06:49 PM Variable-Structures like it's used in VB
m_a_x_y Offline
Lurker

Registered: 2002-06-24
Posts: 3
Hallo!

I would like to have the ability to use variable structures like this:

Type Person
Dim $Name
Dim $Address
Dim $Phone
End Type

? Person.$Name

How do you think about that suggestion?

Greetings to all reading this thread!

Top
#81254 - 2002-09-14 06:54 PM Re: Variable-Structures like it's used in VB
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22343
Loc: OK
I don't use vb, but from c++ learned the sweetness of structs...

anyway, this goes really close to the topic before:
http://www.kixtart.org/cgi-bin/ultimatebb.cgi?ubb=get_topic;f=4;t=000267

it started differently and had more stuff, but somewhat the road of the question is going to same direction...

again, good request.

would it go something like:
Type Person
Dim $Name
Dim $Address
Dim $Phone
EndType

? $Person.Name
_________________________
!

download KiXnet

Top
#81255 - 2002-09-14 08:05 PM Re: Variable-Structures like it's used in VB
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Or would it be $Person.$Name ? Great idea !
Top
#81256 - 2002-09-14 09:30 PM Re: Variable-Structures like it's used in VB
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22343
Loc: OK
I don't know how ruud would like it to be...

but it sounds better in my ear... like having struct as sort of function...

if we would then have "libraries" or collection of functions...
the call as $person.var sounds more like "standard".

and easier to code... don't know....
 
_________________________
!

download KiXnet

Top
#81257 - 2002-09-14 09:44 PM Re: Variable-Structures like it's used in VB
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
yap - i like the $person.name format better too. Of course, having structures would be the first great step toward OOK (Object Oriented Kixtart) (hehee). I mean, classes are just structures with functions attached to them [Wink]
Top
#81258 - 2002-09-15 12:53 AM Re: Variable-Structures like it's used in VB
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22343
Loc: OK
yeah...

just have to see what ruud says about our dreams...
_________________________
!

download KiXnet

Top
#81259 - 2002-09-15 08:48 AM Re: Variable-Structures like it's used in VB
m_a_x_y Offline
Lurker

Registered: 2002-06-24
Posts: 3
quote:
yap - i like the $person.name format better too. Of course, having structures would be the first great step toward OOK (Object Oriented Kixtart) (hehee). I mean, classes are just structures with functions attached to them
Your're right! $Person.Name is the better format and the idea of having OOK sounds very good. That's exactly what I thought (but forgotten to write) when I started this thread.
Great idea! Thanks for support!

Top
#81260 - 2002-09-16 12:22 AM Re: Variable-Structures like it's used in VB
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22343
Loc: OK
maxy, did you check that link above?

I really think there is lot of ppl wanting to see kix evolving to really get OOK...

well, we will see, but fantastic things that road could bring...

oohlala!
_________________________
!

download KiXnet

Top
#81261 - 2002-09-16 06:42 PM Re: Variable-Structures like it's used in VB
Wizard Offline
Hey THIS is FUN
*****

Registered: 2000-12-05
Posts: 264
Loc: Bristol, England
I use VB a lot, and this functionallity in KIX would be great.

$person.name would be the best way to go.

I could see a problem tying to implement it in KIX though. Ruud would have a job on his hands - but I am sure he can do it.

W
_________________________
Wizard
There's no place like 127.0.0.1

vb | kix | batch | html | cfm | js | english

Top
#81262 - 2002-09-17 10:53 AM Re: Variable-Structures like it's used in VB
Lee Wilmott Offline
Starting to like KiXtart

Registered: 2002-09-17
Posts: 106
Loc: Bristol, UK
I just wanted to add my support for this enhancement!

Lee

Top
#81263 - 2002-09-17 02:37 PM Re: Variable-Structures like it's used in VB
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Hey Lee - glad to see you finally got yourself a userid and member number - I've read your stuff on other boards - especially like your ideas and suggestions - a cut above imho. Hope to see you around the board more often.

-Shawn

Top
#81264 - 2002-09-18 02:46 PM Re: Variable-Structures like it's used in VB
Lee Wilmott Offline
Starting to like KiXtart

Registered: 2002-09-17
Posts: 106
Loc: Bristol, UK
[Smile] [Smile] [Smile] Cheers Shawn! I too thought it was about time I registered for an ID. I'm hoping to contribute a little more to these forums.

The problem, as always, is time. I have limited internet access from home, so the only time I do have is during my working day!

See you around for sure!

Lee

Top
#81265 - 2002-09-29 12:19 AM Re: Variable-Structures like it's used in VB
Fernando Madruga Offline
Starting to like KiXtart

Registered: 2002-08-21
Posts: 149
Loc: Coimbra.Portugal.Europe.Earth....
Just two more cents:

I like those ideas (records/structs and OO)...
_________________________
Later,   [b]Mad[/b]ruga

Top
#81266 - 2002-10-01 01:03 AM Re: Variable-Structures like it's used in VB
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22343
Loc: OK
actually, now as I was checking it...
it works with minor tweaks...
_________________________
!

download KiXnet

Top
Page 1 of 1 1


Moderator:  Lonkero, ShaneEP, Jochen, Radimus, Glenn Barnas, Allen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 162 anonymous users online.
Newest Members
Jodey, Hiker, GTRoberts, KatieQuinn, Brennnnn
17684 Registered Users

Generated in 0.038 seconds in which 0.012 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org