Search the web
Sign In
New User? Sign Up
iolanguage · Io
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 1758 - 1787 of 10708   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
1758
Why not leave it as it is? Thinking about it, I don't find it confusing. Other languages have similar concepts and have lived with it. Thoughts anyone? ...
Roberto Amorim
wolfox44
Offline Send Email
Aug 1, 2003
12:39 pm
1759
... Second option: convert IoMyCPP.c to .cpp and downgrade the error. ... I'm sure you will... it can be tricky, but you have to find out how to do it only...
Roberto Amorim
wolfox44
Offline Send Email
Aug 1, 2003
12:44 pm
1760
... Unfortunately, that would mean editing the Queue_inline.h file as well, since it has conversions from (void *) to (void **) and such... breaking the ...
Roberto Amorim
wolfox44
Offline Send Email
Aug 1, 2003
12:50 pm
1761
... Try to change that line to IoObject_setSlot_to_(context, IoState_stringWithCString_(self, "MyCPP"), IoMyCPP_proto (self)); It looks like VS.Net...
Roberto Amorim
wolfox44
Offline Send Email
Aug 1, 2003
12:53 pm
1762
... Success! I have one question though, the main.cpp file you have in that folder which has the following: #include "MyCPP.h" int main(int argc, char **argv)...
toysnob
Offline Send Email
Aug 1, 2003
7:32 pm
1763
... WTG! Glad you did it! ... (...) ... You're right, the main.cpp file was only intended to test the plain C++ class, before writing the bindings. I didn't...
Roberto Amorim
wolfox44
Offline Send Email
Aug 1, 2003
9:34 pm
1764
... Well I'm back with a little roadblock. I am trying to move the code found in your main.c into a C++ class, ala CIoScriptHost, so my engine can deal less...
toysnob
Offline Send Email
Aug 2, 2003
10:08 pm
1765
... List_sizeTo_ ... Ok, this was easy to fix, I just ended up enclosing any #includes of Ioxxx.h files with extern "C" { ... } Links happily now :)...
toysnob
Offline Send Email
Aug 2, 2003
10:24 pm
1766
... I think there are well-defined ways to interconnect C and C++ code that are a bit less error-prone. Given this class: class MyCPP { public: int getInt(); ...
Daniel A. Koepke
dkoepke@...
Send Email
Aug 3, 2003
12:53 am
1767
... Hi Dustin, I'm and OSX user but there are folks on the Io mailing list that might be able to provide a precompiled windows binary. I'm forwarding your ...
Steve Dekorte
stevedekorte
Offline Send Email
Aug 3, 2003
6:48 am
1768
Another possible solution: - don't set the proto slot on locals object - set the locals "setSlot" slot to Object setSlot (so assignment works) - change the...
Steve Dekorte
stevedekorte
Offline Send Email
Aug 3, 2003
9:00 am
1769
... I forgot that that breaks iterators and some other stuff. The other option is to set the locals proto to some base Object, but that prevents overrides of...
Steve Dekorte
stevedekorte
Offline Send Email
Aug 3, 2003
11:44 am
1770
... That worked. It seems to work for "make test" and is just as fast. Would anyone like to beta test this feature before I release it? (I'll also wait a few...
Steve Dekorte
stevedekorte
Offline Send Email
Aug 3, 2003
12:01 pm
1771
Here's the proposed change - for those interested: In IoBlock.c, change: else { blockLocals = IoObject_rawClone(target); to: else { blockLocals =...
Steve Dekorte
stevedekorte
Offline Send Email
Aug 3, 2003
12:05 pm
1772
... (...) ... I agree with you that it's better, but perhaps a little less straightforward because of the struct MyCPP hack on the .h file. Anyway, yours is a...
Roberto Amorim
wolfox44
Offline Send Email
Aug 3, 2003
1:57 pm
1773
I'll get it ready soon enough... if you want just the VM, I can compile it and make it available for download (I'm taking longer because of IoServer and...
Roberto Amorim
wolfox44
Offline Send Email
Aug 3, 2003
2:01 pm
1774
... My personal preference is the circumfix |...| form, but maybe that just shows my Smalltalk bias. However, I prefer it as follows: Account |balance| = 10 ...
io_user
Offline Send Email
Aug 3, 2003
4:18 pm
1775
... Hi Steve That sounds promising. However, I don't quite understand the implications of this change. Slots are still being created automatically instead of...
io_user
Offline Send Email
Aug 3, 2003
4:29 pm
1776
... Hi Roberto I agree with you that the *concept* is not confusing. However, in practice the automatic creation of variables is a VERY error prone mechanism....
io_user
Offline Send Email
Aug 3, 2003
4:41 pm
1777
"io_user" <io_user@...> wrote in message news:bgjcl2+i0on@.... ... Hmm, I'm starting to like this version. Account = Object clone do ( ` init =...
Mike Austin
mike_ekim
Offline Send Email
Aug 3, 2003
5:16 pm
1778
I was thinking support for := operators could be added by changing the parser to treat symbols that begin with a : as operators instead of messages. I don't...
Steve Dekorte
stevedekorte
Offline Send Email
Aug 3, 2003
9:09 pm
1779
... Hi Steve, While we're on the subject, I've been wanting to raise the following question. In Smalltalk a distinction is made between the following ...
io_user
Offline Send Email
Aug 3, 2003
9:25 pm
1780
... You can test for identity like this: if ( x uniqueId == y uniqueId ) then ( "they are identical" print ) Cheers, Steve OSX freeware and shareware:...
Steve Dekorte
stevedekorte
Offline Send Email
Aug 3, 2003
9:49 pm
1781
... Sorry, my mistake, I forgot that Io uses == for comparison and not = (it's a bit late at night for me). Thanks for the above information, it's actually...
io_user
Offline Send Email
Aug 3, 2003
10:05 pm
1782
... So I got := working. The only (minor?) problem is that you must use a space before the := to avoid the : being taken to be part of the message (see below)....
Steve Dekorte
stevedekorte
Offline Send Email
Aug 3, 2003
10:11 pm
1783
... I think it is safe too, as I have also never seen selectors beginning with ":". Cheers, -- Sébastien -- «Too old to be alternative, too alternative to be...
Sébastien Pierre
malice_tz
Offline Send Email
Aug 3, 2003
10:13 pm
1784
... The problem I see here is that we have a special syntax for a special operator, which once again breaks the overall consistency. Maybe we could consider...
Sébastien Pierre
malice_tz
Offline Send Email
Aug 3, 2003
10:23 pm
1785
... I'm open to that, but haven't seen any good proposals. Do you have any? Cheers, Steve OSX freeware and shareware: http://www.dekorte.com/downloads.html...
Steve Dekorte
stevedekorte
Offline Send Email
Aug 3, 2003
10:25 pm
1786
... I must say that I only quickly read the messages regarding the need for an ":=" operator, but what I understoof is that we need a way to declare that we...
Sébastien Pierre
malice_tz
Offline Send Email
Aug 3, 2003
10:37 pm
1787
... This would also require a special change to the parser. Right now the only symbols that act like operators are super and return. Cheers, Steve OSX freeware...
Steve Dekorte
stevedekorte
Offline Send Email
Aug 3, 2003
11:17 pm
Messages 1758 - 1787 of 10708   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2007 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help