The Trunk: Help-Squeak-TerseGuide-mt.14.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Help-Squeak-TerseGuide-mt.14.mcz

commits-2
Marcel Taeumel uploaded a new version of Help-Squeak-TerseGuide to project The Trunk:
http://source.squeak.org/trunk/Help-Squeak-TerseGuide-mt.14.mcz

==================== Summary ====================

Name: Help-Squeak-TerseGuide-mt.14
Author: mt
Time: 3 March 2020, 11:07:27.469491 am
UUID: 87e7e249-d004-d64e-ad05-a64fcc1dec1f
Ancestors: Help-Squeak-TerseGuide-jr.13

Prepare Squeak 5.3 Release --- Adds last-minute fixes to terse guide to make it identical to the one on squeak.org.

=============== Diff against Help-Squeak-TerseGuide-jr.13 ===============

Item was changed:
  ----- Method: TerseGuideHelp class>>character (in category 'pages') -----
  character
  "This method was automatically generated. Edit it using:"
  "TerseGuideHelp edit: #character"
+ ^(HelpTopic
- ^HelpTopic
  title: 'Character'
  contents:
  '| x y b |
  x := $A. "character assignment"
  y := x isLowercase. "test if lower case"
  y := x isUppercase. "test if upper case"
  y := x isLetter. "test if letter"
  y := x isDigit. "test if digit"
  y := x isAlphaNumeric. "test if alphanumeric"
+ y := x isSeparator. "test if separator char"
- y := x isSeparator. "test if seperator char"
  y := x isVowel. "test if vowel"
  y := x digitValue. "convert to numeric digit value"
  y := x asLowercase. "convert to lower case"
  y := x asUppercase. "convert to upper case"
  y := x asciiValue. "convert to numeric ascii value"
  y := x asString. "convert to string"
  b := $A <= $B. "comparison"
  y := $A max: $B.
 
+ !!' readStream nextChunkText)
+ key: #character;
+ shouldStyle: true;
+ yourself!
- !!' readStream nextChunkText!

Item was changed:
  ----- Method: TerseGuideHelp class>>introduction (in category 'pages') -----
  introduction
  "This method was automatically generated. Edit it using:"
  "TerseGuideHelp edit: #introduction"
  ^(HelpTopic
  title: 'General'
  contents:
  'Allowable characters:
      - a-z
      - A-Z
      - 0-9
      - .+/\*~<>@%|&?
      - blank, tab, cr, ff, lf
 
  Variables:
+     - Variables must be declared before use
+     - Shared vars must begin with uppercase
+     - Local vars must begin with lowercase
+     - Reserved names: self, super, thisContext, true, false, and nil
-     - variables must be declared before use
-     - shared vars must begin with uppercase
-     - local vars must begin with lowercase
-     - reserved names: nil, true, false, self, super, and Smalltalk
 
  Variable scope:
+     - Global: defined in current environment (that is usually Smalltalk) and accessible by all objects in system
+     - Special (reserved): self, super, thisContext, true, false, and nil
-     - Global: defined in Dictionary Smalltalk and accessible by all objects in system
-     - Special: (reserved) Smalltalk, super, self, true, false, & nil
      - Method Temporary: local to a method
      - Block Temporary: local to a block
      - Pool: variables in a Dictionary object
      - Method Parameters: automatic local vars created as a result of  message call with params
      - Block Parameters: automatic local vars created as a result of value: message call
      - Class: shared with all instances of one class & its subclasses
      - Class Instance: unique to each instance of a class
      - Instance Variables: unique to each instance
 
 
  "Comments are enclosed in quotes - like this"
 
  Period (.) is the statement separator
 
  !!' readStream nextChunkText)
  key: #introduction;
  shouldStyle: false;
  yourself!