Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #39444
| From | "Rod Pemberton" <fork@lllljunkqwer.cpm> |
|---|---|
| Newsgroups | comp.lang.forth |
| Subject | Re: ColorForth - another dead end? |
| Date | 2015-05-30 00:14 -0400 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <op.xzfkq2zcwhxjl4@localhost> (permalink) |
| References | (3 earlier) <NOadnZasMuRy7P_InZ2dnUU7-Kdi4p2d@supernews.com> <5ecf958e-bd96-4a9d-a32a-61f5d8a7b6ba@googlegroups.com> <9bc6ede1-d4bd-43f1-a684-6de2163fa7ab@googlegroups.com> <f45e39ab-cd65-4f11-9508-5b3dafc653f3@googlegroups.com> <924c582d-d98f-4afb-876d-8a991a6a4727@googlegroups.com> |
On Fri, 29 May 2015 10:56:04 -0400, Raimond Dragomir <raimond.dragomir@gmail.com> wrote: >> IIRC Stephen Pelc has powerful C-like struct support in VFX, >> and these are very useful when interfacing to Windows etc. > > C structs are powerful, ... > C structs are powerful, the fields are associated with the object. You must specify the struct name and field in C to access the field. That's true with both of the component selection operators in C: '.' and '->' So, what do you mean by "the fields are associated with the object?" > In forth you cannot have this, fields are global. > Forth structs are not so powerful. In C, every data type, struct, union, maps onto an array of bytes. So, in Forth, you're just accessing structs at the array level, without the compiler computing offsets for you. Rod Pemberton -- If fewer guns reduced murders, how does one explain Moscow, Chicago, New York, and South Africa?
Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
ColorForth - another dead end? borota@gmail.com - 2015-05-24 12:22 -0700
Re: ColorForth - another dead end? hughaguilar96@gmail.com - 2015-05-24 14:00 -0700
Re: ColorForth - another dead end? borota@gmail.com - 2015-05-24 16:18 -0700
Re: ColorForth - another dead end? hughaguilar96@gmail.com - 2015-05-24 16:45 -0700
Re: ColorForth - another dead end? "Elizabeth D. Rather" <erather@forth.com> - 2015-05-24 14:50 -1000
Re: ColorForth - another dead end? hughaguilar96@gmail.com - 2015-05-24 18:12 -0700
Re: ColorForth - another dead end? onewhohopes@gmail.com - 2015-05-28 13:00 -0700
Re: ColorForth - another dead end? hughaguilar96@gmail.com - 2015-05-28 18:55 -0700
Re: ColorForth - another dead end? Howerd <howerdo@yahoo.co.uk> - 2015-05-29 00:49 -0700
Re: ColorForth - another dead end? Raimond Dragomir <raimond.dragomir@gmail.com> - 2015-05-29 07:56 -0700
Re: ColorForth - another dead end? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-05-29 15:04 +0000
Re: ColorForth - another dead end? Raimond Dragomir <raimond.dragomir@gmail.com> - 2015-05-29 10:03 -0700
Re: ColorForth - another dead end? Raimond Dragomir <raimond.dragomir@gmail.com> - 2015-05-29 10:15 -0700
Re: ColorForth - another dead end? hughaguilar96@gmail.com - 2015-05-29 19:28 -0700
Re: ColorForth - another dead end? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-05-30 12:34 +0000
Re: ColorForth - another dead end? hughaguilar96@gmail.com - 2015-05-29 19:19 -0700
Re: ColorForth - another dead end? Raimond Dragomir <raimond.dragomir@gmail.com> - 2015-05-29 22:30 -0700
Re: ColorForth - another dead end? "Rod Pemberton" <fork@lllljunkqwer.cpm> - 2015-05-30 00:14 -0400
Re: ColorForth - another dead end? Raimond Dragomir <raimond.dragomir@gmail.com> - 2015-05-29 22:22 -0700
Re: ColorForth - another dead end? "Alex McDonald" <blog@rivadpm.com> - 2015-05-30 09:27 +0100
Re: ColorForth - another dead end? Raimond Dragomir <raimond.dragomir@gmail.com> - 2015-05-30 02:05 -0700
Re: ColorForth - another dead end? "Alex McDonald" <blog@rivadpm.com> - 2015-05-30 10:21 +0100
Re: ColorForth - another dead end? Raimond Dragomir <raimond.dragomir@gmail.com> - 2015-05-30 04:08 -0700
Re: ColorForth - another dead end? hughaguilar96@gmail.com - 2015-05-30 07:43 -0700
Re: ColorForth - another dead end? Raimond Dragomir <raimond.dragomir@gmail.com> - 2015-05-30 09:42 -0700
Re: ColorForth - another dead end? hughaguilar96@gmail.com - 2015-05-30 10:25 -0700
Re: ColorForth - another dead end? Raimond Dragomir <raimond.dragomir@gmail.com> - 2015-05-30 22:36 -0700
Re: ColorForth - another dead end? hughaguilar96@gmail.com - 2015-05-31 16:38 -0700
Re: ColorForth - another dead end? "Alex McDonald" <blog@rivadpm.com> - 2015-05-31 09:11 +0100
Re: ColorForth - another dead end? humptydumpty <ouatubi@gmail.com> - 2015-05-31 11:31 -0700
Re: ColorForth - another dead end? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-06-01 13:21 +0000
Re: ColorForth - another dead end? humptydumpty <ouatubi@gmail.com> - 2015-06-01 08:18 -0700
Re: ColorForth - another dead end? humptydumpty <ouatubi@gmail.com> - 2015-06-01 09:07 -0700
Re: ColorForth - another dead end? humptydumpty <ouatubi@gmail.com> - 2015-06-01 23:31 -0700
Field name overloading (was: ColorForth - another dead end?) anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-06-02 09:47 +0000
Re: Field name overloading (was: ColorForth - another dead end?) humptydumpty <ouatubi@gmail.com> - 2015-06-02 13:07 -0700
Re: ColorForth - another dead end? humptydumpty <ouatubi@gmail.com> - 2015-06-01 08:20 -0700
Re: ColorForth - another dead end? "Rod Pemberton" <fork@lllljunkqwer.cpm> - 2015-05-30 15:34 -0400
Re: ColorForth - another dead end? hughaguilar96@gmail.com - 2015-05-29 22:55 -0700
Re: ColorForth - another dead end? Raimond Dragomir <raimond.dragomir@gmail.com> - 2015-05-30 00:54 -0700
Re: ColorForth - another dead end? stephen@mpeforth.com (Stephen Pelc) - 2015-05-30 17:20 +0000
Re: ColorForth - another dead end? albert@spenarnc.xs4all.nl (Albert van der Horst) - 2015-05-31 15:17 +0000
Re: ColorForth - another dead end? Hannu Vuolasaho <vuokkosetae@gmail.com> - 2015-05-25 10:06 +0300
Re: ColorForth - another dead end? Jason Damisch <jasondamisch@yahoo.com> - 2015-05-25 11:11 -0700
Re: ColorForth - another dead end? rickman <gnuarm@gmail.com> - 2015-05-25 14:22 -0400
Re: ColorForth - another dead end? "Elizabeth D. Rather" <erather@forth.com> - 2015-05-25 14:57 -1000
Re: ColorForth - another dead end? borota@gmail.com - 2015-05-25 20:42 -0700
Re: ColorForth - another dead end? hughaguilar96@gmail.com - 2015-05-29 19:46 -0700
Re: ColorForth - another dead end? "Rod Pemberton" <fork@lllljunkqwer.cpm> - 2015-05-30 00:03 -0400
Re: ColorForth - another dead end? Howerd <howerdo@yahoo.co.uk> - 2015-05-24 21:51 -0700
Re: ColorForth - another dead end? albert@spenarnc.xs4all.nl (Albert van der Horst) - 2015-05-25 11:17 +0000
Re: ColorForth - another dead end? Mark Wills <markwills1970@gmail.com> - 2015-05-25 01:50 -0700
Re: ColorForth - another dead end? Howerd <howerdo@yahoo.co.uk> - 2015-05-25 02:11 -0700
Re: ColorForth - another dead end? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-05-25 14:11 +0000
csiph-web