Self programming |
1. Self definies many utility classes as said in the documentation.Language , Date and Util are the ones mentioned there.Are there are any other classes definied in self. Where can I get the entire list of classes that I can use in Self script. 2. Can you elaborate more on Symbol in self.The documentation says 'The Symbol operator create a new primitive symbol representing the meaning of a word'. What exactly mean by primitive symbol and defines meaning? 3. Variable can be used in a case variable.It means that the variable should be definied before using in the case ? In the documentation there is an example explaining state and there I found these lines state repeatState { case someWord goto repeatWordState;someword was not definied anywhere ? So ideally it should be defined in order to be used in Self ? or is it defined on the fly as javascript does ? In the below variable declaration for digits the meaning is number (: what does double colon symbolize over here) var digits { meaning : :number; } var number { instantiation : #number; } |
|
|
|
|