Computer Science Canada Classes |
Author: | BoyGenius [ Wed May 14, 2003 6:47 pm ] |
Post subject: | Classes |
k i read the tutorail and i dont understand the export and the import. how do u know which ones you need to write the code for ?? the import and the export. Cuz i am doing a program on calendar and i am a little confused. |
Author: | Catalyst [ Wed May 14, 2003 6:58 pm ] |
Post subject: | |
import - Tells the class what varibles,procs,etc. that need to be brought in from outside the class export - whatever is on the export list can be accessed from outside the class (using the ->) otherwise it can only be accessed inside the class |
Author: | BoyGenius [ Wed May 14, 2003 8:27 pm ] |
Post subject: | |
Can the import and the export list have more than 1 item in them ? |
Author: | BoyGenius [ Wed May 14, 2003 8:29 pm ] | ||
Post subject: | |||
like this ?
|
Author: | Catalyst [ Wed May 14, 2003 9:40 pm ] | ||
Post subject: | |||
yup just like that, tho import goes above export you can export nearly everything (except dynamic arrays) if u want to export everything just
|