Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

iolanguage · Io

The Yahoo! Groups Product Blog

Check it out!

Group Information

? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

Advanced
Messages Help
Messages 1758 - 1787 of 13333   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
1758 Roberto Amorim
wolfox44 Send Email
Aug 1, 2003
12:39 pm
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? ...
1759 Roberto Amorim
wolfox44 Send Email
Aug 1, 2003
12:44 pm
... 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...
1760 Roberto Amorim
wolfox44 Send Email
Aug 1, 2003
12:50 pm
... Unfortunately, that would mean editing the Queue_inline.h file as well, since it has conversions from (void *) to (void **) and such... breaking the ...
1761 Roberto Amorim
wolfox44 Send Email
Aug 1, 2003
12:53 pm
... Try to change that line to IoObject_setSlot_to_(context, IoState_stringWithCString_(self, "MyCPP"), IoMyCPP_proto (self)); It looks like VS.Net...
1762 toysnob Send Email Aug 1, 2003
7:32 pm
... 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)...
1763 Roberto Amorim
wolfox44 Send Email
Aug 1, 2003
9:34 pm
... 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...
1764 toysnob Send Email Aug 2, 2003
10:08 pm
... 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...
1765 toysnob Send Email Aug 2, 2003
10:24 pm
... 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 :)...
1766 Daniel A. Koepke
dkoepke@... Send Email
Aug 3, 2003
12:53 am
... 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(); ...
1767 Steve Dekorte
stevedekorte Send Email
Aug 3, 2003
6:48 am
... 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 ...
1768 Steve Dekorte
stevedekorte Send Email
Aug 3, 2003
9:00 am
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...
1769 Steve Dekorte
stevedekorte Send Email
Aug 3, 2003
11:44 am
... 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...
1770 Steve Dekorte
stevedekorte Send Email
Aug 3, 2003
12:01 pm
... 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...
1771 Steve Dekorte
stevedekorte Send Email
Aug 3, 2003
12:05 pm
Here's the proposed change - for those interested: In IoBlock.c, change: else { blockLocals = IoObject_rawClone(target); to: else { blockLocals =...
1772 Roberto Amorim
wolfox44 Send Email
Aug 3, 2003
1:57 pm
... (...) ... 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...
1773 Roberto Amorim
wolfox44 Send Email
Aug 3, 2003
2:01 pm
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...
1774 io_user Send Email Aug 3, 2003
4:18 pm
... My personal preference is the circumfix |...| form, but maybe that just shows my Smalltalk bias. However, I prefer it as follows: Account |balance| = 10 ...
1775 io_user Send Email Aug 3, 2003
4:29 pm
... Hi Steve That sounds promising. However, I don't quite understand the implications of this change. Slots are still being created automatically instead of...
1776 io_user Send Email Aug 3, 2003
4:41 pm
... 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....
1777 Mike Austin
mike_ekim Send Email
Aug 3, 2003
5:16 pm
"io_user" <io_user@...> wrote in message news:bgjcl2+i0on@.... ... Hmm, I'm starting to like this version. Account = Object clone do ( ` init =...
1778 Steve Dekorte
stevedekorte Send Email
Aug 3, 2003
9:09 pm
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...
1779 io_user Send Email Aug 3, 2003
9:25 pm
... 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 ...
1780 Steve Dekorte
stevedekorte Send Email
Aug 3, 2003
9:49 pm
... You can test for identity like this: if ( x uniqueId == y uniqueId ) then ( "they are identical" print ) Cheers, Steve OSX freeware and shareware:...
1781 io_user Send Email Aug 3, 2003
10:05 pm
... 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...
1782 Steve Dekorte
stevedekorte Send Email
Aug 3, 2003
10:11 pm
... 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)....
1783 Sébastien Pierre
malice_tz Send Email
Aug 3, 2003
10:13 pm
... 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...
1784 Sébastien Pierre
malice_tz Send Email
Aug 3, 2003
10:23 pm
... 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...
1785 Steve Dekorte
stevedekorte Send Email
Aug 3, 2003
10:25 pm
... 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...
1786 Sébastien Pierre
malice_tz Send Email
Aug 3, 2003
10:37 pm
... 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...
1787 Steve Dekorte
stevedekorte Send Email
Aug 3, 2003
11:17 pm
... 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...
Messages 1758 - 1787 of 13333   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

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