Go to Post I joined because I needed something to complete my nerdyness and I never regretted it. - Regine [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
View Poll Results: What is your most prefered programming language?
C++ 91 43.96%
PBasic 11 5.31%
QBasic 8 3.86%
Java 36 17.39%
Other (Please List) 61 29.47%
Voters: 207. You may not vote on this poll

 
 
Thread Tools Rating: Thread Rating: 4 votes, 3.75 average. Display Modes
Prev Previous Post   Next Post Next
  #13   Spotlight this post!  
Unread 21-01-2003, 19:44
Team852 (DB) Team852 (DB) is offline
Registered User
#0852 (The Athenian Robotics Collective)
 
Join Date: Jan 2003
Location: Danville, CA
Posts: 9
Team852 (DB) is an unknown quantity at this point
[i]id[i] as specified by Apple, is a pointer to an instance of a class.

Resolved at run-time refers to the fact that the reciever of a message does not know the type of an object until it is passed one at run-time. However, it is also possible to require a specific type, to enable better compile-time checking, and this is highly recommended.

Here's the format of an Objective-C message, with 2 arguments:

[myInstance arg1:(id)foo arg2:(UniChar)bar];

- send a message to myInstance, which, we assume has been defined such that it can recieve it. Arguments are: foo, which is of unknown type, and bar, which is of type UniChar.

The above is the moral equivalent of

function(void *arg1, UniChar arg2);

id differs from void, I'm just not entirely sure of the how at the moment. I'm still somewhat new to Objective-C.

- DB
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming Compatition Angela06 Programming 30 08-04-2005 23:12
New programming language next year? Mike Alighieri Programming 131 13-09-2003 20:51
PBASIC sucks maDGag Programming 31 29-01-2003 03:16
TI programming using Z80 assembly language Jeff Wong Chit-Chat 1 07-06-2001 01:27


All times are GMT -5. The time now is 13:07.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi