Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PASCAL

pascal cheat sheett

type
  shapeType = (square, rectangle, circle);

  shape = record
    centerX, centerY: real;

    case kind: shapeType of
      square: (side: real);
      rectangle: (length, height: real);
      circle: (radius: real);
    end;
Source by ksvi.mff.cuni.cz #
 
PREVIOUS NEXT
Tagged: #pascal #cheat #sheett
ADD COMMENT
Topic
Name
4+4 =