183

Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

  • Upload
    aaos

  • View
    20

  • Download
    2

Embed Size (px)

DESCRIPTION

Livro sobre linguagem Delphi

Citation preview

Page 1: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

��������

��

������������� �������������

����������� ��

Page 2: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

�������� ����������������������� �� � ���������������� �����������

� ���

���������������������

�������������� ����������������

���� ���������������� ���������������� ����

�!��������� �������� ��"���#�������$�� � #��� ���� ��������%� ����&� �����'�&#��(" ���� ��"���#�������$�� � #��� ���� ������� ����#����#�)�*����������+ ����������������������,"����� �#� �����#� � ��������� �����������,"���� ���� ������� �������� ������-� � �,"� �����"����"���� ���������.��� �*$�'��"������� � � � ��������������� �� ��'����"� ���#�� ����� ��"������������� ����������� ��-������� ����'�� �)��-/#����.#�"���������������� � #�� ���� ���'��� ���*$������- ��� ���� �� �������"��"�����*$����

Page 3: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

����

���������������������� ��������0�� ��� ��

����������� ������ �'�#� �����"*$���� ������������� ��� ��

����������� �

���������������� ���������������������� ��( ���*$����()1��� ��()1�#�0��#��� �2��/ )�����3���#����� �2�0���� ���4��� ������ ���56 � ��� �7�������� �7�3.� ���8��� �7�&���-�#��� ��� �9���#�� �*8��� �:�%��#������0 �#��� �����"��"*8��� �;�

�� �#� /��#������()1���� ���0 �� � ����#� ��)1�������� �� �<�4�� ���������)1���������#� ������ 72�

������������ !"�

����������������� !�3�� ����=��/����� 7���� � 77������3��� � 79��� ����0����� 79�()1�#�&���#� � 7:������%� � 7:�

3�� ����$��=��/����� 7:�0 �1�#������ � 7����"������� � 7���������3��� � 7;�4�����> ������()1���� 7��

3� "" ���������#�*8���#� ������� ����� 7<�& ��� ��*$���-����� 7��()1�����������"��� 7����#��+ ������������3�#��+���� 92�?� ���������� "�+ ���� 9��

�� � �����".���� �������@A� 97����� ��@A� 97��@A�3.��� � � 99�&� %����5!���%�#�����������4���#����� 9:�

������������� #$�

�������������� "#�

Page 4: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

�������� ����������������������� �� � ���������������� �����������

� ��

� ��������������4���#����� 9;�! �)�������#� ����%����3������-��" ���� 9��� ������������� 9��

! �)�������#� ����%�������B!��� 9<�� �������%�#���������������3� "" �� 9<�� ��������4���#��� ��������3� "" �� :2�� �������%�#����������������@A� :2�()�� ��*8������"�����*$������@A�#� ����%���� :��

����������%� &#�

$������������� �����%� &"����������$���������� :9�� �������1�������� �"� :9�&�� ��������>������&�#����� :;�&�#��������#� ����������"� :������#�������#� ������� �����"./���� :<�

� �������1�����C��) �������� �D� �2�� ���������� ��������)1���� �2�����#�������-� �C��) �������� �D���� �"� ���

� �������1���������� � �7�� ��������#�������%������������� �:�

���������%� $��

'�������������$������ #(�4��) ��������"�0 �1��� ������ �������E������� ������ �<�������"����F� �<�����-�#�������!�)����������A���*8��� �<���� �������#� ��������)���� ���

����-�#������������"��� ;2��� ���������"���#�*$�������� ���������� ;��������������������"��� ;7�

��� �������� "�+ ��� ;9�����-�#�������A�)�������� ���� ;:�()1����%5������ � ;������-�#�������0������ ;;�����-�#������E����� ;;�� �������� #�� ��0����� ;;�

0 �� � ������-� "�+ ��� ;<�0 ��� ��������+ ��������� > ��� ;<�� ������"*8���G��)���� ������ ��������"��� �� �#�)� ���-� "�+ ��� �:�

���������%�� ���

$������������� �����������)������ ((�� �������1������"� ��#� ��� �����) �����������"���� ���! �)�������#� ����!�)����� ���! �)�������#� ������ ���� <���� ��������������"��� <7������ ��� <9�=������������� ���� <:�

��� ������E������ ����� <��

Page 5: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

�������� ����������������������� �� � ���������������� �����������

� ��

( �����������0����� <<�����-�#�������#� ������A�)���� <<�( �����������0����� <������-�#������E����� �2�! �)�������#� �G ��H�� ������� ��'���� �� � �*$�� �9����"��� �:�! �)�������#� ���+ ������! ��-� I#��� �;�J�����������)1���(��������� �;�� �������-� "�+ ����� ����#���� ������ 6��#��� ���� ����������0 �#��� ����G��)���� �22�

��� ��������"��� �� �#�)� ���-� "�+ ��� �27�

���������%��� "'��

$������������� �����%����� !*(�� �����#��"������ ���)����� �2��! �)�������#� �G ��H�� �2��0 �� � ������-� "�+ ��� ��2�3�������� �#�)������ �+����� ������� ������-� "�+ ���-����� ������� ������-� "�+ ���-%���#�� ��7�

� �����#��"������ ����#���� �� �������"�����@A� ����4������������"����#� ���� ��� ����0 �� � ������-� "�+ ��� ����� �������-� "�+ ���G� ��������� �� �7;�0 �� � ������-� "�+ ��� �7��3��������� ���� ��� �92�

���������%���� "##�

����+����� !""�! �)�������#� ���4��� � ��� �99�� ����� ���> ���#� ���4��� � ��� �9:�( �����������#� ������� ���> ��� �9;�����#������� ���> ����������#����� �9��0 �� � ������-� "�+ ��� �9<�& � � ����� ��K������� "�+ ��� �:2�� ��������>����� �:��

! �)�������#� ���@"�#B4��� � �:7�

����������(� "&)�

�%��� ,���� !&-�(�,"��K� "�� /����F� �:<������������"�� ����� �:<�()1���!�����0���� � �:<�����#�������� �� �������� � ����4"� �� �:��0��,"�������� �+������ � ����4"!� �� ��2�

&�� ������ "�� /������ �������� �� ��9���������� ���������0���� � ��:�

���������(� "$ �

Page 6: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

�������� ����������������������� �� � ���������������� �����������

� ��

.������� ������� !#��� ������� ������ �������������!�� ���� �;2�J ��� ������� ����� �;2����#���������� �������0������ �;��� �����0 �� �������� �;7��K���������#����� �;7�� ��������������� �;9�

0������� �()1���� �;:���� "����" �()1��� �;:����� ��� �;<�

��*����+��� ", ���#" ��*$�� �;��?� �L� ����-L� �� �,"� ����� �;��

��*����+�-� "�'����� �$������� ���� ��2�!���������������� ����&� %���� ����

��*����+��� "�!�����#�*$�� +�����#� ���()1���@"� �� ��7�

��*����+��� "�&�& � � ����" ��� "�+ ��� ��:�

��*����+�+� "�,�! �)�������#� ��+�#� ��� ��;�

��*����+�.� "�)�! �)�������#� �& �� �*$����3.�� �*$�� ��<�

��*����+�/� ")"������ ���� �����#����� ����������� �<��

Page 7: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

��

��0��123�%� ������������� �'��� ��������� ��"����������� -� �#������������������ ��K�" �

� ��"��6�#��� ��"��#���� ���#� )�����#>��������� ���#� ���+����'�-� � �������"�������#��������� ����#� ����*$�����)����������������#��+����'�����"��-�#����������� ��" � +�����

��������� ���� �����-� �����������������#�*8�����������������

3��� �)����� �� +� ��"� �"��� �� �� " �� +����� �� ������� � �� ��������� ��� ������� ���,"���� �#���)�#�������������(����� ��K��#� ����� ������� ��"��M�

•� ������� ������� �� '� ��� ���� �� -� �#�� �� -�#�������� �� �� �� ��������� ��� �������#�*8������"�� ����)�#��������������������������� ���� ��

•� �������������'���������� -� �#����-�#���������� ������������� ����������#�*8������"�� ����)�#��������������#���'��� ����������� �)��������N��� �$��������� �� ��

�� ���������� �� ���"� � ���" ��� �-� �*8��� ���������� �� �� " � �� -������������� ��� ���"��'� ����� ,"�� ��� -���� ��� #���� #��/"��� � +�#�� K� �.�)���� �� #>����� -���#� ��������"�������" � ��" ������� �#������#� ����� �� ���������-�����������"�����#I��#� � +���I��#���,"�������1"�� $���� ������ ���,"����� �)�� �����������������

������4�5���6123�7��������6�������

�"���� ������ ��� �� �"� ��'� �� �� ��� ,"��������'� �� �� ,"�� ��� ���� � ������ ��#� �������"��� ��� ������������� ���������� ���F�&�#��� ��'�K��#���+ ���#���#� �,"�������� ���-� �#��" � +�����#� ������ ������������� ����������#�*8������� )����M�

•� O���L��'�O���L����

����O���L��5!

�P�

•� %�#��� ��� ������ ��� ���� �������� ���� M� ( �#���'� &-� �.

�'� &� %���'� ��%���

�� ��

��# ���-��@A��� �� �P�

•� ������ -� �#�'�� ����� ���# /�#��P�

•� %���������������#����������#�*8�����������L� BP�

•� � )����� +-�#�'����"����� "�� /�����

������,"��K�����/����-��� �#� �����F�Q�����/����# �� '��� ���" ��'�������"����������������#�*8���� ����� ��M�

•� J�+����#� �������"��� ������������� ����� ��)�#������������������ ���� P�

•� � )������� ��I����� ��#��" �������������-� �*8���� ����� ������������� ,"�������������P�

Page 8: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� -�

•� J � ��#��� #� �� ����� ��� ����#�*8��� ��������� �� �� � ���� ��� ��� ��������&#� �� �����AAH����3R3H���.� ��P�

•� 0�#���� "�� /����#� ������������ �*$�P�

•� G�K �#���"���+ �������O���L��P�

•� � ��*$�����)�)����#���S�AAT��� �����" ���� ��" �������#�*8����

������ ,"�� � ��#� � � �" �� )���� ����,"���� �.���� �� � #���� ���"����� ������-"������F�5�� "������ ������ ��-��������'���� ���� �������������� ��"��"�������"���� ��"�����M�

•� ���� ����+������"���������� � ����� � ����������22��"�� ����#�"������� ��� ���#� �� �*8��'�#��"�� ������ �����*8������ ��� ��P�

•� 3����������%������������#� ��%����-��� ��.��L� �P�

•� =+ ������� �����# ���P�

•� G "���� ��� ���#"��$�� �� �� �>��#��� #� � ��#��� ��� ��������� ��� �� O� ��O�)��S���"���N�����������&� 5��� ��K���������� ��������TP�

•� ����������)�)����#�����-� � ������ �����"�� ��� ����� �P�

•� ������� ��� � ����� � � �")��#�*8��� ��� "��� ��� �'� ���� #� �������� ����������������� �������!�����"�#�$���������������%����� "�����" ����

0� �"����,"���.�����-�#��#�� ��,"��������� ��"���� �� ��" ������*$���� ��" ��# ��*$�� � � ���� �� -� �#�� ��� ����#�*8���� !����� ��� �#" ���� ,"�� ��#I� � �#��� +� �� �� ����������� ��������"��� ��"�����$����� �������/�������

��������������� ����

�� ���������������� ��

+��� � ��,"����#I���#����� ������/ )��������-�#��,"���.����" �����,"�������1"�� +�� �#��������6������

Page 9: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� ��

�78016���

��������������� � ���������� � ��������

0� ��#� � ���� ��� ���� �������� )���������������� �������������������� �K��#���+ ���,"����#I'��� �����'������ � ������#�#��������0((�S0 �� � �*$��( ��������()1���T'� $�� #�-"��� ��� #�#����� #� � 0(3� S0 �� � �*$�� ( ������ �� 3����T� "���

��-"�����#� ���&%%�������� S" �� )����)�������� �()1���T'� ����������������#��/"���

��#I������� �������/�������-� �*���,"���.��� �� �������������#�#������

��0((�����0(3��$��-�#�� ���#�-"�����'� ����� ) �������0((�#�K ���0(3� �����0(3�$��#�K ���0(('�" ��)1���������.��� � �� ��,"��$���.������" ����������#������� ���'� ��� " � ����� $�� ����� �.��� � ��� $�� ��"�� � " � �)1��� �� ���� ����#������ (" ��#� �#� /��#�� ,"�� ����� #�"�� � #�-"�$�� �$�� � )����� ( ������� �� ()1���� �� � )�����%��������� �()1�����3 �� )����( ��������()1����#����"�����# �� ��� ���"�� ��)1�����,"��� ,"�� �� %������� � � ()1���� $�� K� ��������� �� # ��*$�� ��� �)1���� ������ �� �"�� ���"��*$���

��0((�K�" �#�#������������������ ��-�#���� ���"������#>������������������ ���� ��� -�#���� +-�#������������������'�" ������� � �� ������ � ���������#�#���'�����"���"���� �#���������"��������� �� � �*$��S����#� ��'()�%�����%����**T'���� ������������� ������ �������� �� � �*$�����0((�� ��"� "������������ �#���� ����������"#��"������#>����� ,"�� �� � �1��� S��-� ��� ��� ���� �T� #� ���� �� � �� � �� -��'� ��� #� + ��� ����

���"����� ����������#� ����������+,-�� "���"����������-��������K#��������2����/#������

�K#��������2��(� ��"����������C�� ����D���#>����� ��"���,"���� �"�*$������ �1���� ����� "��� ������ ������

�� ��023���9:�0�

���� ��� #� �*� ��� �� -��� � ��� ��� ��� ���"��� �� ������ �� �)1���� �� �#���+ ���,"����#I�����"�����#�#�����)+��#������� ���*$�����)1���'��$������M�

������ �� K� ,"��,"� � �� "" �� ��"�� � ,"�� -��� �� �� ��� " � � ��"���J ��1������� ��.� ���'�K�" ��)1������" ��#���'����" �#� ���"����" ���-L� ��#� ��� -�#��� +-�#���� ����"�"+ ����

�����%���� �� �$�� ��� #� �#� /��#��� ��� �)1��'� #� �� #� � �� � ���'� ��1����'� �� � �.� ���'� � � � �)"��� #� �� �� �����'� � ���'� �)� " ���� ������"��"���'�� ���" ����

/�����%������ �� K� " � �#��� �� �� �� ��� �)1��� C��#�����D� ���"�"+ ����J ���������������) � �" ��1������� ������ �#���� �� �#��� ���)� ���,"���+��� ��������

Page 10: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !*

����� �� K� �� ��� �*$�� �-�"���� ����� �)1���� !����� ��� 1�����'� �� � �.� ���'� #� ��� � ����" ��*$����� �� �" ��� )���'���������������"��������

0��������" ��)1�������� ��� � ��K�# ���������� ���3��������C�� �� D�� �)"������*8�������" ���1+��.�������J �)��#"������ ���� �)"�������1�������������� �������

���� ��1�� �� ��K���#���#����������)1������-� ���� ���� � ����"������"�� -"*$����" ��� �� ���� $���(�#� �����C�) �D'��� ��.� ���'�-���" ��)1���� � �� ��*$�'���1������" ��1����'�" ���� ���"�" ��� �������� �-���

2������� �� K� ,"���� " � �)1��� #��#�� �� �"�� �*$�� �� �" ��� J � ���� � ��� #�� �����'� �� ��.� ���'���������#��� ����"� +�#�������" ��*$����� "���

/ �%�� ���� ��0� �����" ��)1��� �#� �� � � -"*8�������" ��'�#� ��" ���,U���-�#��� �,"�� >��#� ��#� ��� "��*�������������V ����

�9:�50���56�

������������� K� " �� ���"��� �( ������ ��()1���� $�� �" �� ��� �/) ���� �� �����"� �#� �#� /��#������� �� � �*$��$���>����"��� ���� )K ���# ��'��� ������ �� � ��� ���,"��1+�#���#� �K#�#�������� "" ������� �� � �*$�'�#� ���'�����%'����%����"�.�&�.� ���" ������"��������������������� ����I#���" �� �� �*$�����-� ���" ����-� �#����" �� ��"����� ��� � #� ���.�)���������������������� -� *�� �� ��#I� �.�#"� � ������� �>��#��� ���� � �� ����

-+#��� �� ��������� ��� �� � )������������� ��� ����#�*8��� ��� ��� �"� ,"�� "����� �)�#�����

��������� �������������������'� �)�����#� ���"���������� ����� �� �� ���#�*$����� � > ��� ������������ ����" �#>�������� ���#� ���+�������K ������������)�������# ��*$���� �"�����*$��S����� � ��� ��"��� $�� ������� #� � �� ���������� �� ������T� ��� �)1���� �� )�)����#�����V �#���S�/����%0���0�(����������AAT����

������������#�K �������#�#�������� ���*$�����)1�����#�"�����#���"�� ��'��� �*�� �� ���� � -�� ��� ���" ��� �.��8��� -� � � �#�"/���� �� �� -�#���� � �� "��� ���� #� ���#�#����� ��� � �� �������'� �� �#"�� ��� �� �6)��#��'� �� ����� ��� �-� �*8��� � � ���� "�� �'� �"��� ��������.#�*8��'��� �-� I#�������#��������(� ��"����������������1"*$��-���#� �,"���������������#�������"�� � ����-�#������������" �)��.��/�������� �� � �*$�'�����#� �M�

•� �� �������#����������")#�������������������S�0&TP�

•� 0���� ��� �#� ������ ��������������������������P�

•� ���������� ���������������������P�

•� �>������" ��������"��� �&����(�����

�� �� ��"� �� �� �� #�)� � �� )���� ��� ���� �� � �� � �*$������ �� K� �� ���"��� �������������'��$������#��/"��� �� � ����.#�"���� ���������������� �� � �*$���

��������������� ���

����������������#����������"����#� �#� ������&&M�

�����������

Page 11: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !!

��A� ����������-�)���&��I�M����K�3������K�4�����/���������#� ��M��*��K�����?�.���#� ��M�*��K��������K��S�"����K�1T���% �#��� �� 3���*�� S�5�66� " T� �� ����� ��� #� �#� ��� ��� #� �����5�66� S�5�66� *� �K�

�5�66�"!T'��#�"����-��������������3� �S�5�66�!"T��

��3���#��������� �#� ��M�7�8�9�:�;�<�=�>�?�@�A�B�C�D�E�F�G�H�I�J�K�

���/ )��������� �#� ��M�<;��=;��D;��@@���B9��9C��B@��@C��::�

+�(�#��#�������,"� ���S�>�T����,"����������B@�����#��#������� ����S�?�T����,"���������@C����#�������,"� ���S�H�T����,"����������B9�����#������� ����S�I�T����,"���������9C��

� �� �������� ��

�������� ������� ��� "������ ���� ���"���� ����� ��� ��� �����'� $�� ������� ��� �� ����� � �"����������"� ���-�����M�

��� 3.�� �� A�) � �� ���

� ��� ����� ���� ����

��� ������ 5��� �� �

�� � �� � 5�� � ���

%���� �"#��� ()1�#� !���

����� G��� (-� !��

������ &-� (� ! ��

���� & ��� ����� ( � !����

��� "#� � &� 0�#B��� J��

��� "#� � &�� ���� 0 �#��" �� J���

���� &���������� 0 �� � � J����

��� &���� 0 ��� �� =� �

��L�� &� -�#�� 4����� O�����

3���� &�� 4�#� �� O���

3�� A�)��� 4����� R� �

3.#��� � � �

J �� �" �� ����� �� ���"� '� �� ����� ��� �� ������ ,"�� �$�� "��������� � � #��.��� �������-�#�*$������)1���M�

�)���"�� 3.�� � 5� �� 0")�������

�)� �#� 3.� ��� 5�� � 4����

���� )�� � �� � 5���-�"�� 4������

�� �� L� �� (�� ���� �� ���

���#�� &��.� 0 ����� =� "���

��-�"�� &� "�� 0 ��#��� O ���

��� �#� �������� 0")��#� �

Page 12: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !

��������

Q�����/������-�� ��� �+�������#��������������������������"� ����� ��K�����,"��,"� ���#� ���� ��+ ���S�*�����T'� ������������������� )K ��#��������*$��?�.���#� ���"���������#� ���� �-�.������� �S�J�T��"�����*$��#��/-�#��S�/�T���

����� �����

J �� #����� K� " � ����-�#��� � #� � ���� S��T� -�.�S�T�� J � )��#�� ��� ��#�� �*8���#���������"�������"����.� ���$�M�

W��#�� �*$�������X��W&���-�#��� X��SYT��W#����X�SPT�

�� ����� �)��.�� �� ����� " � #�1"�� ��� -"*8��� ,"�� ���� � �� � "��������� �� �� ����#�� �*$������#�����M�

�)� A���� ( �� ����(-�

�� � A�� 0 ��� �"##�

?�� A�L� 0 � �L���

?���� (��� 4�"�� ! "#�

���"���.� ������� ������-��*$�����������M�

#������Y�2P����.�Y��22P���� ��Y�S��.�����T�����7P��%���Y��� S77�TP��5" A� ���Y�( �SZ[ZT���( �SZ�ZT�\��P�����(���Y�Z&� "*$����+����ZP�����3 ��Y�Z�3 �M�Z�\����(���\�Z��ZP��0��3 �Y�<2���A���S���3 �T�����7P��A�2�Y�7�927�<�2�7��:2:�;<:P��A�24�Y�����A�2P�����5" � �#���Y�WZ2Z��Z�ZXP��A� ��������Y�WZ�Z��Z[Z'�Z�Z��Z�ZXP�������5" �Y�A� ��������\����5" � �#��P�

�����������

��� �.� ���8��� � � ()1�#� 0��#��� S#� �� � � ,"��,"� � ���"��� T� K� -� ���� �� ���� ��� �������� ����P������� ��� ����$������������� �,"� ��#���� ����)+��#��M�

]�#��� ^'�5��

�"�����#������ _'��'����'� ��'���'����'��� '����

���#������ \'��'�� '�.� �

4���#������ Y'�`�_'�`'�_'�`�Y'�_�Y'��'����

����.� ���8����)��#� ���� �� ���)+��#������ �>��#���� ����� �#��I#�������.�#"*$��������� �*8����

Page 13: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !"

����!�� �����

&���-�#��� ��� ���� � �� � #�����'� ����'� �� �+����'� � �#��" ��'� -"*8��'� "������'�� �� � �����#� ������� ���� ����

5$�� �.���� �� ��� ��� #� �#� ��� �� �� �� � �� ��� " � ����-�#��� � ��� ������ ��� ;9�� � �� ��� #� �#� ��� �$�� ����-�#���� S$�� ������� �� � ��I�#�� ��� � �� ���� ����� ��� ��� �����T��(�� �����" �����-�#��� �������� ���#������� �A� ����"���#� +#� �"�� �#� ��S�L�T��(� ���� K� -� ���� �� � A� ��'��/����'� #� +#� � "�� �#� �� S���&&� a��T��5$�� K� �� ����� ��"�����*$���������*����� ����-� �*$������ ���

+�3.� �����������-�#��� ����+�����M��� �'����J����� A�'�A�)����������

; 0�<<<��<<<=�

���� ���" ���� �����)��#�������#�� �*8����� ��" �����-�#��� �����#/-�#�������������#�� �*$�����������-�#��� �������.�����#� ����KM�M6$0�H�� ���������1������I����H�� �����IE��3.M�

�)���������b�����#� �������#���������c������N����1�� !���������)������������������MY�d!���HP� � ∫�3,"����������� �����������������%� �� �����MY�)�����)��P� ∫�3,"����������� ��%� �� ������������P���P��

��>�?�<<<�@�A�<<<=�

��-���" �#�1"������� �+������"�#���������" � �� ������������.�����#� ����KM�����O�>HP%��������������������I?��1�H$���IE��(��� �����$��#� ��������� � I��-"*8��M�

%����� Q��������������

A�L� 0 � �� ����� ���

?���� ������� ����6�� ����� ���

����(-� !� �������� ���

3.M��#�������M�����O�>!@@#*?��1���������b���#�� ���2���� ������ ����������� �c��� �������M�����O>!@@!**?��1�������b���#�� ���22���� ������ �������� ����c������M�&��� P�)��������-� �&��MY�2�NS�T���0���S�T�����W&�X�MY�2P�����b�[� �������� �������� �����c������-�5�4�1ST�Y�d�H�����.�P� � ��������b������6�� ����� ������� ���!�-� �d�H��������)��#��c�����b������" ���#� ��������c���P��

Page 14: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !&

"��� � �����

��#�� �*8������# ��� ��*8������" ����� / ������ � ��.�#"�������

9�B �<<<����=�

0 ����" �#�1"�������#�� �*8���� �" �)��#�����#� �������� �����������.�����#� ����KM��/R6.�H�� �����I�/.�E��3.M�

�����������b�����#� �������#���������c�������������������b�����)��#��������c��������P�������������������b�����)��#��7�����c��������P������b�����#� �����-���������c���P��

A<<<�0���<<<��6��<<<=�

3����.� ���$����#������ ���� ��"��������" ��#���*$��)���������#� ������ ����� ��S��T��"�-�����S����T�������.�����#� ����KM�6�H��������I�$0/.�H���������� �����I�/25/�H���������� �����IE��3.M�

�)���������b�����#� �������#���������c�������1��S�=� �������������b�����%��#���� ����� ������c�����������������b�����%��#��-���������cE���P��

B0<<<�=�

! ��-� �����.�#"*$�����" �� �� � ���� ����������� ����������2����������.�����#� ����KM�R�$��H2���IE��3.M�

���������� � �� �P�)���������b�����#� �������#���������c�������-�.�Y�7��������������������� ���E������b������" ���#� ���������c���� ���D������b�����#� ��������0 � �� ������c���P��

Page 15: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !#

5��<<<�A<<<��6��<<<����=�

����������" ������������#�� �*8���,"������-�����#���*$�����" ������ �����.� ���8��'������" ���� ��������������-��� ��������� ��.�#"�����#� ���������")�#� ��������0� ��������� ��� $���+����������������-�����'�����&�� ����"�A��&�������.�����#� ����KM���5/�H�����I���H/S�������!ID�H�� ��������S�������!IE�H/S������� ID�H�� ��������S������� IE�H/S��������ID�H�� ��������S��������I�/25/�H�� ����IE���E��3.M�

�)���������b�����#� �������#���������c����������S��1���������!D�b�����%��#���� ��.�Y�������c��������� A�"D�b�����%��#���� ��.�Y�7��"�R�Y�9����c���������&@@TD�b�����%��#���� ���:�`Y�.�`Y�;�����c�����������������b�����%��#���� ���.�`����"�.�_�;�����cE��������E���P��

��7�0<<<�1�0 6=�

4�����" ���� �����)��#�������#�� �*8����K���#���*$��)�����������")#� ����%������� �����-����������.�����#� ����KM��/�/�$�H�� �����IE�%�����H��������IE��3.M�

�)���������b�����#� �������#���������c������.�MY�2P��������������������.�MY�.�\��������%�����BS�;� CE���P��

A�<<<�0�C�;�0D<<<��<<<=�

&# � ���� ���" ����� ������� �+������� �'� �������" �)��#�����#� ����'��K�,"��������1�������� �-��������� ����'����")#� ������N���� ����������# � ��� ��� ���������.�����#� ����KM����H�������I�D;�H�������������I����B��N���C�H������1����I����H���������� �����IE��3.M�

�)���������b�����#� �������#���������c������1�����D;�!����!*���� � ∫�3.�#"����W#� ������X��� ����Y��'7'9':'�';'�'<'�����2���������b������� �����������c������1�����D;�!*���N����!���� ∫�3.�#"����W#� �����%X��� ����Y��2'�'<'�';'�':'9'7�������������b������� �����%����c���P��

;� 6�<<<��<<<=�

4�����" �)��#�����#� ������,"���,"����� �����#���*$��)���������1������-����������.�����#� ����KM�M062/�H��������I����H���������� �����IE��3.M�

�)���������b�����#� �������#���������c�

Page 16: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !T

�����N������D;�!���� � ∫�4�������W%��#�����#� ����X��,"�����Y�����������b�����%��#�����#� ���������c���P��

9��E=�1�5�0 �1�<<<=�

(�#� �������U��� � ���" �)��#����� ����*$��1��'�N�����"���������������)��#��������.�����#� ����KM���/�VE��,"���,"����#� ����������%� �� ����� � �� ���� "*$�����)��#����� ����*$��1��'�N�����"������������.�����#� ����KM���.$6.W/E��3.M�

�)��������b�����#� �������#���������c�����-� ���MY������2��������)�������������-���Y�<�������������������UE�� � � ∫�������� �����W#� ������X���������b����#� ���������c����������-���Y������������������������%E�� � ∫�4�� ���� ����#� ����1����"��������W#� �����%X���������b�����#� �����%����c�������P�����b�����#� ����������c���P�

#���������������������$�%$������

��� � �#��" ��� �"� -"*8��� �$�� ��#�� ����� �� ��*$�� ��� ����� ��� ��#�� �*8��� S�)��.�� ���#� �����O�T��� �#��������)1����"��� � ���������%�����S�6)��#������.�#"������� ��" ���"������T��"��������S�� �#"�� ����� �� ������"��������#��T��

��5��1���

�����%��H��������IE�����H������������������X���IE�H���������� �����IE�

(�#�)�*��������� �#��" ��K�#� ����������� ������ �#��� ������� �+�����,"���� $�� �#�)�����S�"� ���-�#������ ��K�������#�� �*$�����A��.M�� �#��" �����S����.M� ��TPT��

�� �#��" ���� �S�')M����� TP� � ∫�&/#��������������� �+���������%����������� ����� � � � � � ∫���#�� �*$������� �+�������#��������#M����� P�)���� � � � � ∫��� ������� �#��� �������#�MY���\�)P���P��

.1�50 ��

1%�������H��������I�D�H��%�����IE�����H������������������X���IE�H���������� �����IE�

��� -"*8��� ��� ��-� � � ���� � �#��� ���� ����� �) ���� ������� ��� �� �� ��� " � ��"����'� ������� ���� ��"����� �� � �� ���� ����� ��#��*$�M� H�� ���� 1%����I� D;� ������ �"���%���D;��������

Page 17: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !(

�-"#����� �S�')M����� T�M����� P� ∫�&/#��������������� �+���������%����������� ���)���� � � � � ∫��� ������� �#��� ��������� ��MY���\�)P� � � � ∫��"�� ��"��MY���\�)P���P�

+� E"�� #� ������� � ���� �� ��� �"��� ����������������� � -� ��� @02�'� #���� �����"��� ���1������������ ����#I��#�������,"����#I��I�" ��)����������S������ �1��� ����� �� �� �"��'� ���� �-� ���@��T'� ���$������ ��#"���#� ���,"��-����.���#�����#� ��1+���+� �������,"���"-�#������ ��" ��)�����#������*$��#� ������� ���

!"�����,"���� �����#� ��K���,"��� �� ���� ���� ��" ������"�����#� "�'� �����#� �#� ���� ��� ��������"��� �( ������� �()1����K��� �)��������� ���"��*$��#� ���� �� ����

��50��8�0 5������9:�0��

���� �-���� ��� #���'� �� ,"�� K� " � �)1��� F� �� �� -��� ���� �� �� ��'� " � �)1��� K�,"��,"� � ���� ��� ��� ��'� �"� #� ����'� ,"�� ������� ������ �� #>����� �� �� ��� " � 6�#����#�����

J ������� ����� �� � � ���0((���,"�����2����3�������)1���'����� K����-���#� �,"����1������/����" ��)1���d�����H����� ��� �� ���������#� �#� /��#�����#��6�������" ��)1���d0��H��!� ����" ���"#��������%������������ ��S���� � �������%����� �$����2������������ �"� ����/���� �� "�����*$�� �� ���-�#���� ��� ���� �� #�#���� ��� 0((T� �,"�� ���� " � #>�����#� ����������#�� �*$�����������)1���'���� � �� ��#�� �������!0����������"������!-����M�

�!0���Y�����������5� �M������E�����������%�����&��S0M�0��� TP���������%��������P����������%���"��5� �S0M�0��� TP����������%�����L5� �P���P��!������Y������S!0��T����������%���"��5� �S0M�0��� TP���P��

(����"����)1���!�������� �������)1���!0��������� ���� �+����.� '���������%�����6���'� ������%����� ���� �� �������%�� 5��N.� '� ������ �������%���%��.� � � +� ��-"#��� ���#� ��" ��#� �#� /��#��6�#���� ��#�����)1����(����� ������"���6 � ���C����D�S#�����������)1���T�� ������ ���� � �"�������� ���#I'�����#� �M�

$�� M��� ����������#�*8������� �'�"�����������# ��*$�����1�����'�#��.��������+������ ���" ����

$��%M�4�����+���������#�#��*$����� �"���� �"����"���

$�%�����������M��� ���-�#���� �-�� ������#� �������1������� ������)������ �����#� ������#� �M�%�8��'����#B�%�.���4�����%�.��

Page 18: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !-

��B�����5��9:�0���������

@"���� ��#����� �� ���� �'� K� # ����� �"� ��#� ��� " � ���� � �1��� �� " � �)1���-� "�+ ���S�� ���������#������$�� T��� �����"�� �������� �����)1�����3.��� ������3��� �����>������S���.�����T���#I����� +��)�� �� �����#�� �*$����������)1������#������45����,"��-���� ��"������"� ��#� ���#� ���# ��*$���������-� "�+ ����3.� �������#��6��������#>�����# ������� �����)1��'�� � ��M�

�%����J��P� � � ∫��)� " �����" ������"�����������1��� � � ∫�0� V � �������)�1�����%��������J���'�O�!����'�O�0 �#�'���������'��������'�G ����#�'��� ���'�� ∫�J�������" ���"����������� �'��������P���O����!�� ��Y������S!�� T���������������∫�����#�� �*$������)1�����#����,"�����������6���������%���������7

���%�����6��(��%��%���������7

����P� � � � ∫��,"��K���-���������#�� �*$������������ �M�!�� �P�� � ∫�� �)"������ �+������ �����#� �#� /��#�������)1���!�� ���� �� �������� � � ∫�&/#�������� ������ �� ��� ������68 9��5"7� � � ∫��� ��������#� ����*$��,"���� ��������������������S� �� �� � � � ���������T�#� ��� �� ��� �����"���������� � � � ∫����������� ��� ��� ������

J �������������)1���45���1'�K���#�� ������ ���������#������45�����,"��� )K �K�" ��" ���)1����4��� ) ��" ��)1��� K�" � ���������� ���#���������"� �� ������� �� #>������� �� ��� " � 6�#�� ��#���� �K� ��� �'� �� ���� 45���1� $�� #�K � #� ���� �"� K����'� ������#��#� +�#� ������*$��������"��#� �����������)1����

()�� ����� �� #>����'� �� ��� ,"�� �.���� " �� �� �+���� ��#�� ���� #� � �� � ��5���1��� ����������������)1���45���1M�

���������� �M�!�� �P��

5���1� K��� #�� ������� ��V#������ ����45���1��3����� �+���� �-� �������� -� "�+ ���� � ��'� ����� �� +� ���#������ #� ������ �� ��������� �� �� -�#�� � �� �� #� �"��� � �� ��"�"+ ��� ,"�� -� � ��� � � �� ���� ��� Q� �� � �� ����� ��#�� �*8��� ��� " �� �"� ���� ��V#���� �-� ����������������)1�����"" � ����� +� �� ���������� ���������������#�� �*8���,"����-��� ��� ��) �� 1�������&� S"������� ��%����� �������%�� �� &� -�#�� ��� ��#" ��� 6������T��� �#����� �+ ���� C1������ -�����D'� $�� �� ����� ,"�� ����� C1������ -�����D� ���� � ��� ����*��# ����������C1��������D��

Page 19: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !�

���#������ ���"�� #� ������ ��� -� "�+ ��'� �� � ��� #� �� ������ �#� ���� +� ������#�*$����# �������"� ��#� �����#>����'����� �����,"�����-����� � ����+�����/������

#� ����*$��S�� ) ���������������'�#� �@/)/T'��.�#"*$������� �)"�*$���������#�*$����

3 ������-� "�+ ��'�#���#� � ���" �)�$��,"�'�� �� �������.�#"*$�'������ ������" �#��,"�� #� � �� �"��� ��) �� ���� �)1��'� �� -� "�+ ��� "��� �"�� #� �� ��� �� �� �#��� ! � �� �� �� � � �� ���$�� ��� -� "�+ ��� �� �� ������� ��� �)1���� S��������� �������T� #��,"�� �� �)1���

� S(������ ��#�������� �� �+���� ��������T� �� #��,"�� �� -� "�+ ���� 5�� 1����� ��� '()�%������%����#��,"�����+����.��������#��,"���"�����������) �����*$��'���%���� ��� �������"���#>����M�

������%��!�� ��%"�����#BS���� M�!()1�#TP����������� ������ �MY�#�G ��P���P�

4��� ������#>�����#� ������������#�*$�'��� � ��M�

�%����J��P������1����%��������J���'�O�!����'�O�0 �#�'���������'��������'�G ����#�'��� ���'����� �'��������P���O����!�� ��Y������S!�� T����������������� �������%"��M�!%"�P� � � � ∫�J ����������-����,"����� ���������������%��%"�����#BS���� M�!()1�#TP� ∫���#�� ����" ����� K�������������6���������%���������7

���%�����6��(��%��%���������7

����P� � � � � ���������� �M�!�� �P��� �� �������� � � � ��68 9��5"7

������%��!�� ��%"�����#BS���� M�!()1�#TP�� ∫�(�#>������������ K�������������� ������ �MY�#�G ��P���P������ � � � � �

(������)1���45���1���� ���� �����" �#� ���������1�����)�$��,"����#I����#���"����-� "�+ ����4�������������������)1��'���������1�K����)1���)�$��� �� �� ���������� ���� �����#I�#���#� +������#� ���������-� "�+ ����

Page 20: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� *

4���� �� � �1��'� #��#���� �� )�$�� � S ��T'� �I� " � #��,"�� �� )�$�� �� ��1�� �� ,"���#��#���0� ��������#�*$��-�#�������1�����#� ����7&��

+��>��� �#" ��������'������������ ,"���'�-�#��������) ����� ,"����:!�41��5"�S#� �����*$����� e�������@@@T��� � ���,"�������� ��# ��"�" �� ,"����#� ���������� �� ������������ �)1���� # ������ �� ,"�� �� ��#�� �*$�� ��� �)1��� �� !� ����)�� ����� ��� �" ��'� �*8��� ���/�����%�� �����

����������9:�0������5�7���0���

=�#I��� � �������"����� ���1��������'()�%������%������ �� �� �� �����)1����# �������0� ��.� ���'���� ����� $�����-� "�+ �����5���1� "������ �� �������!������ ��1������(����� �� ��� �#� ��� +� ��� "�� � ,"��,"� � �-� I#��� ,"�� �.����� ��� 5���1�� 3$�� �� #>������� ���� +������"��� ���-�#�*8��M�

�%����J��P������1����%��������J���'�O�!����'�O�0 �#�'���������'��������'�G ����#�'��� ���'����� �'��������P���O����!-�� ���Y������S!�� T����������������� � � ∫��,"��-��� ���-�#����������%"��M�!%"�P� � � � ������������%��%"�����#BS���� M�!()1�#TP� ����������6���������%���������7

���%�����6��(��%��%���������7

����P� � � � � ��������-�� ��M�!-�� ��P� � � � � ∫��,"��-��� ���-�#������ �� �������� � � � ��68 9��5"7

������%��!-�� ���%"�����#BS���� M�!()1�#TP�� ∫��,"��-��� ���-�#�������������� ������ �MY�#�G ��P� � � � ∫��,"��$��fff���P������ � � � � �

Page 21: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !

+�(����� �� ���-�#� +����������#>�������� ������"� ��#� ����g ������(��#>�������� �� �� �*$�� '���%�� -� � � �� ����� �� � ��#I� �� �� ���� � $�� ��� ���-�#� +�� ��)�� �� ��#I� �� �"�*$������#�����&���-���������������� ��� ��� �� ���#��6���� �����������"�#>������

������%��!-�� ���%"�����#BS���� M�!()1�#TP�� ��������-�� ������� �MY�#�G ��P�� � � ���P���

�78016����

���&��������"���&��

�����#I��������" ����6��������#��/"����� �� ���) ����+ ������ �)������������ ��$������ ��#"��'�����#��/"�����#I����� +���+�����#� ���� ��'�� )K ��� +� �� ������ K��������� "" ���������#�*8���������� �� ��

+������ ��#I� ��1�� "�"+ ��� ������� � 1��� �� )� �� ��� �"� ����#���� �� ��*$��0��� ��6���������$%����'���#I� �#�)� +�" ���"���'�;0������) ��������+ ������ �)������

(����� ��������� -�#������ ��-� � �����������������"��� ���M�

+6����0��% �8�� ��

(�� )������� �)������������ ��K�-� ������ ��)1����,"����$�����/�����$�������,"��������#�������1����#�����-� ������+ ������ �)������

Page 22: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

<��=�>��������()�������?������&�(��������� �

%����

(�� -� "�+ ���� S�)1��� 5���T� �$�� ��� ����� #� ���� �� �� �� ��������� ������� ���=�#I����"����� +��������� �������� ��"��#� "�#�*$��#� ���"�"+ ��'�#���#������� ���������" ����)1�����3�����)1�����$��� �������������������������'� �� ������1�������#���������#� ���

=�#I� ����� � ���� � ,"�� �� -� "�+ ��� K� " � �)1��� ,"�� #�K � �" ��� �)1����� �"������#�*$��-�#� +� ��#��������� �" �-� "�+ ���� �#����������� �� ��� +�#� ��" ��� -� "�+ ����# �������Q�����/�����" �� '� ��� ��"��#"�� �#� ���� ������������ ��� '��"��K� �� ��"� �����+�����J �-� "�+ ���)+��#���#�"��������"����#� �����M�

���� �������� �"P���%�8������ �.� ���*$���� �� ���*$�P���%� �����/"��P�����%� ���� ��� ����+������

(�#>������� ���'���+ ���#���#����#� ����.�����'� -�#���.�� ���� +������)1���-� "�+ ��'�#��,"����)� ��������'�� �:���1'�������" ��#�����-� ����#���#������ ����#I'������ ��� ����.���#�*8��������,�%���6��

+�Q�����/�������� �" �-� "�+ ����� ����� � ���� �'��� �������.��� ��"��� ��� ��M����� !���� " � ������%����� ��� !���'� #���,"�� �� ���"��� #� ���� CW5� �� ���

-� "�+ ��X�0 �PD����������� ������-� "�+ ��P��"�

Page 23: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� "

7�� 0� �� � � � � � " � -� "�+ ��� �� � ���� ��� " � ������ �:'� � ��K�� ��� "��� ���#� ��������)�)����#���������'���1������Y��������� �� ��� ������������

����������

(� ���� � ��� #>������ � ����I#��� ���� �#����� ��� #>����� �� ���� ����� � �1��'� �#�"�������"������ �������� ����� �#" ������ �� �� ���*$���0���� �� � ����#������ �������� #� ����� �������� �������� �� � ��S#� ���� ��.� ����#� �+ ���'������ ��� ��� �����'�#>���������� )�� '����T��� ��������� � ���� �"�� �#������ ��� �$�����e��������@@@'���#���������+�������������

+� 0� �� �" ��� �-� �*8��� ���#������ ��) �� �� ���� ��� "�� � ���� ���� '� � �#" �� �-� I#������2���'�0������>��#����������� ��

����� ��)� ��" ������ �1��'������� ��� ���"� ��#� ������+����������.������" �� :���� #� � �� � ,"���� #>����� S�0��T�� 0� �� �� � �� #>����� ��� " �� :���� � � �� �#"�� '��� ���� �����%�����)"��*$������+�����(����.������ �� � +��� � ����� ������ ,"����#� �����������)"��*$������+�����

+�Q�����/������� � �� �����)1����� ���������/������� ��K������ ������ �������#���! '����)�$��)�$�� �S4�##��5����:���T������������'��"������� ��K��������*8������ �"�Q�N� Z�$������� :W����� S#" ��������M� �� �#����� +������ ��K����� �#������\�A� ���")��������� ��������*$����+� � #������) ������ ��RT�

���������� �������

�� ������ S�"� �)1���T� �$�� ��� ��� ���� ,"�� ��#I� "�� +� �� �� �)���� � #� � ������#�*$����� � � �#�"/�����)1����� ��+ �����+����'� ����#� ��#��.��������+��������)�8��'���������� �#�"�� � )K ����"������*���� �) �#���� �� �� ��� ����������*$�����������)1��������"���)1����$���� $�����/������,"���������#�*$������� ��.�#"���'������-��� ��� ������� ��*�������/�S�/����%����.@% ��#�T��

(�� �)1���� ��� ������� -� � � ���������� � � � "���� ��� -"#���������� � � ��-� ����

�+������0� ��.� ���'�����)1����,"�� �� ���� ����1������ ���#�����������������S����#� ��

-���'�����������#� ��'����T�-� � �#���#��������+���������#������������

=�#I����� +�# �� ���"��� >� �����)1����#� ��� )K ������ ��" ���1+�� ���'��� �������-���#���#������� ����*�����������0� � �.� �������� +��� � �������������#� ��������)1�������

Q��%����������&@*�S()1����(�R����"��� ������� ��� ���������� �1�������Q��%��������

��"@*�

��� �)1���� =%RT�� J �� ���� � �#������ ������� ��� ���� K� ,"�� "��� � � ) ���� ���� +� �� �#���#���� �� � #���� ��#���� ��� �)1���� � ���� �� �� �� � � ��� ����� ���� ���� ��� �� ,"��-�#���� +������ ��������������� ������� �"�*$������ �� ����

Page 24: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� &

������� ���������

0 ����I#�����#��.$��� ������ -�#�����"�������#>������Q��� ������� ��"����+��������������� S� �� �������T� ��.������ S3����T�,"�� �� � +����� �� ���������� ����������)1�������#�������

������)������" �-+#���#� ������ ������ �������*$�������)1�����=�#I�"�� +����+������� ����������� �� �� �� ������� � ��� �)1���� #���#����� �� -� "�+ ��� S�#�"����� �� � >� ���-� "�+ ��T'������+�������/�������� ���� �#�� ��������*$��� ��#� ����� ������#>��������� �� � ���

(� ����� �����)1���� S'()�%�����%��� ; ��#��������� �" ��)1������ ������(���@� ������ ��� '()�%� �����%���T� �� �� �� � �� �� �� ���� ��� ����� ��� #� ������ ��� -� "�+ ���#� ��� S�#�"����� �� � >� ��T�� =�#I� ����� "�� � �� ����� � ��� �)1���� �� �� ��#����� � -�#�� ���,"��,"� ��)1�����-� "�+ ����

����# ���

��K ����)�8��� ����- �,U�� ���"������������ �#��������� ����" ���������������*$����� �"�� �#������������ ����

Q�����/�������� �������*$��������������#���#�����������#� �������� �"�� �#�����,"����#I� ����"�����'�)�������� ������M�

��� 4��� ������ �� ��������� 0� �� ��� ����#���� �� #" �� � ��� �"��� ��) �� �� ���� ����#� �������������#� ������������������#�-� ������������)��.�M�

��

7�� @"������#" �� ���� �"��� "�� ����-� ��'�#��,"����)�$����,"� ������ �"������ �����) ������+ ����������������

9�� ���,"�� #� � �� )�$�� �� ���� ��� �"��� �� + ��� �)� �'� ��� �*�� " � �"� ��������#������ ���" �����*8�������*$������������'�����#�������

:�� ���#���� ���� ����� #� ���� �$����������������#� ���#� ��� �"'� #��,"�� � �#� ������#� ����������/������� � ��������� �� ��+ ����)� ������#� ���#� ��� �"���#��������'��� �� �� � ����)�8���������������-�*����� �#�������� ����

+6����0���3�% �8�� ��

���"����� ����$����$��� �� ������/�����,"���������� �K� ��#����� �����#I����� +�� ��#������������)�������� �����������#��� �����*$����)� ����� �"��

Page 25: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� #

�������' � ����

(�G� �#���� ����0 �1���#�K �" ����������-� "�+ �����"�"�������"������������������#�*$�'����� ����� ��#� ��� ������-� "�+ �����"�"������'����#����������"� � ������������� �1��'�� �������������*8������� �1��'�� ���" ����

+�=�#I�� )K ����� +�#���#� �" �)�$���� ����#�� ���G� �#���� ����0 �1����� ��K��

������������ '��

'��$�"��������

(�"�������#������ �����# ��*$����� �"���� �������"��-� "�+ �����=�#I������# �� � �"���"� �"������������������ ��K�������)1����"���"�����"������"����S��#�����������+������������������������������T����# ��*$��#� ����������%�� �� +�#���#�������-� �� �����) ����������,�%���6Q��

Page 26: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� T

��

%�����������

0� �� ������ �� K� ����/���� ���� � �� ���-�#� � ��� � �� �������� ��� ,"���,"� � #� ���� �����)1���� ��� �)����� ����#������ ��� )�#�� ��� �����'� �� 5����� .������ � � #�1"�� #� � ��'()�%������%���#� ��� ��� ������� �� � ���� ������#� �������� ,"����'�K�� �� ����� ) � �,"������ ���-�#�*$��$���-�� +����#� ��������)���'��������� ����-� "�+ ��������� �,"��$����"��"�����*$���-������� +� �� �������� � �������,�%���Q��

����1����@@@�K� �����+������������*$�������-��*8������#� ��������)���'�K�����/������� � �" ��"� ����#� ���'��������������"��"�����*$���� ����-� "�+ ����.N�1���@@@��� �����# ��*$�����" �����#� ��'������������ ����� ���*$�����" ��"� ����#� ��������)������%��������� ��+ ������ ��-� I#�������� �������������-��*8������#� �������#����������O�#������� ����+ ������ ��-� I#�������������-��*8������#� �������#������������ �#�)�����+ ������ ��-� I#�������������-��*8������#� �������#������# �������������.#�"��,"���,"� ���-��*$���� �����#� �����5������������#��������������-��*8�������#� �����������������%����"���������� �)"������#� �������#������#� ����#� ���������#��+ �������������5���������%������������� �)"������#� �������#�������� ������#��+ �������������

5���������%�����@@@����������� �)"������#� �������#�������� ������#��+ �������������� ������� �� ��*$�����#� �������������������%��@@@�-���������#��*$������� �)"������#� �������#������#� ���� �����#� ��������#��+ �������������W����������������%��� � ����������#��*$������� �)"������#� �������#������#� ���� �����#� ��������#��+ �������������

Page 27: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� (

�������(��������������

(�������+�������������������� ����� � ��������� �#�������)1�����������#�*$�M��� "�+ ���'�����"������'��� ��� ����@�����'����AA�S������%0�����0�(���/��%�)����#�������#�������V �#�T��5�����I#��'�����#� �����������#�����*8��������)1���������������� "������������ ���-� �*$�������)1������ �����> ����# � ���������"����������M�

•� �"�� �����,"���������������� ����� �� �-� I#��������)1������� ��������

•� J ��#"�� ���*$�������������������� ���� �� "�����>��#�������)1���'�-�#��������� ��"������� �� �����

(����� ������"������ ����#� �#� /��#���,"������"��"�����*$���!� ����4��������.@������,"���$����� -� � ���� �����+������� ���"�� ����� ��K����� K#�#��'� ����#� �'� ���"��*$�����#� ������ �� # ��*$�� ��� �� ����� ����#�*8������K ������������� �� �-� �#��" �� #���*$����� ������� �� �� -� "�+ ���'� 1������ ��� ��+����� �� �K� �� �� ����#�*8��� #� ������ �� -� � ���!�� ��������� 1����� ���!�� ������ K� �� � �� #�� ���� �"� ��#� ��� ,"���� �� ��*$����� e�.N@@@���� �"�� �#�����K��.�#"�����

+�Q�����/������ ����#I�# �� ������ 1�����'��"�� �1���'��"� +�#��������� ���0� ����������� ������������$����#������1������ �� ��#� �����# ���" ��������������������� �> ���[���2�.�[�/2�06� @*[��'�/��5'����,"������������� �1���K��#� �������� �> ���[�/2�06[R�22/�\'����������.� ������$���"���.���#�������

+� 0� �� ��-�� � �� � �1��� ��� $�� ,"�� ��!�� ����� �.�#"� +� �� �/#��� ��� #���� � �1��'�#��,"��#� ���)�$���� �����#� �����1���������#���������*$�������������� �#� +������������#�����'()�%��'���-���,"���,"� ������)1����#� ��!��5����"�"���5�����

+�()�� ���,"�������"���-��������1�����!��������S� +���� �������"�� ,"����#� ����.��$�� @���T� K� �� ��"� � �1��� #� ��'� �"� ��1�'� " �� ���� 1����� ���� +� �� � �� �����'� �� �#� �#� /��#������� �*�'����" ���" ��1�����1+��.������

Page 28: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� -

+�0�101������76 52F���5������������

J ������)1��������������� �����#�*8������������������������ ������������� ���K��� �"�����*$�������)1���'����� �� ��������>#������������������ �1����(����� ������������������ ���� K� �� 6�#�� ,"�� � ��� ��� " �� � ,"��" �� �#� �� ���� �� �#����������� S ����&����%����� ����������� �� ��������� ��� 4+����� ��� ����#�*8��T� #� � �� ��������� ������ ��� ��� S'()�%� '���������� �� ( ������ �� ()1���T� �� �� �� ��"*$�� ��� � ��� ������������ ����� �"�*8��� � � ��+���������#�����'�" ��� ,"��" �������K�����/���������� �*$�����RW6�S>����%:����������%���J���������&� -�#��G +-�#�T'����� �� ��������>#����>��#������������������)�#���������������#� ���#� ��� ������ �� ��������)��.�M�

�����������

��� �� ���� �*$�� ��� ������� ���RW6� S� ��K�� ���� �)1������ �T� #� � �� + ��� ��� ����*$���>��#�� ��� ������ S� ��K�� ���� �)1������������%��T� �� ��� ,"�� ��� #�"��� " � �� �� ��#����) ��� )������+ �������� "��*������� ��� ��.�#"����������������� �����"��������*8��'��������� ��'�����#� ���#� ���� �,"� � �������"�"+ ����

7�� ������ �*$���������������RW6� #� ��� + ������ ����*$�� �>��#����������� ��������� #� �" �� #� �� ��)�������� ���� ������ ���������'� ���� +� $�� �#���� �� ��� ���� +� �� �#� �������� �" ���)������������ S����(���&������������� ���� ��� ��� ����%�#����������T'�#� ��"���-�+��#��� �� ��������>#��'���������#�"������� � ������� �" �C�����������-� �*8��D��

Page 29: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� �

9�� (�����������)�#����������'���#�� "*$������ ����������������>#������������������# ��*$�� ���� 1������ ��� � ���� �$�� �-�������� �� �� ��� ����#�*$��� (� ��������� ��'��$���� ����� ��'� ��"�� +�� �" �� ��� � ��������

:�� ?� ����� ��� 1������ ��� � ���'� � � /����� ��� "�����*$�'� ��"����� � ���#� ��� ��� �#����� ��� #���-�#�*$�'� �� � � #���,UI#��'� �� � �#����� -"" �� ��� �"�*$��� ��� "��*����>��#������� �� ��������>#����"��� �#� �� �*$������������� 8��'��$��-������"� ��#� ����� �����������)1������ �������

��� (� �����> ��� ��� �)1���'� ��� -� "�+ ���� �"�+����� �� �� "�����*$�� ���� �)1���� ��������%��'��������� ���� ��*$������"���#�*$�����#>����������� �)������#� ������������1�����'���� �#���,UI#����� ��"*$������,"���������������� ����

��76����023��A�0 ��

��������" � �'�$���

���� � � ������� ����� -��� �#� �� ������"�������)1���� #���#������� ���������%�'�,"�� �� �� � �� �� ,"�� �"��� ����#�*8��� � �����#�� � " � ������� #� �������� ��� ��-��*$�� ����#����� ���� ������ �� ���� �� ��� ��� ��>#���� (�� �)1���� ����� ���%��'� � )K � ���� � �� ����� ����� �� � ��>#���� �>��#��� S#� �� �.� ���� �� � + ���M� #� � ��'� �����'� ���,"�'� �#�T�-� ����#� ��������#��.8����� ������

•� (�� �)1���� ����� ���%��� ���� � �� � ����#����� �� �)1���� ���� #� �� $����'� 5����������%��'� �"�]%������ ������� #� �����*$������������ ����������� ����� ��

Page 30: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� "*

����������� ���*$�'��.#�"�$�'� ��� *$���"����*$�������������3��K� �� ����#���#�*$�����������)1�������#� ������ �� ��� �-�#���������

•� ��� ���*8��� ��� ������"����� � ������ �$�� ��-������ � � �� � ,"�������� 0����)������$�� ��� ����������� � # �� � ����#�*8��� ��� ���� ������������� ��� -� �� ���� -+#��'� +����'������" �����"������������� �� �������������)1����������%�����"�"�������������������� �/S�����

•� (��-� "�+ ������������#�*8��'����� ��� ����������� �� �����" ��"� �����)1������������%���� ����� �����*$������ �� ��������>#����� ����#�������������.�#"*$�����" �#>������. ���

•� (���)1������������%����$��#�����������)1����,"���� �#� ����� �*$�������������������(�����������&���������� ������#��������)�#�����������#� �������#�*$�������'�� ���-�#��������� ���������� �"�*$�� ����������

•� (��#������������ ������)�#���������������� �#�����������"��� ��� �M�

�� �����������������������������

(�� �)1������������%�� -� � � ������������� �� �� # �� � " �� #� �����*$�� �>��#�� ����������� �� ��������>#��'����� ������+ ���������$�����"�"+ ���#� ���+ ����������������%�#������������3����>�����-"�� �������"�� ���$����� �)"/����� �" ��6 � ���������#�*8������ ,"��" ��� �� ���� ��� �����/����'� ���� #� �� �6�5� ��� 6��'� $��/��� ��� �$$'� $%S��� ���.����'����������U������������'�6�.���������S��� "�����" �����

"�����)������" ������ �)����

(�������X���� �������� K� "�������� �� �� � ���� � �-� �*8��� ��) �� �� "��� ���� ������#����������"����)������(���#��+ ���������� �#� ��" ��+ �� �������>��#�� �)�������#� ��" � ����� � ��� ���-�#�*8��� ,"�� �� �� � " � � ���� ��� -�#�������� (� ��#��+ ��� �����#�� � �-� �*8��� ���� � �)"��� ���� #� ���� ���� #� �M� ���� ��� /� �'� +.� �� �� #� "��S���� ����������T'� +�#� ���"��������'��#����"�����*$�������#��+ ������������ ���������"����������M�

Page 31: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� "!

��� �������Y����M���� ������I�#����$��� ��������#� �� �������#��+ ������� ��"���� � ��� ��� ��-��*$�� ���� �"���#�������� J � ����������� � ���� +� # �� � ��� #� ����#� ��� �� ���#� ��� /����������#�*8����� �� �������

7�� ��%�������$�X1���������M�(����� ��� ���,"����������*$��������������1��-������� +,"���� %������ �"� �� �� ���� ��(���#��+ ��� ��� ������ �� ��� ,"�� �� �"�*$�� ����� �)"��� ���� #� ���� ��� ����� %������ ��1�� ��������� ��� -� �� �-�#���� ��"����� ���#������������ +-������� �����

*�� ������%���$�)�����

(���������� ����������#�*8���#� �� ���������" �� -� ����� �������K�" � -�������" ��� �� V#����� ������ � ��������������������#����"� ��� �� �������� $��K�" ��� �-��#����� ���� � ��#� ��� � ����/���'� 1+� ,"�� ��� ����#�*8��� ���� � ��� ��� ��� � �� ����#������,"���� � #��������-� +�#���.�����(��-� "�+ ������ ������������� ���$���� ������.��8������� �� � �*$�� � ������ �� �)1���'� #����"���� �� '� ��� -� �� �"� +�#�'� ��� ��� 8��� �� ��� ���-�#�*8��� �������������� �1�����3�� �#�1"��#� ���������+������������'���� ����'�� ��������#� ���������-� "�+ ���� ��"������ � ���-�#�*8������#" /��� ��� ����

Page 32: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� "

.������0���1G 6 ��������H��

0� �� �� �)����� #� � )����� ��� ������ ��� $�� 5]2� S����%���� A���/ 0��#��#�� ��A��"��� � �� "" ���� ��� ���"���T'� ������ �� #��� #� � ��� ���"���� -� � �������� ,"���".���� ������������� ����

'��������+,�

J � �������5]2�K�" �-� � ����� ������'����" �*$�����.�#"*$�����#��"����5]2�� �����#�*8�����������������&��� ��"���� �" ��" ������� ��"�������������������� ����� ���� ��� -� �#���������#�*$���

(� ������� 5]2'� �� #���� ��� #�� ����� � �� ��� +,"���� %������ �� �� �� ���� �� 3����-� �*$���".������������������� �� �� �)�� ��� ���#������������#�� �*8���5]2����� ��������������� ���*$���J ���K ������#� ���������� #���*8������� ��� � �*����'��������������#����������������������� '��� ��,"������-� �*8������� � �#���#������ �" � ���> �����;�������1� ���� ����� � ��#��/�����������/�����Q�����/�����#�"���������� ���� � � � ��� ���> ����� ������ ��#��"�����"���������� �� ����

Page 33: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� ""

�+,����������

��-� � ���5]2�/S������� �����#���" ���-� �*$��#� ������������� �#�� ��������� ��������)������������P�����#� �'��"�� ���� ���-�#�*$����# ��*$������)����'���g� ��'�� �#��� �������� ���*$�'� ���##��� S������������� ����������)�#�T� ���.�#"*$������ �� ��������>#����� ���������5]2��J ��-� � ���� +-�#��,"��� ��� #����" ���,"� �������� ���������)���������������#�K ����-� � ��������#������� ������� ��� ��� ������)�#�������������

(� 5]2� /S�����'� "�#� ��� �� �� ������ �'� �� ��� �� ��� -� �� �"����� �� -+#��� ��)�#�� ��� ������� �� �� ���#������ ��� "��� ��� �� -�#�� � +-�#�� K� " � �� -���� #� ���� �� �� �� ���� ���#� ���.�� ���#��� ���,"���.������)�#���������������� ���� ���� �����" ���,"� ���� �� �-� �*8���� �)�#���#� ��������'�5O����'�6������'�6�1�� �S�'��� �����" ���� (� ����������� � ���� +� ���� � #� ���'� �)����� �� � �#��� ���� ��� )�#�� �� �� ���#�� "*$���������#�*$������ �� ����� ��'���������� ��� �#�������� �� 6��������� ���� ����� 6�������)�#����

Page 34: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� "&

(� 5]2� /S�����'� � )K � �� ��� �� ��������X���� �� ������� �"�� �� -�#�� ��� "����� ���#������ ���-�#�� �����-�� �������� /������ ������ �)"�������#� ����������#��*$��� ���)������

����# ����-�.�# ������" ������ ���� ��

(����� �����������������������#�"��" ����#�*���� �������"�"+ �������"������)�#����� ������ 6������� .$�� ����������� ��� ���� � # �� � � � +,"���� ����������� ����#�*8���"����� ���� ���� ���� )�#�� ��� ������ S#�#� ��� ��� )�#��� #� �� ������'� 5O����'�6�1�� �S�'��� �����" ��T���� ���# ��#� ���������" ����������������� �����������#�*$�'�� )��'���6������������������#����"� ��� ��� ����-� ���� �������

(�6�������K�" �)�#�������������������� -� �#��� ��"�����������������'�#� ������-� �� �� �� �A0 �������� 3�+� �����/���� � � ���� ��� ��� ���� ��� ��� �#������ �#�"���M����5� � M����N��� "@!'�M����N��� �#'�M����N��� .$'� .�M���'� 5���'� 5%�� �5�'� 5%��5�������'�0�8W)�'�6����6)�'�5R6�6�6)�'��#���

(� 6������� K� " � )�#�� �� /���� &!�� �A0 B�'� �"�� ���� ������ � �� � ����� ���.#�*8��� �#� ����� �� ������ �� � �#����� ��� 6������� "�"+ ����� (-� �#�� #������ ��� #� ���� ��/������� ���� ����� ��� ,"��" ����"���G� �#�����#�"�����" ��� -� �#�� "����"�� �� ���" �����" ��������� �*8������)�#�'�� �#� + ����������" ������)��#��� ������� �*8�����# ���� ������������ ��" ���)�#����

���� �$�� ��#��� ��� 6������'� �����/���� ������ #� ��� #>��������� � ������ ����� ���'�� �����#������������������ ���" �#� ���� +������� ������������� ������� �>�������������� ���#� �" �)�#�������� $��&!��B��A0��3����� �$��� ���#������ �� ���-"#�������������� �� �$�� "���"�"+ ��� �� ��.$� ��W��S'� �#�"���� #� ����� ��� ���*8��'� � �#��� ���� ���� ���*$�� S������ ���%������T'� "��� ��� ���##��� S�������� ����� ����� ��� )�#�T'� �"� ������ ���

Page 35: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� "#

��� ���& ���������������� ������" �� �������� ������� ���������� �" �0�������� �����" � � '����$���"��K� �� ����- ������#����'����������#��������)�#�����������-����K�,"���� +� ���-�#�����

J�������� �� ���� � ������������ ����� ���'� ����������� ��� ���� $�� #�#�)� � �������� �� �>������� ��� � �� ����#�*$�� -���� � �" ��6�#�� +,"����(�6������� �-� �#��" ��.#��#������#��������� -�#��� +-�#�����M����N��'��#�"������#�-��" �*$������� �� �������'�" � �� -���� �� �#���� � ��� )�#��� ����� 97� )��'� ���� �� ��������� #� � -� � �����@A'� ��" ��#� �������#" ��*$��� �-� ������2�������M����N����S� ,"������?A0T��

��

�78016�����

�������������

Q� >)���� ,"�� -�#�� ���� �� ����� �� �� �������� ��� " �� ���� -� � ��� ,"���� ��� -������" � ���� ��� ����#����'� � �#���� ��� " �,"�� ��1�� 6��'� �$�� ��� ���������� ��"��'� � � ������������ �" �����#��������������������� ������� ��#����#�S��H�T��!������������������1��� ������ � ���������H�'��� �"�" �����K#������-�) �'��$�'��� ,"��$��-��� �" ����� ���� ��#���� +����� �� #� ��+����'� ,"��� � ��� ��#I� 1+� �� ��"� ������� � � ,"��� ������ ��+� �,"���� 6��#��,"����#I�,"� ��"�� F�("�" ��#����,"����"�-����� ����"'�,"������ � � �������� ��F�3���#��/"��� "�� /������ ��� � ���" � K������ ���#� �������

0� �� �� ��� �� ���� ��� ����� � � �� �� ����#����� S0 �1��� 0����T'� ��-�� � �����#��� �������������#���������M�

��� 0� �� ���#���� ��#� ���������#��"���������H�P�

7�� �� � ����/���� ���� � � ��� ��H�� � � #���� ���'� -�#������� ����� ���� �� )"�#�� �� ��� ���� ��P�

9�� @"������ 6��#���������� ��� �������#���� ������"� ������ �������" �*$�P�

:�� 0� �� ����#�"�$�����-������#���������P���

��� �� �� � � ���> �������#�-� I#����� �� � ���$�����#�����

(� �#��������� �� �� � ,"����� ����� �� � -���� � ��K�� ��� �"��� ��� ��� ��#��� �"� � ��'�����������"�������������/���������#>����0�.!4;�. <. �K�����������)�������������� ����

#� ���.���#� ��' &0.���"��C�&�.

�'���#��� ��'� �� ��� � ������������"�����)�������

������ ��#���� #����"���� � ��K�� ��� �� �$����������� A� ) ����� ,"�� N� �� �$���������� #�K ��#�������# ��*$��������-��*$�����)�������������������@'���K �����" ���#����"������ ��K�����'����

�� �)������,"��-����"�� �����#� �'��� �����-�� �����)����M�

��$/R��6��()1����M�����������#���� ������������� ���M��&GA�������!3G(4&�����) ����*$��������# �*$�����#���� ����

�3��4&hi(������!3G(4&�������# �*$���������� �����

Page 36: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� "T

�^56���()1����M���������#�������������� ���M��j�&G(��(��&��(����>����������'��#� ������� >����#�����

5(�3��(��&��(���5� ���������!&0(��(��&��(���!�������G ���*$�������M����'����'������"�������(!(������0����� ���� +���-������#������������&GA�������!3G(4&����A���*$���� ����#>������������� ����

�_56��5�()1����M����������� 6��#������������ ���M���

�j�&G(��(��&��(���A���*$��#� �������5J�34(������&R����56 � �����-��.���5(�3�����]�&�����!/"������ 6��#���5(�3��(��J!(4���5� ������"� ���� 6��#���!3�0(�����]�&�����!� �������" �*$����� 6��#��������

�� �������6���65 �6�

0� ��# �� �" � ������ ���#������� ������� �)���� �#� �)�������#������#I��������� ��� ������ �������� �����������"�������@'� �� �#"�� ��� �"�� �-� �� �)���� � #� �������@'� �����#I� ����� ����� +�,"�����-��'� �)�����#� ��,"����,"����#I�������� �������������

+�3�#�������)��������#� ���#� ����� ��������� �M�0� ������ �����,"�������� �������#� ���"#���������"����������'��� ������ ��� K���'� "���"�"+ ��'�#� �" ��)���,"������������������#�������)����������@����� ������ ���#� ���.���� ��+ ��������-� ������#������ "���"�"+ ��������� ������������

=� ��� ��� �� ���"����� � " � ������ ,"�� �� �� � +� #� �� ��� �)����� ���� $�� ��� ���#��� ������� �'����� ������� )K �-�#���� +���� ���*8���������� �*$������-� "�+ ����������� ��,"����#�� "� � ���������#��"������ ���> �����

5�� ������������������ ���#��� ����#� ���I���M��

Page 37: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� "(

•� �� ���� �������������X�������� ���#����#� ��� ���� ����������������������,"���,"���� ���� ������������������������ ���#����#� �� ���� ��������������X����'��

•� �� ���� �������������`��������� ���#����#� ��� ���� �������������X������,"���,"���� ���� �������������X�������� ���#����#� �� ���� ��������������`������

�� � ���34���� $��� 1+� ��� � � �� ��K��� ��� #� �� ����� -�#� � ��� �� "" ��� ���� �)����'��$�'��� ���,"�� � �" ���"#������" g�����

��96����5���0-���+�B �����A B1�0 ��

��� �����/�� ��

(��26�5�K��� ���� ���" ���������S��g� �T����� �������� ����)�#����������'������������� �� �� +� ,"�� �� �"�� � ��� -��� ��� �� �� ������� �� ,"�� �� ����� )���� ��� �#� �� � ��Mk�&�!3��k�����"��Mk�3�35=k�&�!3��k���'��� ���� ������� �������#� ��� ������R��"������l'� ���� -�#���� +� �� ��"� �)����� ,"������#I��� � �.� ���� ,"��� � ���-�#� � ���� �> ��� ������� �'�)���� "�� ������ �*������26�5���$����� � ���-�#�����+ ����-� "�+ �����

+�(" ������� �� ����# �� �" ���������+��� "��*�����)���'�)���� ����� ������������� ���" ��)����,"���� ���� ���"� ��#� ����� +� ���������� �-� �*8����A� ) �����,"�� �� �� ���� �� � ����/���� K� �#���+ ��� ,"�� �� � �� ���� �)����� �� ���� #� ���� ��1� ��#���� �� ��� ��� �� ��'� �#�"���� �� � ���� �� �� ���� S�� ��I��#�� %� K� �#� ���� " ���)������ ����#��� �$���������� ����)�������������T��

0� �� �)���� � #� � �26�5� �� #� ���� ���� �� ������ �� #� � �� ����(��� .�#���

����#�������'���� ,"�������� �� � ���������� ���I�" ��"����#��,"����) ����/#��� '���#�-��" �*$�����)�#���������������������� ��+ �����+����M�

������������� �������� ,"���������#�������#������(�%������)�#������������"��������P�������������� ����������g� ����������� ��P���5O�� �����-������ �#" ���������������,"���� $�����#��������������#�*$�P�

��������3���#�-�#�����-�� ����"����������� ��#� �����������P���$� ���3���#�-�#�����-� ����"����������� ��#� ���������� �P���

��.% �����3���#�-�#�����-� ����"����������� ��#� ��������" K �#���

��� �"�� ��� ��#I� ����� � "�������� �� �� �$�� ��� ��������� ��'� ��� �������� ,"����� �#� $�� �� $�M� �%���'� &� %���� �� 0� ���.'� �� �� �$�� ������������� ��K � ������� �� $��#���#����M�( �#��'�&-� �.'���%����� ���" ����

�"����� �����+����&���������#��#B���)�$��.N������'��-� �M�

.N��������� D���������#���������O�D��!�5��4��%�$���V�

Page 38: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� "-

�����D��Mk�&�!3��k����&��(��1�%��������D�0� ���.�

5���� � �������"��26�5���������#��-���# ������� ����)�#�����������0� ���.'���-� ���0�� $�� ��#������������ �> ����Mk�&�!3��k����&��('��� �"�� �#�������#���������*$�������5��'�����.������"�����"�� ,"�������#�-��" �*$��#�� ����&��0&���G��

+� � ��� #� � ��G� �#���� � ���� ,"����� �� �� �> ��� �Mk�&�!3��k����&��('� ������� +���#�������������� ���

+�0� ����)�����%������6�#����-� �*���� �����#� �����1�%��������M��%��3��

3#� ��������(���.�#�������#���������

��96����5���0-������E�7�

��� �����# ������" ����� �����$�$� �

0� ��# �� ��"����)����'�����8���������"��� ��� ��M��� ������#�� �*8���� ��A0��"������1���������� "" �'���#��� ��'�"����� � �����1���������� "" �'��������K ���� ������ �����K� ����� +�#�'��� ����,"����#I� �)�����#� �)���������#����� � ��'�������� ������#�� �*8���� ��A0��� �� �"��� ����� "" ������)����'�� �#���� ����)������� �����#� ��K���#�������������@�"��������'������ �,"���.��� � "����-�+�#����� � .&4.4&�0.'�&04. 4&�0.���� '�+���3 ����"���� �� � ���#� ��# �� ���� �� ����)�����"���������� K�����A0��

+�A� ) ������������� �����)������������# �+�������� ������$��$���� +�����/�����.�#"� �" ��6�#����#�� �*$���A0��

4�� �� ������� �'� �� �"� � �#����� ��#����� �� ��*$�� $��25e�������� ��U$��'� �.� ������������ ���� �� �" �� ���� ����"�����*$���

�� � �� ����� ��g� �� S�26�5T� # ����� � � ��� ��� �� ��-�� � ��� ������ �)������&�#��� ����� �����-�� �#� �������+ ������ �)����M�5�� �"�� �#����'���*$����eM��U�����������O@@@'�����*$��������D�����#��������������'����,"������*$��M��U�����������O��� +��"� ��#� ��� ���-�#���� �� �� D����������D'� -��� ��� #�-� �� #��#���� �� )�$��(m��(��� �> ��������������������'���� ���� +����1�%��'��"���1�'� "�����,"�� -��� ����� +���������� ������ �> ����

Page 39: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� "�

5�� �"�� �#����'���*$����'���*$��.N'�����*$��$���@@@'��� +� �� ����" ��1�����#� ���� ������������/����� �����> ������� �)�������$����$O����#���������*$��������S�(� ��#��,"����)�$���V��&�� ��������"����#� ���M�

������5� �� !���� ����� m���

�(�n�&��(� 5� � o�

5(�n�&��(� �� ;2� �

!&0n�&��(� �� 9� �

�(!n��0�� %� 9� �

�&Gn��!3G� �� 7� �

+�����#� ���'���6�#��,"�� � �#��" ���.���#�*$�����(!n��0������-�����#�����������-� ���S%�� �T�������"� �� +�" ��� ��� �%�����S�.��$��@���T��������������'����������" ��� #� ���� �$��#� �#� �����-�" K �#��'� #� ����.#�*$������(�n�&��(�,"��K�" �#� ���5" K �#����#������

0� �������)����� �#��� ��������# �� �" �/��#����#"�+ ��'��� ���������*$��$������������D� #�� ���� ��*$��5������O� 6��S�� �� #��,"���� )�$���1��@@@'� � ,"���� #� ���

.� L������S�������5�����T���#��,"����)�$�� ���#� ��������"��� �������������@��5�����'�#��,"����)�$���V����������&n5� ���#���� ����� ��������#����#��,"����)�$���V��

0� ������� � �"�� �)����#��,"����)�$��5�����@@@�����*$��.� ������P%���D� ��� ����� ������)������%���#���

� ������ ��������"�����)����M�

!������� �

������5� �� !���� ����� m���

�&Gn��!3G� �� 7� o�

�3�n��!3G� �� :2� �

���"��#��

������5� �� !���� ����� m���

�(�n�&��(� 5� � o�

5J�n��&R�� 5� � o�

5(�n�J�&��� �� ;2� �

Page 40: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� &*

5(�n�J!(4� �� :2� �

!�0n�J�&��� �� :� �

��� ��������� ���� ��������� �����$�$� �

(�� ���#��� ���� � �� ��� �)����� ���� ��� � � ����� # ������� � ��� ��� #�� "*$������ �� ��'� ����# �����,"������� ������1�� ������ ����'����� � ���� �"�� �#����'���*$����'���*$�����'�����*$��$���@@@'��� +��)� ��" ��1�����#� ����������)����'�#��,"�����)����

%��&�(����"���� "" �� �� +� �� ���'�#��,"����)�$�� �����%��%�'��"����� � ���� �"�� �#����'���*$��$���'���*$������%��%�@@@'�����*$��$������������D���� ���� ������*$���1�������6������O���#��,"����)�$���1�����'����������,"� ���SA��������C��I�" ��"����#��,"�� �� #� ���56RL��$/R� �� �� ����� �� ���� SA���� !�)���T� �I� " � �"���� #��,"�� �� �)������$/R��@��'�#��,"����)�$�����(m��� ��#�-� � ����� +�����#�������� ���� ����/��#���

0� ����� �����/��#��# ���" ���� $������mn�\�b� �����#� ��c�\�b� ���)�������c'�" ����� ����*$������� �������/��#���-�#�������� �#" ��-"" � ��'��$���� ���������/��#��# ����mn�������n%���#���

� ������ �����" �� ���#��� ���� �����)�����J�&�����%��&�(�#�-� ����-��" ���)��.�M�

+�!� )K �K�����/�����#���� �������(������������ ��K�����/#��� ���#����������� "������ �)�������������

3#� ��������(������������� �� ��������� �'��"�����"������)����������

��� �����# ������" ����� ��+,�

0� �����-�+�#����� ���#�� �*8����A0'��� ���# �� ��� �� ��)������������������A0'������#I������$����-��'��)�� �����>��#���� �� �#� ��#���#� ����26�5���+ ������ �)������&����� +���� "���"��������,"����-� �������� �������� �)������

5�� �"�� �#����'���*$����'���*$��.N'�����*$��5]2���'��� +� �� ����" ��1�����

�� ���� �������������#�� �*$���A0'��)�� �����)� �����#� �������)�$�� �5���������'��"����� � ���� �"�� �#�������*$��5]2:5���������@@@'��������)�� ���,"����+ ������ �)�����M��U�1+� ��+� ����#�����'� #��,"�� � �(m� �"� ��#��� �� � -��� � ��" �� ���-�#�*$�'� �)�� ��� ,"�� ��/"������1�����K�5]2�/������DM��VD<W������=��

Page 41: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� &!

�����������"�����1����M��

� ����!�)���%���#��� S��� ��(�n�&��(�5" � �#S:'2T'�� �5(�n�&��(�=� ��� S;2T'�� �!&0n�&��(���� S9T'�� ��(!n��0��%��)S9'7T'�� ��&Gn��!3G���� S7T'�� �0 � � ��m��S�(�n�&��(T�� �TP�

���,"�� �� )�$�� ��%�� 5]2'� �"� �� �"�5]2:�%�� 5]2'� �"� ����� � �������-'���>�� �.�#"���� �� #� ���� �� �)���� �� +� # ������ ������ �� �@A� #� � �� ��*$�� ��:5��� S������%��&�(���@AT��

�) �������1��������# ����� ���������)����M�

� ����&��.��&n5� ���#����%���#��S5(�n�&��(TP�� ∫�� ����������#����#"�+ ������%��&�(��� ����!�)�����!3G(4��� � � � ∫�� �������!�)������!3G(4����S������&Gn��!3G���� S7T'������3�n��!3G�=� ��� S:2T'�����0 � � ��m��S�&Gn��!3GT�����TP��� ����!�)����J�&���� � � � � ∫�� ��������)�����J�&������S������(�n�&��(�5" � �#S:'2T'�����5J�n��&R��5" � �#S7'2T'�����5(�n�J�&���=� ��� S;2T'�����5(�n�J!(4��=� ��� S:2T'�����!�0n�J�&������ S:T'�����0 � � ��m��S�(�n�&��('�5J�n��&R�T�����TP��

(� �@A� �� �� �� 0� ���.� $�� #����"�� �.�#"� � �� # ��*$�� ��� ���#��� �-� �#����� S�"�C��� ���DT��$���� ��# �� ������������/��#��# ������ ��K�����1���������� "" ��#�-� �� �� ������ �� ����

������ ����� �$����0 �������+,�������# ���

&-���� ��� �� ������ $�� �"�� �� �� #�+"�"��� ������/ D�/� ,"�� �� ��� �� # ��*$�� ����/��#��� "��� ���� �� # ��*$�� ��� #������ �� ���� ���� @"��� ��� #������ �� ���� ��� $�� ���� ��#"�������������� ��#����"�� ���"�� � ���#��� ����� ������)����� �� ��,"�������$�����1� ���#"�������

�������#I����1��"�������������������)���������������� �����# ��*8��������)������$����� �� ��� ���#� �� ��� #�+"�"����������/D�/K��#���+ ���# �� ���� /��#��� ���� ��� �����) ��" ��������#�� �*$���@A'���I�#������ �� '��������������"�����1����M��

� ����&��.�0mnJ�#����%���#��S�(�n�&��(TP�

Page 42: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� &

+�(�#� ����#� ����� ������/��#������ ����� �C�����W��P%�6��S��VLW��������������� B���L�65��CED� ��� ���� � ���#�� " � � �� #���#���� ,"�� $�� K� ����/���� ������#�� �*$�'��$��#���,"����#�+"�"���W.6]W/�� ��K�����1���������� "" ���

+� ��� ��#I� ��,"�#�"� ��� ���� � �� 5���� ������ #���,"�� C����� 6��S� ���L������ ���a������@��1b�B���L�65��CED�

����" �����#�� �*8����$�M�

� ����&��.��&n5� ���#����%���#��S5(�n�&��(TP�� � ∫�� ����������#����#"�+ ���� ����&��.��mn�������n%���#����%���#��S�&Gn��!3GTP�� ∫�� �������#������� ���� ��� ����&��.�0mnJ�#��������� �S�&Gn��!3GTP� � �� ∫�� �������#������ � + ���� ����&��.��mn������#�n�"��#�����"��#��S�(�n�&��(TP�� ∫�� �������#������� ���� ��+�(�#� ����#� ����� ����# ��*$�����#������"������� �)�����J�&����� ���C�����

6��S����LW����� ����%����� B���L�65��A�.W�L�6)�CED� ��� ��� ��� K� � ���#����" �� �� �� ������� �����)������������.�#"*$�����#� ���'��$��# �������/��#��� ��K�����1���������� "" ���

+�Q�-�#�� ����� #�)����,"���������������������K�,"�����#���#� ���������)��������������#� ��/�����#� ������"��� ��@A'� ����-���� ��������$��-��������� �$����

+�0� ������)������������(4��A3'�&5!34%��3'��l%��3�������@A��� �� ���# ��*$������ �)����� ���� � �� � -����� ��� ����� ���� ��� �� "" �� ,"��� ������ ��#�� �*8��� �@A� ����� ) �����,"������� �*$������ �� ����>����� +� ������ ����� ��K����� ���������#�� �*8����@A���,"���$�����"���.� �������������#�� �*8��M�

� ����!�)����J�&���� � � � � � ∫�� ��������)�����J�&������S������(�n�&��(�5" � �#S:'2T'�����5J�n��&R��5" � �#S7'2T'�����5(�n�J�&���=� ��� S;2T'�����!�0n�J�&������ S:T'�������� ���0mnJ�#��0 � � ��m��S�(�n�&��('�5J�n��&R�T'�������� ����mn������#�n�"��#���� ����m���S���n���#�T���������4�-� �#���J�J�4&(n�G35���S���n����#�T����TP���A!34�!�%A3��J�&�������5(�n�J!(4�=� ��� S:2T� ∫����#������#� ���5� n�"� ���4(0�!�%A3��J�&��P�� � � � � ∫�3�� ������)�����J�&���

3#� ��������(������������� �� ��������� ���

Page 43: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� &"

�78016��%�

-� � �& ���������'��$�

@"��,"� � � �1��� � �#���� ��� " � �"'� -�#�� ���� � +�#�� �� �� �� ����� "�"+ ��� ����� ��� �����" �� �1���,"��������K��� ������� �" � �"�� �#����'���#�� � ����������� �1��������� �#� ���# ��*$�������"�0 �#������������ ���

��0������3�������

���� � ���������'�������"������ ��-� ��� � �#�������)���'���6�#��#�����,"����#I�� �#���� -��� � �� ���"� � ���� ���*8����������������'���� �#/����������� �#� � ���� �����'� ����-������#� �"��� �K�" �� +,"����������%� '��� ����$�� ������� $���� ������

•� ��� ��#�� � ������ �'� -��� # ����� �"� ��#� ��� " ����� � �1��'� �� ��� ���#� +���� ����#�� �" ������0� ����M���� 2 ��8�M� �� #��/"��� �� �� � # �� ��� �� �� �> ��� ,"�� �) ��� +� �� ���� �� �� �� �

������������ 8� �D[565$/��[����65��� 8� �� ��� ��� �� ,"�� K� �� ������ ���� "" � ��� ��� ������ �)����'� ��� ���" � ������ #�#����� -�#� � � ����� ���� �"� �����#�������,"�� �� �����#��/"����� �� �

7�� � ���" ������ �1����������������.N�������������� S4������������� ���,"���,"� � ����� ��� ��� ��� ���� �1����"��T��

��� ��� �� ��� ������$�

�� 1����� ��� �"� � �#����� �� )� � �� ����'� #� �� ��#I� 1+� ����� � � ����� � � �+ ��������#�������� �"�K����)1���,"��-�#���� ���������������-"����� ������������#�*$�'� ������ �)����� �� ��������� #� � �� �"./���� ��� �"��� #�� ����'� � � #�1"�� #� � �� �"� � � ��� I��-� "�+ ������ �#���� ���,"���� � ������ ����M�

��L��%�����"�� �#������ �� �� ������P�

��L5��������1�����C��) �������� ����DP�����L6��������E���������� �,"����#�� +������������#������

•� =� ���# �� ���#��� ���������� �"�� �#����M�

��� ���,"�� �� )�$�� � S���� ��"T'� ��#�������� �� �������� �������� �� �+������������'���#��,"���� ������)1����� !�S$������ ��#"���#� �������*$�'�����������)1���-�#� +�����/����,"����������#�����-� ��.�#"���T��

•� ����# ��������� � ������)1���"���"���1�� ���������#����������)1���4"���"���'����� � �������)1����� ���# �� ������ �"M�

Page 44: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� &&

7�� �I�" ��"���� #��,"��� �#� ������)1��'� �"� #��,"����� �� ������� 6� �� ���'()�%������%������� �#� +���)�$�� �����,"������)�$���

•� ()�� ����� �������� �� �����������'()�%� �����%���'� ���� � �����"� ��#�� � � �-��� ����� ��������-�#�����'� ���-"" � ��� �� � � ��������"�M�

�������� �� ��-��� �� � �� ��� �� � ��� �"'� ,"���,"� � � ��� �$�� �+�����'� �#�"�����#���'� �� #� �#� �� ����#���� CpD� ����� �� � #���#���� " �� 6�#�� ���'� ���� #�"��� ���")������������ �'�� ������" ���� ��S� �#�1"��#� ����#������T�����#���������*$���

/����������-���������� ���+������/�����"�$���� ����"�"+ ����

.� ���5� ���� ������� �S#���#�����"� ��#� �������#���������������T���

5�����%������ )��*$������#���'��� ��" � +������#���������� �S��K ������ ����#�������#� �CpDT��

•� &�� �������������#����M���� ������Cp� ,"���D���� �� ��������������'�� ����"����� ����������#���3� ��

7�� ���,"�� �� ���� ����*�� �)� �'� # ����� ��� �� ��'� �� ������ Cp���"��D� ��� �� ��������������'�� ����"����� ����������#���3� ��

9�� 0 �#������� �� ��-� ��# ����������*8��M�Cp4���> ��D���C�"p./���D��

:�� ���,"������*$����P%���'���� �#� +�" �����*���������)��.�'�#��,"����������*����������Cp!�)���D���� �� ��������������������� ������/���������� ��# �� +� ����" �����*���)��.�'�������Cp����� �D���� �� ����������������

��� �)��.�������������'�������C�D�S�������� ���T���� �� ���������������S������ ��# �� +�" ��)� ��������� �*$�T������ ����� �� �������/�������� ��5������

;�� 5����������*��# ����'���>����)� �'�������Cp��� D���� �� �������������������� ����� �� �������5�����%���� �����*E��

��� ���,"������*$��$����'�#��,"��#� ���)�$���� ������� �"��'���� �#� +�" �������������'�#��,"������*$�������5%� �%��

<�� ������Cp����� ��D���� �� ����������������

•� �� ��������� >.� ���������� ����,"���� �"�-�,"�M�

� ,"���� � ���"��� 4���> ��� �"./����

!�)�������������� ����� ��� ��H�� G� ��� ��) �������� ��

����� �� � �6��#����� ���H�� ����������� ���6���

��� ������ �\R� � � ��-��" ��& � ���� �� !>��#�������1"���

� � � � �� ��"�� ����1"���

•� ��������1�����"�������#��������������\�:'��� �"�1+��.�������)1�������1��

•� ��� ��������"���� �� ���������� �����)1�������1M�

���������� Q����� ���������

%� �� ����� ������ 3��������)� ������1����P� ������ ������

������ �� ��#����#���������"���� A�)�����# ������ 1���"�� �� ����1������

Page 45: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� &#

���� � #���"� �� ����1����'�#���"�K�" ��#�����,"���"� �����#� ���� $�����1�������-����������"�"+ �����O���L���

5� �� �n��"� 5� ������)1����� ���

O���L����� L���.� ����� ���������)� " �����1����'� ������.� �������

•� ����������-� "�+ �������� �1��M���� ���������� "�+ ��������*8������ �"������5���S�"�� �������� �\�T'������� ��

,"����� +���� �������� �> ��'����� �> ���S#�-� ��# �������#��/"����� �� T�K����D[565$/��[����65������� ����� ��������1��%�S���,"����� ���.� ���� �� �� ������ �� �� �� ��-� �#����� �� � CnD'� ���� -�#���� +� �� ����-�#�*$�� ���-� "�+ ���������"��"�����T��

7�� ������ �� 0 �1��� �������� ��� �� 5��� ������'� ������ �� � �1��� �� �� �> ����D[565$/��[����65���#� ���� ��������

•� � ������� �"�" ������������"�M�

9�� ���,"����)�$�� � S���������T� �� �+�������BF� ���������������������#��,"��� �,"��,"� �����*$������)1���5G"�����

:�� ���,"�� �� �)1��� # ��������������1� � � ���"���� #��,"�� �� � �� �������������'� �� ����� � ������ �� �������#��,"����)�$�� '���� �#� +���1��������5���%������������/�����'�#��,"����) ����)�$��.N����� ����� �� �������$S��#���,"��C%� ������������� ����D���#��,"����)�$��(m��

� �

��� ��� ��� )K ���� �� �������!��������)1����� ��A�����"��

+��������#I����1��"����������� �1���# �����)� �������"��������"��� ���M�

��� ���,"����)�$�� �S�����T����������������������+���������������#��,"��� �,"��,"� �����*$������)1���5G"�����

7�� ���,"�����)1���# ��������������1������ ��������"����� �� �������M�

���������� Q����� ���������

����� ��%�� � ����� ����� ���������'������� ����K�

���� �� �A�-E"��-�� ����� �������������'�1"��-�#����N���,"� ���

Page 46: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� &T

%����&� � )�A�L� ��� %� ���9���� �'������ ���������

%����("� � )�A�L� ��� %� ���9���.� �'������ ���������

%� �� O���� �� !� �������)� ���

������ %� ������������� ����� A�)�������)1���

5� �� A�����"�� 5� ������)1���

��� ��������� �-'�3��������-��M�5� ��'�!� ���M�<'��� M���"���� ����

!��������� ������ � �� �������)1��'��� ����� � �����

� �� �������#��,"����)�$�� �

?����� 77� ��" ������)1���

������������(����� ���� ���

=� ������ � ���#>������� �����)1���0�� �������'������)1��� �#�)� +����#��6�������� �� ������� ����� ���� ���� ���� �)1���'� -� ���� ���� � " �� ����� ��� �1"��� ������ �� �� ���-� �� ���� �"��

•� ���,"�� �� )�$�� � S4�##�� 5����:���T� ��� ��������'� �K� ��#I� ��� � � �� �� �����.�������

��)��.�������#�� �*$�M����������� �����#>�����M�

��������� � � � � ∫�0 �#��" ����"��"*8���A�#���������6���������%���������7����������%�����L?��S���� M�!()1�#TP�� ∫���)�*��������" ��� �#��" ��A�#�����%����� � � � � � ∫�0 �#��" ����"��"*8���06)��#��������6��(��%��%���������7���E� � � � � � ∫�����������*$�������#�� �*$����

�)��.������� ��������#� ����*$�M�HJ��9@��I�

HJ��9@��I� � � � � ∫��� ��������#� ����*$������#�������� ������� � � � � � ���� �#" ����.� ����� �� ��� ������)1���5����������%��!�n��"����L?��S���� M�!()1�#TP��∫���)�*��������0 �#��" ������#��������� ���������� � � � � � ������)1���� �#�����S!�n��"T������A�����"��0�����&� �W2X�!�.�MY������#������P� ∫�� �)"�������� ��������������#�#$�������E� � � � � � ����� �����6� ������������)1���A�����"����

•� ���,"�� �� )�$�� � S4�##�� 5����:���T� ��� ��������'� �K� ��#I� ��� � � �� �� ��5����#��,"�����)1���5G"���������+����.���������'()�%������%���'��I�" ��"����#��,"���������'����������� (����� ��# ��"���� �#��" ��5������������� ���#�����,"�������)1���5G"���-� �

# ������

7�� �����������"���#� �����)��.�����#� ��������M�

�����%��!�n��"��� � ����S���� M�!()1�#TP��������������#����(?��MY����L?�P� ∫�� �)"�������� ����� �#��" �����L?�������0���������E� � � � � ��������#�*$���

Page 47: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� &(

•� ���,"�� �� )�$�� � S4�##�� 5����:���T� ��� ��������'� �K� ��#I� ��� � � �� �� ��5����#��,"�� �� �)1���"���"���1 �� � �� ��"��� ����#���'� �� �� �� #���� ��*$�� �����"���� ������ �� �������� ����������������"��� ���M�

������������%� 0���� .� �� ,"���� ����� ������/���������� ��� � ,"�����!�)���� &-� �*8���)+��#���������� ��� !�)���������� ��� !��������#���� ����� �������H��� &� !�)���������� �� &#�"�$���� �"�*$��������H��� ����� ������ � ��/���������� ���� �� �����O���L��� ��� �����"��� =� �-�#�*$�������,"����������H��#���� ������ ���"������H�� A�#�����*$��������H��� ��K�����" �-�� �����)���#����� &� ���"������H���� � 6��#�� A�#������������ ��K�����" �/"������" �� 6��#��� &� ���"��7�4���> ��� 3 ���8���� �������������H��#���� ������ 4���� ����G� ��� & � ���$��������H���� �" ��� ��������#>������ &� 4���� ��������������� & � ���$�����#������� �������H��� &� 4���� ��7���-��" ��& � ���� �� =� �-�#����� � ���� ����,"����� +������������ ���> ����� ��-& � ���� ����"./���� �� �������1"����� ���������� ��� �".��������) �������� �� �1"����� ���#� ��� �����+������������������ ���� &� �".���������6��� ��"���(�A����� ���� &� �".����7�!>��#�������1"��� 3.�)�����>��#�������1"��������"���(�A���� &� �".����9��� ��"�� ����1"��� ��� ��#� ��"����� ����"./����(�A���� &� �".����:�

•� ��������"�������#���'���������-� "�+ �������� �1����

•� 4������� �1��'�#��#������)�$�� ������������'��"��� �"�� �#���������*$���%�����%�'��"�����'����������

•� !���������*8������ �"'���1��������������"����� ������-� ����'������#� ����7&���

+��������#I����1��"����������� �1��� �,"����� �#��" ��5��N0������ �M�

�����%��!�n��"����L?��S���� M�!()1�#TP����������A�����"��������MY������#������P� � ∫�� �)"�������� ��������������#�#$����0 �� ���������E� � � � � � ����������������)1���A�����"���

���� ��������� ������'��$�

�� � �� �"� � ��'� #� �*� � ��� �� #���-�#� � ��� #� ����� ,"�� ������)����� ��� ��������"�"+ ��M�

•� �"� ����������� ����5�6�M�5���)1���5G"���'�#��,"������*$����P%������#��,"������*$��5�����(����� ��# ��"�����������#B��� �����)1���5���!��

•� �����������"���#� �����)��.���������M������%��!�n��"���� ����#B�S���� M�!()1�#TP���������������P�� � � � ∫�� ��� #������-�#�� ������-� "�+ ����������E�

Page 48: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� &-

����� ��������� ����� � ���/$������

(����� ��� ��� ������"./������������� ��� ��� +�#�����-�#���'�$������ ����,"��#� ��#�� "� �" �� ,"�����?A0'��.��� ����� ��������#������,"��1+���-��� ��"� ��#� �����-�#������"�# �K ����� �������# �+���'������� �� � ���#� ��� ��� �+����� ���"�� �1����

•� ���,"������*$���������e��������@@@������+����&����%��������#����������"�� ,"����#� �����*$��0���1��'��� ������� )K ��� ��� �� ���� �1��'�#� �����*$��$������#���#� �" �/#����� ����� �1��'���*$��6����S#��,"����)�$��2����6���@@@T������K ���#��,"����)�$���V��

•� �"� ����������� ������.$/_��M�5���)1���5G"���'�#��,"������*$���%S,������#��,"������*$������`���������M�

������%��!�n��"��&� �".����7���#BS���� M�!()1�#TP��������������#����?����� ��S?3A0n�(5!35!�'�2TP� ∫���� ����� ,"��������1"�����E�

•� �"� ����������� ����$c�6��5��/��'W��M�5���)1���5G"���'�#��,"������*$���%S,������#��,"������*$��$+����������%���������M�

������%��!�n��"��&� �".����9���#BS���� M�!()1�#TP�����������3 ��� ��M����� �Y�ZZP� � � � � � ∫�� ���" ��#������������������#����?����� ��S?3A0n0�4!&�Am3l'�A��&S3 ��� ��TTP�∫�!>��#�������1"������E�

•� �"� ������� �� �� ���������W5������'W��M� 5�� �)1���5G"���'� #��,"�� ����*$���%S,������#��,"������*$���� ��%��������%���������M�

������%��!�n��"��&� �".����:���#BS���� M�!()1�#TP��������������#����?����� ��S?3A0n?3A0(5?3A0'�2TP� ∫���� �����"./�������O���L����E�

•� @"����-�#�� ��������������#�*$�����#���+ ���,"��� )K �������� ������"./���'����)1���5G"���'�#��,"�����+�������/�������#��,"��������������O�������M�

������%��!�n��"��� ��� ��S���� M�!()1�#TP������

Page 49: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� &�

��������#����?����� ��S?3A0n@J&!'�2TP� � ∫�����)��������"./������E��

•� ��������"�������#���'���������-� "�+ �������� �1����

•� 4������� �1��������������*8������ �"'������#� �����7)��"�"��������#� ������� ���

+� ����� �� !� $�� ����� �� �"./���� (�A��'� � ������ ��� �� ��"� �"� ��+� #� � ��� �� �������5�����/���� � ���� 1���6�� '�#���,"������ ����1�.�� ������� �� ������ ������$��-"#���"'� "������ �� �������2�������@�����-� "�+ ����� ��!��

+��������� ���#�������� ����#� ����?����� ����$�M��� ���� ������ �*$��

?3A0n�(5!3R!� &�� ������'�#�������6 � �����#��.���

��� �����"./�������� � ����>��#������#����������-�#�������� � ����6 � �����#��.����-������������*$��W��0X����� ,"�����?0E�

?3A0n�(5!35!�� &�� �����5� �� �����������2�� ��� ����#��6������� � �� ��>��#����-������������*$��W��0X����� ,"�����?0E�

?3A0n�3!�(5!35!�� &�� ������'�#�������6 � �����#��.��,"��-������������#� ��>��#�����#��6����

��� �����#�� �������>��#����� ������ ��K�����"�������#������

?3A0n�(5!3R!0(0J0� &�� ������'�#�������6 � �����#��.���

��� ��" ��1�����0���J��#� �" �>��#���� �#"�� �����-�#���������6 � �����#��.����-������������*$��W��0X����� ,"�����?0E�

?3A0nm3l� 0��� �������#� ��" ��� ���#�������>��#������������

��� ��" �>��#�����,"������� �" ��������������� ���#�������3�������� ��#������������ ��.�� ������.��� �#" �����

?3A0n0�4!&�Am3l� 0��� �������#� ��" ��� ���#�������>��#������������

��� ��" ���� �����>��#��� ��K�����" ��������������� ���#����������������� ��#�����$��-� ��#� ��������#����������� ��-�I�#�� ������ ���

?3A0n�JA!&m3l� 0��� ��������� ��" ���� "" �����!�JA!&m3l?3A0��3����� "" ������#/-�#�����#� �#� ���������� ���#�������

��� ����>��#������-�#�������������� ��#������"�" ��#���������)������� �����

?3A0n�(���5�� 0��� ������'�#������� �# ���� �����.�#"*$��

3.�#"��" � �# ��������

?3A0n�3!O&50(�� 0��� ��������� ��" ���� "" �����!�JA!&m3l?3A0��3����� "" ������#/-�#��#�K ���� ������������*$�����1�������������� � + ����"���1�������#"�+ ����� ���� � �� �����

��� ��" ���������L���L��#� �" � /� ����� � > ��'��� �������� ������������*$������#� ���#� �����������������

?3A0n�(4�3�&A3� &�� �����5� �� �����������2�� 3.�#"����O�?���� �� ������� ,"��������"./����#� �1�����

?3A0n?3A0(5?3A0� &�� �����5� �� �����������2�� ��� �����"./�������#� ��"�� ����"./�����

?3A0n@J&!� &�� �����5� �� �����������2�� ����#�����-�#�� �������"./�����������

Page 50: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� #*

�� ����:��6�I�9����� �0��J�

3 ����������� ��# ������� �������������K��#�"/���" ��1�����C��) �������� �D'��� �

" �� )��� ��$�f� ����� ��� �" ��� ���� ��� �� �� ����������� ����"� � " �'� �� ,"� � ���� ,"� � �

,"�) � ����� � ��������� ���*$����# �� �" ����� ���� �" ��1�����������F�

� �� ���� � �� �� -� "�+ ���#� ������� �$��K�" �� � �-�� ���� � $����-/#��'� ����� ���� �� ����� ������#������ ���# �� ���&(�����@S�"����.���) �T'��)�� ��M�

��� ����� ���� ��������������

•� 0� �� # �� � �� -� "�+ ��� �� �� � � ��� �"� � �#����� �� ��*$����� ��.N@@@'� ��� �#� +� ��1��������!��������S �����-� �*8��� �� ��������,�%���66T���#��,"�����+����5����������)1�����"�����&(���(�@��

•� ��� ��������"�����)1����S��#���������� ��K�����'()�%������%���TM�

���%���S�B������$���%���SCM�

0 �� ������� =��� � ���# �*$��

������ ��) �������� �� A�)�����# ������ 1���"�� �� ����1�����

5� �� �n��) �� 5� ���� ������)1���

������ 6����B������$6 ��CM�

0 �� ������� =��� � ���# �*$��

0�#" �� 3�#�������%���������"��� �-� I#��� ()1���� ��� �

����%��.� �B������$2���CM�

0 �� ������� =��� � ���# �*$��

������ ����� A�)�������)1���

��� ��������� �-'�5�� ���&+��#�'��<'��������

!��������� ������ � �� �������)1���

Q������B������$2���CM�

0 �� ������� =��� � ���# �*$��

������ =� �$��%���!���� A�)�������)1���

��� ��������� �-'�&+��#�'�<'���"���� ���� !��������� ������ � �� �������)1���

���O������B������$2���CM�

0 �� ������� =��� � ���# �*$��

������ ���� �������������5� �����3 � ���� A�)�������)1���

��� ��������� �-'�5� ��'�<'���"�� � ���� !��������� ������ � �� �������)1���

+�0� ��#����"� �" ���� ��������A!\�<:���" �q�� ��������A!\�;����

�� ����B������$2���CM�

0 �� ������� =��� � ���# �*$��

������ �� ��#����#���������"����������� �������H�� A�)�������)1���

Page 51: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� #!

��� ��������� �-'�5� ��'�<'�0 ��� !��������� ������ � �� �������)1���

•� 3�� ������)1����V�%�����S)�$�����(mT'�#��,"����) ��������� ������������'�#��,"����

�)1��� L5���� �� #��#B� �� �)1��� ������� '� �#� ���� �� �������� �������� ���+����&���������'���#��#B���� �����L5����

����������%���������������M�

0 �� ������� =��� � ���# �*$��

m��� )B(m� ��� �����#���������� �"�������������)�$�'��"� ��#� ����� +���� �������� �� �������M��������'�R�O������������%���

?�� 4�� ����� �"�� �#����� �1"����������� �����)1�������#/-�#��

���L?�� ! "�� ��� � ���#��6������� �� ��������������)���-� �����" ��#��.������1"���������

5� �� %"(m� 5� �����()1���

O���� �7� A� �" ������)1���

•� �I� " �� � �������� �� ��� ,"��� �� ����*$�� ���� �)1���� �� �� ��#I� ���� � � � " �� ��K���#� �� ����������������"�-� "�+ ����� ���� ����$��-�#�"�-���������M�

•� ������ �� -� "�+ ��� ��� ��*8��� ��� �"� ��� �� 5��� S�"� � ������� � �\�T'� ������ ��,"����� +� �� � �� �� �� �� �> ��'� �� �� �> ��� K� ���D[565$/��[����65��� �� �� �� ��� �������� 15���� S��� ,"�� ��� ����� � �� �.� �� �� �� �� ������ �� �� ����-� �#������� �CnDT��

/����� �����!����1�������������� 2� �����$�

=� �������#�� ���-� �15����#� ���1��%M�

•� �"� ���������#� ����5���/���565$/��M�5���)1���5G"���'�#��,"������*$���%S,����������*$��5������5��� ���(����� ��# ��"������������U��� �����)1����� ���� �"�6� �%S����!��

•� �����������"���#� �����)��.���������M��

Page 52: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� #

�����%��!�n��"�&� �".��������#BS���� M�!()1�#TP�����������n��) �����L�����P�� � ∫��) ����()1����n��) ��� � �������������P��

•� �)��.������� ��������#� ����*$�M�HJ��9@��I��68 9��5"7

�%�������-��) �P�� � � ∫�J��������J������-��) �������������)1�������������������������%��!�n��"����L?��S���� M�!()1�#TP��

•� �����������.����������������-� "�+ �������� �1����

•� 4������� �1����� ������ -� "�+ �����) �������� �'��� ����"�����$���� �� +�,"����#I�#��,"��� ���" ��" ���"�� ��K���-������*$�������1����'�������� ���� �"�#� ���)�$��(m��

+�5���,"��$��-���� �#����#���#� ���" �#>������� ��,"������ ������ ���)�$��(m���-� "�+ ��� -����� -�#����'� ���� -��� ��������� � �*��� �� ��*$��V���'� ������ �� ��#I� �#� � +��" ��� ����������)�$����� $��������M���#���'��� '�5$��� ���" ����

�� ����:��6����� ��

�� 1����� ����� � K� ���� #� �� �� ���� � �� ��� ��� ����#�*$��� 3��� 1����� ��� �#�� " ��6�#������S���/#��T��" ������.�#"*$�������"����� ���-� �������"�"+ ����� ��� ���#�I#�������"� �� � �,U��� ����,"��������� ��K�#� �����'����-� "�+ �����$��# �����'��#��

3.��� ��+ ������������1���������� ��(����� ����#� " �K��,"����,"�� �� ����� ���������#�*$�'����"� '����� �$�'��� ������"� ����S���� ���T���" ��� ��� ��"�/#���,"������-�#��������#�*$���� ��K�����#� �#� /��#������� �*�������)1������ ����)� �-�#�� �������1����M�

��� 5�� �"� � �#����� ����#���� �� ��*$����� ��.N@@@'� #��,"�� �� �+������&� �� ��-��" ����"�����5G��(�����

+�5���� � �����#I��)����" ��#>������� 1����� ���(��� �� � �)�� �� K�,"�� �� 1����������� � � +� ���� �)1���� ,"�� �� 1����� ���(��'� �� �� � #� �#� /��#�� ��� �� �*�� �� -����� �� � ��������"�� � ���������"#�����#� + ��'��$��K��#���+ ���,"����� � �������"���1�������

����1���������������L5�����

��� ����-�,"�� �� � �� ������� .� � ��� 5G��(��� �� �� L5������ �� �� � �� ������������5�O���� ����.����

7�� ���,"����) ���)1���(��'D���������� �\R'��#� ����� �������1������

Page 53: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� #"

9�� ������ �� -� "�+ ��� ��� ��*8��� ��� �"���� ��5�����@@@'� ������ �� ,"����� +� ��� �������� �> ��'����� �> ���K����D[565$/��[����65������� ����� �������������� ��

�����������������L5�����

��� ���,"�����)1���5G��(��1������,"���"� ��#� ���������,"� �"���� ���-�#�*8�������)1���15�������

7�� �" ������ �������1�������� ������,"��#��)����� �����)�$�����(m����������!4A\='� �,"����� �� ���������������������'D��� ��d�V��

9�� ����-�,"�� �� � �� ������� �����5�O�� ��� ����� �� �� ��������� �� �� � �� ����������������� ��5������5��� ���

:�� ������ �� -� "�+ ��� ��� ��*8��� ��� �"� ��� �� 5��� S�"� � ������� �!4A\�T'� ������ ��,"����� +���� �������� �> ��'����� �> ���K����D[565$/��[����65������� ����� ��������15����S#�-� ������� �*$�������)��# ��T��

������4�������������15������

��� ���� � ���� �"�� �#�����#��,"��� ��������Z��������@@@'�#��,"�����+����5���������������)1���5G����� �S#��#������) ��������#��,"����)�$��#� �����������=T�,"����+��������&���;%����� �������� ���� �����&�����(�� ������S�� ��$���#"�� �����*��� � � > ���" ��1�����,"���>��� +�"��������" ��6�#�����'�# �� � �������1���������#� ����T'�#��,"����) ����)�$���V��

7�� 5�� �"� � �#����� ����#���� �� ��*$�� Q�N� �� ������� 5�%��� S��� ��� ��� ���#���������� �� � ��� �#�����,"��#� �������������" ���-� "�+ �����"������T��

9�� ��>����#� ������������#����������"���������M�

�n�������MY�!�n�������� ���S�����#���TP�� ∫�� �����-� �#� ���� ���������#�*$����n����������LP��� � � � ∫���� ����-� ���� ����$�� �������n�������4�- ���P�� � � � ∫���� ����-� �������������#� ������ �����

��������#�*$���� �

:�� �������#� ���������������@�%�E����#����������M�

�n�������� ��P� � � � � ∫�A�)� ����-� ��������#�*$����

•� �����������.����������������-� "�+ �������� �1����

•� 4������� �1��'�,"��,"� �� �)�� ��#� �� ��#� ���#>������)��.�M�������� �����P��%�������� �"����Z��35J�0��Z�65G"���7'��������) �����Z��(%43�0��Z�65G��(��7P��68 9� .�7������������n�������MY�!�n�������� ���S�����#���TP������n����������LP������n�������4�- ���P�

Page 54: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� #&

���������#����&�������P����������#����?��������MY�Z�Mk���� �k������#�kG"������ZP����������#����� ����� S!�n��"'��n��"TP����������#����� ����� S!�n��) �'��n��) �TP������n�������� ��P����������#����4"P�����

+�=�#I� ����� ��� � �� #� ����5�����5���@�E� �� �� �� �������5��N� ��� -� �5G"�����&���-� +�#� �,"����1�����5�������>������� �*��,"������ �"�-� ���������

+� &-���� ����� �����"�"+ ����������� �1��� ����#� �#� /��#������� �*��$�������������� ��� ������$�'�-�������#���+ �����#�� "*$��������������� �� ��K�����" ��#>��������������(���#� ���"�����*$�����#� ����5�����@@@��

�� ����5�����-����������

Q�)� ��� �����,"������������� ������#� ����)����������@'� ���#� ����# ������#� �*����� �)�����#� ������� ��K�����/���� ���-�#� ��� �����> �������������� �� �#��� ���� � �" ���>������������� ��� ��"�������

5�� #��/"��� �� ������� ���� �)����� � )K � �� ��� �� � �����)�������� ��� ���" ��� �*8���� ��"������ �� � #�+"�"���� 5]2� $�� �� � � )� � ������ � � )���� ��� ������ $�� ��� ���#� ��/�����#� ����� "" �����5]2'��$�����-����#���+ �������-�#� �" ��(�������=�����" ������5]2��

5�� �"�� �#�������� �����)1������������ '��#� �������������������������+��������&%%���'������ ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

�����5� �� ��������#�� 5� �������g� ��

���%���5� �� %������#�� 5� �����)�#�����������

5� �� �%���#�� 5� ������)1���

&�� ����� �����#>������,"���� �� +����)� " ������-�#�� ������)������������M�

•� ���,"�� �� )�$�� � S4�##�� 5����:���T� ��� ��������'� �K� ��#I� ��� � � �� �� �����.����������#��������� �#��� ���5�������������#�������������'������M�

�����%��!�n��"��� � ���S���� M�!()1�#TP���������������#����(?��MY����L?�P� ������%���#�����#���MY�! "�P� � ∫�&�#�����%�#�������������E�

���� � ����� >.� ��#��/"���� � � ��� ��� �����,"�������� ��K�#�����#� ��)����'� ������'�K��#���+ ���,"�����#�#��������������� �� ������1� �)� �-�.����'�������" ��#�������"�� ���'� ��������#��/"��'��"��$��#�-� ����#>���������n��"M�

Page 55: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� ##

�%����-��"P������1����%�����O���L�'���������'����J���'��������'�G ����#�'��� ���'��� �'��������'�����"�'��� � ��'��%!�)���'��%P���O����!�n��"�Y������S!�� T������������"�M�!�����"P�������� ,"����M�!��"&� P����������"���M�!��"&� P�������4���� ���M�!��"&� P��������".�����M�!��"&� P�������!�)����M�!��"&� P������������ ��M�!��"&� P�������5;M�!��"&� P���������� �M�!��"&� P�������&� !�)����M�!��"&� P�������&� ���"���M�!��"&� P�������&� ���"��7M�!��"&� P�������&� 4���� ���M�!��"&� P�������&� 4���� ��7M�!��"&� P�������5�7M�!��"&� P���������-& � ���� ��M�!��"&� P�������&� �".����7M�!��"&� P�������&� �".����9M�!��"&� P�������&� �".����:M�!��"&� P�������5�:M�!��"&� P�������&� �".�����M�!��"&� P�������A�����"�M�!��"�%� P��������%���#�M�!���)���P������������%���� � ���S���� M�!()1�#TP������������%����� ����#BS���� M�!()1�#TP������������%��&� �".����7���#BS���� M�!()1�#TP������������%��&� �".����9���#BS���� M�!()1�#TP������������%��&� �".����:���#BS���� M�!()1�#TP������������%���� ��� ��S���� M�!()1�#TP������������%��&� �".��������#BS���� M�!()1�#TP���������������������%�����L?��S���� M�!()1�#TP����%�����������6��(��%��%���������7����P�����������n��"M�!�n��"P��� �� ���������68 9��5"7

%�����-��) �P��

Page 56: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� #T

�����%��!�n��"����L?��S���� M�!()1�#TP����������A�����"��0�����&� �W2X�!�.�MY������#������P���P�������%��!�n��"��� � ���S���� M�!()1�#TP���������������#����(?��MY����L?�P������%���#�����#���MY�! "�P���P�������%��!�n��"���� ����#BS���� M�!()1�#TP�����������%���#�����#���MY������P����������P���P�������%��!�n��"�&� �".����7���#BS���� M�!()1�#TP���������������#����?����� ��S?3A0n�(5!35!�'�2TP���P�������%��!�n��"�&� �".����9���#BS���� M�!()1�#TP�����������3 ��� ��M����� �Y�ZZP���������������#����?����� ��S?3A0n0�4!&�Am3l'�A��&S3 ��� ��TTP���P�������%��!�n��"�&� �".����:���#BS���� M�!()1�#TP���������������#����?����� ��S?3A0n?3A0(5?3A0'�2TP���P�������%��!�n��"��� ��� ��S���� M�!()1�#TP���������������#����?����� ��S?3A0n@J&!'�2TP���P�������%��!�n��"�&� �".��������#BS���� M�!()1�#TP�����������n��) �����L�����P���P������

+����������"����� ��$����1�� �� ������ ����" �)�#���������������� $��5]2�S���

���� (4��A3�'� �l%��3

�'���T� $�� �.���� ��" �� �#��������� � � ��� "����� � �� �)1���

�������'� ��� �� "�����*$�� �"� $�� ��� �)1��� $�� �-��� �� � ��� ��� �#����� ��� ���� �'� �$���� ,"��$��� ��� +������ ��" �����"��� "��*�F�

Page 57: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� #(

�78016�%�

3 ��� �� � � ��- ��� ��

!�)����� � � + ���� ��� �-� �*$�� �,"� � � � ����� ��� ������ �� ����'� �� ����� #����� ������)�������#���� ��'���# ��*$�����1�������� �����"�� ���"��*$�������"��������$��K�" �)�#����������#�)�*���#� ����#I��� +������"� ��

��9� ������1���:�0�

•� ��� ���� � ,"�� ��#I� -������"� �� #��/"��� �� �� � ��#I� ���"� ��� ���� �'� � �#���� ��� �� ����� ���� �1����0� ����M���� 5�� �"�� �#�����#��,"��� ���������@@@��

7�� (����� ��������������K��#� �������� �> ����D[565$/��[����65��'�#� ����.��$��@�����

•� 5���� � �����#I���+�� ����� ���� �)����'��� ���# �� ��������1����M�9�� ���,"���� �"�� �#���������*$�������.N@@@'�� �!�������'� "������+������ ��

5�������#��,"�����)1�����"���������(���5���'���� ��������������M�

!�� �(��������� �# �������� ��������M�� �������� ����-� ��J ��1������� ���������5���������M�� ������-� �"����!!�)�����)1�#��J��������)1����)�����%�$��5�.��

�� ����)�������� �"������� ����1����������������������� M���������#��$����.� M�#���� ��)�%�$��5�.�

"�� ��� �������� � ���� ����� �

&�� ��� �*$������#� ����

Page 58: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� #-

%�$��C__C�%�$��5�.�

=� �#���%�$��5�.�

#�� �0���*$������A�)����A�-�������,"� ���%�$��5�.�

T�� ��� �����G� ��������#� ��-� �� �#�������5$��(�@"���� � M��� ���������"���%�$��������

�60�������K��6���� ���

�����#I����"�"��� �������� ���*8����� �� ��'��$����#I���+�#� �" �)����� �#/������� 1����� � � �"��� $���� ����� " � )���� � �#/���� �� ,"�� ��#I� �+� ��� #�#� �� � #� ���� ,"�� ��1����� �� ���� $�� K� ��" � ��"#�� � ��+���� �� �� �� ����� "�"+ ��'� � �� � ���� �+� " � #� ��� ���#� ������� �����#�) ��" ���� $�����1�����,"�� �"��"�"+ �������� � '� �����#I����� +�-"" � ���� )K ��#� � �����"�� >� ������ $�����1����'��$���� ��������" ������ �*8��M�

+������#I���+�"�������������� �1��'���6�#����-� �*���� +��������"������'�$������ ��#"���#���,"������������ "*8���� �" �6�#��-� "�+ ����

�0��16���L�

J ������� �#���������������,"���#� ���� ������� �����K��������)�����������# ��*$���������"������'� ����� 1������ ����#����� -"#��� �#� ��" �����K#������ �����> �����������'�$���$�����"����+������ �� �������.�#"*$���Q�����/����#���#� �� �" �6�#������"������������ ������ ���#����������������" ���-� "�+ ����������� ���#����������

�#�������#��� ������)1�������"�����1��� �������� �*8���,"��������"� ��

'��!�� ��� ��- ��� ���� ��,�� �����

(���)1���,"��#�K ���������������������e�����������$���)1��������/�����,"����������#�������+� �������� ���$������ ��#"��� "���#� �������*$��,"�������#"�� ��

$����������� ����+�#��������)1��� �S4�(��T'��#� �������������������������+��������&%%���'������)1���$��K����)����� ���'� ���" ����� ���� �����)���'��� ���

Page 59: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� #�

��#I����� +�"�� ��"���#�*8������ �� ���)���'��� �,"��������-�������� �����������"�)�#������������

•� ��� �������� �� �����������4�(��M���� ��� �� �� � �� ��������������.� '� � �� ��� )�#�� ��� ��������������'� #����

��#I�$���#� �������������������'��) �����)1���5G"������������ ����

7�� =� �-�,"�������� �� �������$���.� ���+���������� �����)���M���$/R��@��'� �� ����@���S���������#� ���)��������#� ��" ���)����T�

9�� ����,"�� �� � �� ������� 6��S���.� �� �� � �� ��� /��#�� � � + ��� ��� �)�����56RL��$/R��

:�� ��� ����� �� �������.� ��� ��!�)����� '��"���1�'�!�)�\�5� ������)�����.� ��S�� ����"���.��$�T'�����-�#���� +�������-�#�*$�����4�(�������,"�����������%��,"�������� �#����

��� (" ��� �� ��������� ���������4�(���K������'�������-���������)������+��"�$��������� �� �� �� "���� ��� � � ��� ���� � �� ������� ���� #>����'� �� ��� $�� ���� ��#"��� "���#� �������������'��������������.+���������'���K���������

��� 2����e�� ��� $����� �� ���� �� K� ��������� � ��K�� ��� �)1��� � S��������%�T'��#� �������������������������+��������&%%���'������)1���-���������*$������"���)�����.� ��#� ����#� �������-� "�+ ����

•� ��� �������� �� �������������������%�M���� 5��� ,"�� �� � �� ������� ����5�� ��+� #� � �� � �� ��� ���� S!�)����� T'� ��+�

� �� ���������-�������(����"�H���/�S-��� �������� ����� ��T�,"���� +���������

7�� ��� ����� �� �������.� ��� ����������'��"���1�'����\�5� ������)�����.� ��S�� ����"���.��$�T'�#� ���������'�����-�#���� +�������-�#�*$�������������%������,"���4�(��������� �#����

/���� ������� ����� �� ��� �

(�� #� ���� ��� �)���� ���� $�� �� � ��� ����� �� �� #�� � � ��� # /�#��'� �� ) ����'� ���#� ����� ������������"�������$��������" ��C +�#� �D��� �����#� ��������)�����

•� �I�" ��"����#��,"����) ����4�(���#��'��� +��)� ����1��������5�����.�������

•� �� ,"����#� ����&Gn��!3G������ ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

�������A�)��� ������ 5� �����#� ������� � �� ����������

4�,"� ��� ! "�� �����#� ���K��"�$�� �,"� ������ ����� *$��������������)����

3�����B� _��P2Pn� � ���" �� +�#� ��������*$���� ����#� ��'��� ����� � �

����� �� �������#��,"����)�$�� �

+�(" ���� �� ��������� �� �������� � ���������� �#����� �*$���$�M�������� ��M������ ����� �����#� ��M��� �������'�N���,"� ����"�N��� ���P�

Page 60: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� T*

��������OM����M�!� �������#� ��������/������ ����� *$����������P�

�����.� M�5� �����#� ������)���'��.� �P�

��.� M�5� �����#� ����� �����-� "�+ ��'��� �P�

��������OM����K�" �#� ����>�������" �P�

��5�4M�!� �������#� ������)���P�����Q�����M��� ���K��"�$�����/�����

+�=�1�� �����)�� ��*8�����) ����� +�#� �������I��#��3��

•� �� ,"�� �� #� ��� �3�n��!3G� �� ��� �� ������ �� � �� ������� ������O2���� �� ������������

+�! �,"����� �� �������5� ������)1�������"�����1��� ����n��������

=�1��#� ��-�#�"������$��-��������)1����"G"�����'����"���)��.�M�

�� A 5�����0��16��

=�#I�1+������� ������,"���� �������� ������# ������#>������K�)����� ��"�������)� ����������� �������������#� ���# ��*$����������"���������#>����������-�#�� ���� ��"����'���-� �� ����� �����"�"+ ����������� �1����!��������# /�#�����#� ������� ������)�����-�#� $��������"�������,"���,"����-� "�+ ������� ��#"�� +�#� ��� �"��� �������#� �����

•� �>������� ���-���� ���� ���-�#�*8������)������ �����)������@A'�#��,"����)�$�� �S4�##��5����:���T������������'��K� � ������$����� ����� �����"G"�����'��I�" �#��,"�� �� ����� �� �)1��� 4�(���#��� S � #�����T� �� ��'()�%� �����%���'� �� �+����.�����'��I�" ��"����#��#B���) ����������1������M�

������%��!��n�������!�)����� �-� 0��S�����M�!�����TP�����������1��n��"��%���#��&��@A)��������� � ∫������)�������������K���� $���@A�������������������n��"��%���#���� �P� � � ∫�G ������������ �*8�������)�������������n��"��%���#���� ! ���#��P� � ∫�4���#����� ������� ���*8���������E�

Page 61: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� T!

��E�

+�(��)1���,"��#� ������)�#�����������-����� �����J��1��%��$��K��#���+ ���-��� �"��������J�'��� �������� �������"���#>�����S�)��.������� ��������#� ����*$�TM�

68 9��5"7

�%������-��"P�

+�0� �����)��������-� ����@A��.��� � I����#�� �*8���)+��#��M�

��� �� ! ���#�����&�#���" �)��#�����#� ������ �������#�� �*8��P�

7�� �� ����!� �����)��#�����#� ����� ������������ �*8���-���������)����P���

9�� 4���%�#B� �� !� ��� �� )��#�� ��� #� ���� #�#������ ,"���,"� � ���-�#�*8��� -���������)������

������� ��� �$���� �������� ����.�& ���

•� Q��#�����+����$���� �� �,"����"�"+ ����"���,"�����#>���������#���� ��'��� ����M���� � ��� " � ���� �)1��� 4�(��� #� � ��� �� ��� � �� �������� ��� �)1��� 4�(���#���

S#��,"����) �����)1������������ �\����� �\='���� ������ �-� I#�������������T'���� ������� �� �������.� ��� ��$�����������1@�

7�� 5�� �)1���4�(���#����>G&4.>'� ��#�������� � ��K�� ���'()�%� �����%���'� �I� " ��"����#��#B���) �����������Q�������

�����%��!��n�������!�)����� ���n����=������S���� M�!�����TP���������1�������� ������W��3��'���&�� X����������∫�=� �-�#������� ����K������� *$���"����*$����������������1�!�)����� ��-����m��SW!�)����� �&Gn��!3GXT�����∫�0��,"������#� �����������)�# ���������������������n�����3���&Gn��!3G�����#"�P��∫���� ��������*$�����#" �� ��� �����)1���/���56RL��$/R������������3.#������ ���SZ���������#���� ����"���#���Zr�2\�������������������������∫������1+��.���� �� �������������������������������Z���#B���)�$��sA�#�����s�� �#��������6����ZTP�������������������������� ����� ����� ��������P���P�

+5���,"���.����" �� �-� I#����� �����)1����n�����S�� +���-� "�+ ����������� ��T�� �#��� ����$��-��� �"�������"��J�'��� �����#���,"�����)��.������� ��������#� ����*$�M�

68 9��5"7��%������-��"'��b���"�0 �#������������ ��c����-����P�b������ ���������� ����c�

+�����#�� �*$��r�2'� -"#����#� ��" �.������� ����� ����� '� ���� -� +�#� �,"������ ����� ������"����������

Page 62: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� T

+(����"����)1���$����-���# ������������� � �� ���)������� +�� � ����������*$���"���� *$����� ���� �����$������ +��� ��������#�������� ������ �-�#�*$�'��$������ �-�#�*$������� ���� ���.������ +�-�����������"����)1����

+(�#� ���������� �����,"���� ���� ���"���#������1�����#���������)���'��� ���� "�� �� ���� #� ���� � ���#� +� " � � �� ��� #������ �@%������� ,"�� ��� +� �� � �1��'� $�� ���� ��#"��'������������� �������#� ��������'�,"������� �1���-� �#� ��������� ������� ��K�����@/)/���� ��$�� ��� +���� �1��� �� ������ ����� ����� ���-������

•� J �6�� ����������� ��������"������,"��� ���,"��� ��� �,"����#�������� ���� ����#" �� �������������#��� ���� � �� ��#� ������ ���� �'��� �����/#�����������*$�M���� �� ,"�����)1���4�(���#��'����I�" ��"����#��#B���) �����������.N�����M�

�����%��!��n�������!�)����� 5�L4�#� �S�����M�!�����TP�����������n�����3�����n���������#"�P� ∫���� ��������*$�����#" �� ��� �����)1���/���5��L�������P�

%�� ��0 �����" � '�$���

������ ������"������ #� � �� � �� ��� ���������� ��-� �� �� #>����� #� ����� �� �� ������"�����M�

%������������P������1����%��������J���'�O���L�'��������'�G ����#�'��� ���'��� �'��������'��%'��%!�)���P���O����������������������������������������������!��n�������Y�#����S!������"��T�������!�)����� ���n����M�!� �������P�������!�)����� ���n����M�!� �������P�������������� M�!�����" #�P�������!�)����� M�!!�)��P�������!�)����� ��-M�!!�)��P�������� ��������M�!� �������P�������� �������7M�!� �������P������������%��!�)����� �-� 0��S�����M�!�����TP������������%��!�)����� ���n����=������S���� M�!�����TP������������%��!�)����� 5�L4�#� �S�����M�!�����TP����������������6���������%���������7����%�����������6��(��%��%���������7�����P�����������n������M�!��n������P��� �� ��������

Page 63: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� T"

��68 9��5"7�%������-��"'��6"�������%�������������7���-����P��6������������#�����7�������%��!��n�������!�)����� �-� 0��S�����M�!�����TP�����������1��n��"��%���#��&��@A)���������������������������n��"��%���#���� �P����������n��"��%���#���� ! ���#��P�������P���P�������%��!��n�������!�)����� ���n����=������S���� M�!�����TP�����������1�������� ��������W��3��'���&�� X�������������1�!�)����� ��-����m��SW!�)����� �&Gn��!3GXT����������������������������n�����3���&Gn��!3G�����#"�P����������������3.#������ ���SZ���������#���� ����"���#���Zr�2\�����������������������������������������������Z���#B���)�$��sA�#�����s�� �#��������6����ZTP����������P���P�������%��!��n�������!�)����� 5�L4�#� �S�����M�!�����TP�����������n�����3�����n���������#"�P���P�������

�� ��������"���-"*8��'��� �� �� ������� �*$�M�

W�����������"��������� �����"���������� �#��� ������)�)����#�����-"*8����

�W�����" #�X@5��������-������������ �,"������#� ����� ������)1�������5�%�����

�W()1��X�5���%����0���#������#" �� ����)1�����-������

�������� ���" �� �����#�������@%�������,"��$���� �� +�,"��,"��,"� ��" ���*$��� ��������K��� �� ���� � ����������

�60������.��16M� �

�� � ������"������ #�#�"/��� �� ��� ��#� � �� 1����� ,"�� �� +� �� ���� �� �� �� �����"�"+ ��'� #�� �� �)1���5����� S#�� ���� � ��K�� ������)�%�"���#��� �� ��*$�� ��� �"�Q�N� Z��������������T��

������� -��� ���,"���,"� � ���-�#�*$���� ��� ��#��� ������ � ���� ����� 1����'��� �� ��� � ������� �� �#���511� S��� �#� +� ��'()�%� �����%���� �� �� �� �)1���5����T� ��� �� ��� �� �������.� ��� ��L������

Page 64: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� T&

(" �� ���-�#�*$��� �� ����� �#� ��� �-� I#������#� ����W����)��.������� ��������#� ����*$��,"�������� �-� �#�������������� ������)1�������"������S:���1T'� �,"������ �M�

68 9��5"7��%���������������P��6 ������%��������"�����7�

'��!�� ������, �������� �����

(��2����'� �� ��������������)1��� �S0�(��T'��#� �������������������������+������������'��$�������,"�������#����#� ���,"����� �#������,"� �������#� �����

•� ��� �������� �� ������������A�)���M���� ��� �� �� � �� ��������������� ��� �&Gn��!3G� �� �3�n��!3G� �� �� Cd5����DD� ��

Cd��������DD'� ����#��� ����

7�� ����-�,"����� �� ��������������� )����� ����������� �-'�5�� ��'�<���������P������ �� ��������%��5�4��� ��$�%��

+� 0� �� ����#��� � �� "���� ��� �+ ���� �)1���'� � ,"�� �� � � �� �� �)1��'� ���" �� ���#����?&�!��� � ,"������� �����

+�@"��,"� �� �)�� ���� ���� ����� ���� ��������)1����"������#����?&�!�\�������

+�@"��,"� �� �)�� ���� ���#� � �������*$������)1����"������#����!4A�\�������

+� J �� � �� ������� �� ������ K� �� ��%��������� ���� ���#� +� " � #� ���� �� �� ������*$�� ��� #" �� �� 3.�M� ����� ��1�� �������� �A!\�� �� #" �� � ��� ����#��� +� �� �)1���/���5��L������"��������1�����������A!\����#" �� ��������#��� +����)1���/�����L������

(�� �� ���� �� /�����'� �� �������� ����� �)1��� � S��.���T'� �#� ���� ���������� �������� �� �+���������������'� �$�� ��� ,"�� �#�)� $�� �� #��6��� ���� #� ���� ����)�����

•� ��� �������� �� �����������#� ����>����M���� ����-�,"����� �� �����������S���� )������#� ���T��� ����������� �-'�5� ��'�<�

����"�� � �����

7�� =� �-�,"�� ��� � �� ������������5�%��� �� �������'� � �� ��� ����*$�� #� � ��L������@�5������������ �����#� ���5��L����'� ����#��� ����

9�� �� � �� �������.� '� � �� ��� #� ��'� K� ����� #� � 3��� \� 5� �� �.� �� ���#� ����/���5��L������

•� ��� �������� �� �����������#� ������# �*$�M�

Page 65: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� T#

:�� =� �-�,"�� ��� � �� �������� ����5�%��� �� �������'� � �� ��� ����*$�� #� ���L�����@�5������������ �����#� �����L����'� ����#��� ����

��� �� � �� �������.� '� � �� ��� #� ��'� K� ����� #� � 3��� \� 5� �� �.� �� ���#� ����/�����L������

�������"#� ��� ����

(� �)1��� �� �� �� #� ���� ��� �)���'� �� ������� ����� �)1��� � S��!���#����T'��#� ���� �� �������� �������� �� �+�������� �������'� �� �� ������� �g � " �� )� �� ���-"*8���,"��������������������%��#� �����������*$������#� ���'����*$���������� ���� ��'����*$�� �� �.#�"�$�� ��� ���� ��'� �� #�#��� ��� �"� �� #�-� �*$�� ��� " �� ���-�#�*$�� �� ���"�����*$�����)�#�����������S,"����� � ���TM�

�� ������� ������ )�8��M� )�� �� S� � �� �T'� )0 �� � S�� �� T'� )5�.� S� >.� �T'�)A��� S6�� �T'� �&�� � S��� � T'� ������� S�.#�"� T'� )3��� S���� T'� )0��� S#�-� � T'�)��#���S#�#��� T���)4�- ����S�"����� ������T��

•� ��� �������� �� �����������)� ����������*$�M���� ��-� �� �� � �� ������� ����5�%��� �� �-�#���� �� �� �� � �� ��� ����*$�� #� �

��L�����@�5�������

7�� ��� �� ����������1�� ���� -� +� #� � ��1�� �.�)���� " �� ����� '� #�-� �����"�$�����.#�"�$���

9�� ��� ����� �� �������0����'�#��#����� � '���������� �����#����)�$��������"��� ���M�

0 � �� ���� �� �0 >.� ��]�� ��&�� � �3.#�"� �3��� ���-� � ���#��� ��"����� ��������

:�� ���,"����)�$��(m������ ����� �� �������5��N0������ �� ��%'� ���� -� +�#� �,"��� )��.�� ��� #���� )�$�� ��� )� �'� ��) ������ ����� #" �� '� ��1�� �� ���� " �� #��.��#� ��" ��� 1��� � ����#� ���#��6������� �� �������0�����

��� =�#I����� +���-�� �,"����)�8������� $����� �#� ���)� ��"����������� �� �������Q������%�����'��� �� ���#��,"������������\�,"����� �#������,"� ��������*$������-�����%��"�1������ �����)�8���,"���� $���"�$�� �� ������

Page 66: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� TT

'��!�� ������ ������

3.��� �������)1����������# �������"� ��#� ��M���� � �� ���"�� �� '��) �������)1�����!���#����'� �� ���"��� �#"����� �� ����� ��� 1����'� �) ���� " � �)1��� ��� ���� �# ���%�.'���)������#� �����

•� ��� �������� �� ������������ � �� �������M���� ��� �� �� � �� ������������ ��'� ����� ��� ��� � �� ��������������� ��� �����'�

�� ����21�'%���1O��

7�� ����,"����� �� ������������������ ������������

9�� ����-�,"����� �� ������������� ����������� �-'�&+��#�'��:�����"�� � �����

+� � " �� �� )� �� ��� �����*$�� ��� ���� ,"�� $�� #") �� �� ���# �*$�'� ��� -� � �� #�����" ������ �������1������

•� ��� �������� �� ��������������"��������M���� �" ����"��� �"����� �������1����������,"�������������� �"�����" ���

#� � ���'� ���� ��� ����� �� � �� ������� ������ ��� � �� ���� �������'� ��� �� ����� �� �������S� �� � �� ��T��� ����.����

+�0� ��#����"� ��� ����������� �� ������������������'�#��,"��� �,"���,"� �����)� ���'��������) �������������.����" ��" ���)1������ ������%������@�� )K ��� �������������

'��!�� ��� �3 ��� �

�� 1����� ��+� " � ��"#�� ��#������ � +�� ���� �)1���� ���K��� # �����'� ��>�� ��� � � ��� �� �������������������"��������'����,"��" ���"#����1������� ��)��.����#��,"�������

•� ��� �������� �� �����������1����M���� 4�� �������*8��������� �4�������S� �4����� �� ������������6������

7�� ��� ����� �� ������������5�O���� ����5������

9�� �"������ �� ����������������� ��$������

:�� �����#I�$����-��'� "������ �� �������.� ��� ��L����'��"���1���n�\�5� ������)�����.� ��S�� ����"���.��$�T'�����-�#���� +�������-�#�*$��� ������������"���������

��� =� �-�,"�� �� � �� ������� ��������� S����*$�� ��� 1����T� ���� ����� ��� � #� � �� ���� �5��������S#� �������T��

;�� ��������-� "�+ ���#� ���� ��1���������������� �1����

��� �������������� �����

� �� � ������ ��" �� #�� ���������� ��#� �� � ����"��)�8���

Page 67: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� T(

�������������������������D�

��� � ��� " � �)1��� �����' #��,"�� �� �)1��� � S�����T'� �#� ���� �� ���������������� �� �+���� ��������'� �� #��,"�� �� �)1��� 5G���#'� ��� �� ��� ���"����� �� �������M��

0 �� ������� =��� � ���# �*$��

����� ��%�� � ����� ����� ���������'������� ����K�

������ � A�)�������)1���

?����� :�� ��" ������)1���

(��)�8���,"��# �� � ���-� $���"���-"*8��M������ ���� 1�������7�A�#�����*$�� +��������" ���� ����� ���� ���

������������� ���������D�

��� �� ,"�� �� �)1��� ����"� # ����'� #��#B� �� �)1��� ������� '� �#� ���� ���������������������+����&���������'���#��#B�������"��

7�� ��� ��������"����� �� ���������� ����)�$�M�

0 �� ������� =��� � ���# �*$��

m��� )B������ ��� �����#���������� �"�������������)�$�'��"� ��#� ����� +���� �������� �� �������M��������'�R�O������������%���

������ p��#�� � A�)�������)1���

��� ��������� �-'�5� ��'�<'�0 ��� !��������� ������ � �� �������)1��'��� ����� � �����

� �� �������#��,"����)�$�� �

?����� 7�� ��" ��

?�� 4�� ����� �"�� �#����� �1"����������� �����)1�������#/-�#��

A�-� 9�7� ����� �������,"� ���

5� �� %"��#�� � 5� ������)1���

���L?�� ! "�� ��� � ���#��6������� �� ��������������)���-� �����" ��#��.������1"���������

O���� <�� !� ��������)1���

������������%���������D�

��� � ���" ����"���)�$�'���� ����������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

������ pA�#����� � A�)�������)1���

��� ��������� �-'�5� ��'�<'�0 ��� !��������� ������ � �� �������)1���

G����� W�� �> ��������Xk&��G3�k%J!!(5�k�&5��%�0�

& ��� ����� � �� �������)1���

?����� 7�� ��" ������)1���

?�� A�#��������� ����� ���� �����)���� �1"����������� �����)1�������#/-�#��

A�-� 7:� ����� �������,"� ���

5� �� %"A�#����� � 5� ������)1���

���L?�� ! "�� ��� � ���#��6������� �� ��������������)���-� �����" ��#��.������1"���������

Page 68: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� T-

��� ��������� �-'�5� ��'�<'�0 ��� !��������� ������ � �� �������)1���

O���� <�� !� ��������)1���

•� ��� ������� ������� �� ��������������"��������M���� 4�#���,"����� �� ������������� ����)1������������ ���������� ���������� -� �����

� �1����

•� ��"� �)�����-���������� �-�#��������� ���M�

��B�������A��16M� �

��� ���� ����� �����#>���������-���������>��#����#I��)�� �� +�,"���� �)����� ��� �-�#�"��g �#������� ����� ���� " � �����)1�������,"��#� ���#>������ ���'� ����'�� ���*$�����)1�����

������ ��� ��)�� ����'��(�� �

�� ������� ��K�����/���� �)���� �����"��� ��� ��'���� � �� ��K��� �� �,"�������� ��# ������������)1����� � � > �����"� ������� ���� ���,"���������1� �#�� ����'� �������� ���#��,"���� +,"�������������� �" ��)���,"���������� � > ����� ���"�� � �����)1����,"���� $������#���#����'������"��� ��� ����# �� ���������)1��������#>������� �����,"�������� ��# ����� /� ������/���'���� �)�� ��,"������� ���#�������� � ��,"������#�� �������" � -� "�+ ��'� � � K���� �2� ���"���� �� �� ���� � �� -� "�+ ����� Q� � �-� /���� �)���� � #� � �����"��� ����" ������,"���� ��� � �� ���� �����-� "�+ ����������"�"+ ����>���-� +�" ��6�#�������

&�#��� ��� �� � � ��� ��� + ��� ��� # ��*$�� �"� +�#�� �� -� "�+ ��� ��� #���� ��� �� ��-� "�+ �����) �������� �'��� ����'����� � ���� �"�� �#�����#��,"��� ��������Z��������@@@'�#��,"�����+����5���������������)1����5G���#���5G��(���S#��,"����) ����� � �� �'����" �����#���5��1����#��,"�������"�������� #�� ����� ����"����#��,"����)�$��#� �����������_T�,"����+��� �����&���;%����� �������� ���� �����&�����(�� �����'�#��,"����) ����)�$���V� S� �#������� ������-��� ����������� ����-� "�+ ���L5�����T��

�������������������������������������������������������������3���� ���K�#� �)����� �" �� +,"���:<;��R7�#� �<��)���� � > ����

Page 69: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� T�

•� ��� �� ��� �� �� �� "*$�� ��� -� "�+ ��� L��%'� ����� ������U� �� �� �� �)1���6� �%S����!'��� ��# �� ������)1���L5��������>�����"��#�� ������� "/�������+ ������ � > ��M�

�����%��!�n��"�&� �".��������#BS���� M�!()1�#TP����������N����!�n��) ��� ���S���-T���� � ∫�� �����-� "�+ ���� � � > ����������������������L�����P�� � � ∫���� ����-� "�+ ���� ��K�����+ ����)� ���������� ��P� � � � ∫�A�)� ����+ ����)� ��������P���P�

•� �>����� �� �� ���� � �� %���� ��� ������ �� ��� �)����� ,"���� ������"�����'� �� �� ���-� "�+ ���L����M�

��� ���,"����)�$�� �S4�##��5����:���T������������'��K���#I���� � ��� �������.�������

�����������%���� � ���S���� M�!()1�#TP��������������6���������%���������7���%�����6��(��%��%���������7

���������%����#��P�� � � ∫�� �������#�� ������ ��" �� �#��� ����6)��#�����E���������n����M�!�n����P�

Page 70: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� (*

�� �� ���������68 9��5"7

��%���������"'� 6"�������%�������������7

�����������P� 6 ������%��������"�����7�������%��!�n������&�#��P�� � � ∫�&�#������� �#��� �������������1��n��"��%���#��&��@A)��������� � ∫������)�������������K���� $���@A���������n��"��%���#���� ! ���#��P� � ∫�&�#����� ������� ���*8���������n�������!�)����� �(��P�� � ∫��������!�)���������# ����" �� �MY�# ��-�"�P� � � ∫�������#" �� �-�#� ���-� �����������������L�����P� � � � � ∫���� ����-� "�+ ���L�������E�

+� �� � �� ������� �%����� �� �.� ���� -��� � �)"/��� �� "������ 5���� ,"�� � �)"�� ������� ���� ���������#" �� '� ���K�����/����� )K �� �)"� �" ���� �����#" �� ���" ��)1�������#/-�#�'���� �� �������������� ���� ������ ��������� ������������#" �� �����-�"�����L���L��#� ����-��" ���,"��������"� M�

����� ������ �

•� 5$��K��#���+ ���#���#� ���#� ����������� �����)1����%�������������� �� �������V����-� +������"� +�#���

•� �>����� �� �� �#� � � ��� �)����� �������"������ ,"���� -� � ����� ��/��� �� -� "�+ ��'��)�� ���,"����"�"+ ���$����������� ���� ���� �����"�������� ���� ��M���� 5���)1���5G���#'���#��������� ��K�����'()�%������%���'��I�" ��"����#��#B���) ����

�����������M�

�����%��!�n������� �����S���� M�!()1�#P������#��M�!������#��TP��������������1���n�������������� ��������W��3��'���&�� X����� ∫�=� �-�#�����������������)1���� ����������� � � � � � ����������" #��K�3��*$���"���� *$��������������������SZ��#���������*$��S�"���� *$�T��������� ����������-�#�� fZ'����∫� �� �� ����� �� � &-� ���'�W )(mX'�2TP� � � � ��������������-� �*$�����������#���MY�#�5��P� � � � � ∫���#��������/������1�����

Page 71: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� (!

��������3.�P� � � � � � ∫��������� �#��" ��������E������# ����" �� �MY�# ?�" G����P� � � � ∫�������#" �� ��� � �" ��� �"���������!�)����� ������P� � � � � ∫���#������)���������1��n��"��%���#��&��@A)��������� � � ∫������)�������������K���� $���@A���������n��"��%���#���� �P� � � � ∫�3#� ���� ������� ���*8���� ���������E����� � � � � � �� ���������� �*8�����)�#�����������

+��� -"*$����������� -��� �� �� ���J���������� �$�� K� �#���+ ��� -��� � "��� �����J�'��� �������� �������"���#>�����S�)��.������� ��������#� ����*$�TM�

68 9��5"7�%���������"'� 6"�������%�������������7

�����������'� 6 ������%��������"�����7

����������P������ 6:����$��������%������������3=�"����#���#7

•� �>����� �� �� ��#����� � ��� ����� ���� �'� �)�� ��� ,"�� ��� �� "�"+ ��� $�� ����� ��� ���� �����"�������� ���� ��M���� �I�" ��"�������#B���)����)1������0�%���$��M�

�����%��!�n�����%"A�#����� ���#BS���� M�!()1�#TP������ � � � � �∫���#�� �*$������� �+��������()10��,"���M�5�����P� � � �∫�� ������� �+����()10��,"������������ �������������1���n�������������� ��������W��3��'���&�� X����� � ����������������������������SZ��#���������*$��S�"���� *$�T��������� ������������#����� fZ'����������������������������� &-� ���'�W )(mX'�2TP���������3.�P�������E�����()10��,"����MY���n�������!�)����� ���n�����=��"�P�∫�� �)"����()10��,"���������� ����#� ����

�������)�������n�����������1�&�"@"� �SZ3 ��#� ������������#���� ��Z'���������������������������Z�����Z'()10��,"���T������ ������� ������∫�����#����������*$�����#>��������� �� �#" ����������1�������n�������!�)����� ����m��SW()10��,"���XT������∫�0��,"������#� ��������������)����������������������SZ�������������� ���$���#� ����Z'������������������∫������$����1���#� �����-� ������������������������������� &-� ���'�W )(mX'�2TP���P�

+���-"*$��6��%�]%�O�� )K �-����� �����J���������@�

+�(� K�������VO�-����� �����()1���$$�����

��� ���%$������4��� ���

J ��-"*$���"�" �� �#��� ������)�����" ���K ������#� �����#� "����" ����� ��#� �� " � ���'� � � ���"��� � 0��#��� K� ,"���� ,"�� � ��)���� S$�� K� � ��)���� ����� �� ���"��� ��� ��T���"�����*$�����" � �� ��#�1"�����#� ����� �������������'����,"���� ���������-� "�+ ���� ������ �� ���#� ������ �#�� �������-� ���M�

Page 72: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� (

�����%��!�n������� �����S���� M�!()1�#P������#��M�!������#��TP�����������1���n�������������� ��������W��3��'���&�� X����� � � � ∫��,"�����������������������������SZ��#���������*$��S�"���� *$�T��������� ����������1����fZ'�� ∫��,"������������������������������ &-� ���'�W )(mX'�2TP� � � � � ∫��,"�����������#���MY�#�5��P���������3.�P�������P�����������P�������%��!�n�����%"A�#����� ���#BS���� M�!()1�#TP���������()10��,"���M�5�����P�����������1���n�������������� ��������W��3��'���&�� X����� � � � ∫��,"�����������������������������SZ��#���������*$��S�"���� *$�T��������� ����������������4��fZ'� ∫��,"������������������������������� &-� ���'�W )(mX'�2TP� � � � � ∫��,"����������3.�P�������P�����������P�

0��� ����$�� �� � ��� �#�����# �� ���" ��-"*$�� ��������,"��# ��#� +���������������*$�� ���������� �� ����� '� ���-�#���� �� �#��� ��-� ��'� -�#���� ����� ��� �� S$����,"�*�������#�� � ���-"*$����+ ���04&=�!3TM�

���������������1%�������� ��#�3��#��S�����M�� ��T�M�)�����P� ∫�� �����-"*$����+ ����� �#"�� ����%����������������%����#��P�����P������ �������������1%�������!�n������ ��#�3��#��S�����M�� ��T�M�)�����P� ∫�4�#�)����������� ����� �����������1���n�������������� ��������W��3��'���&�� X����� ��������������∫�=� �-�#�������������������������������������SZ��#���������*$��S�"��#�"�$�T����#���� ����������Z�\�����������������������'� 3 � '�W )(mX'�2TP� � � � ∫�������������� ����� � ���������4��"��MY�! "�P� � � � � � ∫���������,"������"��� �������������������������4��"��MY������P� � � � � � ∫���������,"��$������"��� ������P�������%��!�n������� �����S���� M�!()1�#P������#��M�!������#��TP�����������1�� ��#�3��#��SZ-�#�� Z�T���� � � � � ∫��")��"�������#�� ������-"*$��

Page 73: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� ("

������������������#���MY�#�5��P���������3.�P�������P�����������P�������%��!�n�����%"A�#����� ���#BS���� M�!()1�#TP���������()10��,"���M�5�����P�����������1�� ��#�3��#��SZ��#����� Z�T����� � � ∫��")��"�������#�� ������-"*$��������3.�P�����������P�

5��� ,"�� 1+� ���� ��� " �� #� �� ����� '� ��� ��K�� ��� � ��� ,"�� ��� � � � � ������"�� ��� ��-� ���� �>� � � ��� ,"�� ��� � � � � " � 6�#�� �"�� '� ��� ����� $�� ��+� �� -���� ��������� ��� �� ) � � ,"�� " � ���� �� � �� ��� $�� K� #� ����� �� � ������ " �� �)���'� �� �#�� ����� �����#���� �'��$��������"� ����� �� ����� $�����#�� "*$�����-� "�+ ������ ���" ��� �)����� #��"� � ��� �� ���� � �+ ���� #� ����'� �$���� ��� -��� �,"�� ������� -"*$���� ��� �� �� �� # ��#�� ��� ���*$�� ��� ,"��,"� � �)���'� �� �� ���� � �#��� ��� ���� � � )K � ����������%��,"�����,"��� +�����������" ���" ���� �+������� ���������#� �� ������ ������,"����)������� ���-�������� ��#�#��� ������*$�'��+��� �����)1����n��"���# ��������"���-"*$��S$����,"�*�������#�� � ���+ ���0J%A&�TM�

��������������������%�����L?��S���� M�!()1�#TP����%����������1%�������� ��#�3��#��S��( ��� M�!�����" #�P���@"�'������M�� ��T�M�)�����P������∫���,"������P��������������65��3=�����%�.��3=� �%�(�I��'��#��I�������%������������#���������

��A��I!���������4�(���

&������I5��3=���@�%����������5�% ���0�%���$������������I4���;�����������%����J�������������3=��������3=�

5����;�����������%����J��������������#�3=�7��1%�������!�n��"�� ��#�3��#��S��( ��� M�!�����" #�P���@"�'������M�� ��T�M�)�����P�����������1���( ��� ��������W��3��'���&�� X�������������������������������SZ��#���������*$��S�"��#�"�$�T�Z�\���@"��\�Z��������Z�\�����������������������'� 3 � '�W )(mX'�2TP��������4��"��MY�! "�P����������������������4��"��MY������P���P�

��� �� ��� �� �� �)1��� 5G���#� ��� ����� �� -"*$���������/������ �� ���-�#���� ���#�� ����M�

Page 74: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� (&

���������������6%������������%������7� ∫�3�� ������%����������������%����#��P�����P������ ����n����M�!�n����P���������/�� ����������������1%������������������%��!�n������� �����S���� M�!()1�#P������#��M�!������#��TP����������1��n��"�� ��#�3��#��S��n�������������� '�Z����� ��Z'�Z-�#�� Z�T����∫��")��"���,"������������������#���MY�#�5��P��������3.�P������P�����������P�������%��!�n�����%"A�#����� ���#BS���� M�!()1�#TP���������()10��,"���M�5�����P�����������1��n��"�� ��#�3��#��S��n�������������� '�Z����� ��Z'���#����� Z�T���� ∫��")��"���,"��������3.�P�����������P�

/���� �����'��$�� � �����������!���$�)����

��� ��-��� ����� ��� ��� ������� �1��� �������� �#��� ���#�� � ���-� "�+ ���� ��K����� �"�� �#������� �����M�

��� �) �����)1���L��%M��� �"�� �#�������#�����Q�N����������������'� � ,"�����)1���5G"�����#��,"����) ����)�$��Q�N�1�� ���

7�� ���,"��� ���P%���'�$���������������'�#���,"�������"���#>����M�������%��!�n��"������ ������#BS���� M�!()1�#TP�����������# ����" �� �MY�# ?�" G����P� � � ∫��������#" �� �" ��� �"����������n�����MY�!�n������ ���S�����#���TP� ∫�� �����-� "�+ ���� � � > ��������n�����&�#��P� � � � ∫���� ����-� "�+ ���� ��K�����+ ����)� �������n������ ��P� � � � � ∫�A�)� ����+ ����)� �������# ����" �� �MY�# ��-�"�P�� � � ∫��������#" �� �" ��������P�

9�� (��)1���5G���#-����� �����J��1������$��K��#���+ ���-��� ���"��������J�'��� �������� �������"���#>�����S�)��.������� ��������#� ����*$�TM�

Page 75: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� (#

68 9��5"7

�%������-��) �'���6K���������(����������7����-����P���6���������4�(��������#����7�

:�� �����������.����������������-� "�+ �������� �1����

��� 4������� �1�����������-� "�+ ������#���� ��'���� �����" ���#���� ���'����� ���#� ���� ������"���#�*$�'������� � �" � ���� ��#� ���#>���������������#����� �" � ���� ���

;�� ������" ��#�������"�� ���'� ��������#��/"��'��"��$��#�-� ��������#>����M��%����-#���P������1����%����������J���'�O���L�'���������'��������'�G ����#�'��� ���'�������� ��'��� �'��%� ��'��%'����B'�3.� ��'�%"��P���O������!�n�����Y�#����S!�� T����������# ���%�.M�!�# ���%�.P���������A�)���M�!A�)��P���������3�����n����M�!�%3��P���������A�)��7M�!A�)��P���������3�����n����M�!�%3��P����������%5������ M�!�%5������ P���������0����M�!0���P���������0���7M�!0���P���������0���9M�!0���P���������%"��#�� M�!%�%P���������%"A�#����� M�!%�%P��������������%���� �����S���� M�!()1�#P������#��M�!������#��TP��������������%��%"A�#����� ���#BS���� M�!()1�#TP��������������������6���������%���������7�����%������������������%����#��P���P���������n����M�!�n����P��� �� ���������68 9��5"7

�%�����-��"'�� 6"�������%�������������7

����������'� 6 ������%��������"�����7

���������P� 6:����$��������%������������3=�"����#���#7������%��!�n�����&�#��P�����������1��n��"��%���#��&��@A)���������

Page 76: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� (T

�������n��"��%���#���� ! ���#��P�������n�������!�)����� �(��P����������# ����" �� �MY�# ��-�"�P��������L�����P���P�������%��!�n������� �����S���� M�!()1�#P������#��M�!������#��TP�����������1��n��"�� ��#�3��#��S��n�������������� '�Z����� ��Z'�Z��#�� Z�T�����������������������#���MY�#�5��P���������3.�P�������P������# ����" �� �MY�# ?�" G����P�������n�������!�)����� ������P������1��n��"��%���#��&��@A)����������������n��"��%���#���� �P���P�������%��!�n�����%"A�#����� ���#BS���� M�!()1�#TP���������()10��,"���M�5�����P�����������1��n��"�� ��#�3��#��S��n�������������� '�Z����� ��Z'�ZA�#����� Z�T������������3.�P������()10��,"����MY���n�������!�)����� ���n�����=��"�P������1�&�"@"� �SZ3 ��#� ������������#���� ��Z'Z�����Z'()10��,"���T�������������1�������n�������!�)����� ����m��SW()10��,"���XT��������������������������SZ�������������� ���$���#� ����Z' &-� ���'W )(mX'2TP���P�������

�� ��������"���-"*8��'��� �� �� ������� �*$�M�

W!�)���X@�����������" ��)1���$����K��,"���������������D;�$�%��

W�� X@5��N����������������)1����� '�$���� �����,"����" ��" ���)1����� ��� �� ���1��������'��K�,"���� �� ����1�������������

/S������������-"*$���"�� �#��� ����

W!�)���X@���������������" ��)1���$����K��,"���������������D;������

Q�������-���" ��#����������� �+�������#�����

6��%�]%�O������ ��" ��#��.�������+������� �����" ����� ��������� �+������������5�������

W!�)���X����VO����"*$��,"�� �������" �����,"�������.�������)1���$���'�� ��K�����/��#����-����'� �� ��4��������#� �"��"�5��������-� ����� ,"����

Page 77: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

���

�78016�%��

-� � �& �������� ��� � ��5�%��& �

��� ��#I� �K� ��� �� $�� ���"� ��-�#"������ � � # �� � �� ���� � �� �)����� #� � �)�������� ��'�$����� +�� )K ���-�#"������� �# �� ���-� "�+ ����� �� �#�)� �����#���'����#� + ��'��#�������,"����#I� �������� �-�*����#��/"����� �� ��

3 � ����� � �1��'� #���� ���� �� �� �)���� ��� `����� �>� �.��� +� ��� ��"�� � " �#� �����������)�����X����'��$���� �)�����X�����K�C���D�S �� �T���� �)���� `�����,"��K��"�� C-����D� S������T��3��� �� ��� �#� �� K� �.���#���� �� #�#���� ��� ������ ���#����� ��� ������S�34T�� (� ���� �� �#� �� �� ���� ������ �� �� �� �� )�#�� ��� ������ $�� ���#�����'� #��������K��� ���"�����������%����� ������� �1����

�� ����:��6�10�0 5���0��

•� ������� �,"����#I�-������"���#��/"����� �� ���#I����"�������� �'� ����������"�� �1����

•� ��� ��,"����#I���+�� ����� ���� �)����'��� ���# �� ��������1����M���� ���,"���� �"�� �#���������*$�������.N@@@'�� �!�������'� "������+������ ��

5����� �� #��,"�� �� �)1��� ��"����� ����(��� 5���'� �� �#�� #>���� ��� #��/"����� �� F�#"���������������� "*8����)��.�M�

!�� �(��������� �# �������� ��������M�� ������ ��� �������-� ��J ��1����� �� ����������������5���������M�� ������-� �"����!!�)�����)1�#��J��������)1����)�����%�$��5�.��

�� ����)���� �� ������ �"������� ����1����������������������� M���������#��$����.� M�)���#���)-�%�$��5�.�

Page 78: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� (-

"�� ��� �������� � ���� ����� �%�$��C__C�%�$��5�.�

&�� ��� �*$������#� ����=� �#���%�$��5�.�

#�� �0���*$������A�)����A�-�������,"� ���%�$��5�.�

T�� ����)��������������� �"������� ����1����������������������� M���������#��$����.� M� "��#���)-�%�$��5�.��

(�� ��� �������� � ���� ����� �%�$��C__C�

����%�$��5�.�

-�� ��� �*$������#� ����G ���%�$��5�.�

��� � !*�� �

Page 79: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� (�

����� ����#������������*$�����������6��S��M�0 � � �������������M��(�n�&��(������������M��(�n�&��(�%�$������'�����������(�n�&��(��_��(�n�&��(�

�����%�$��5�.�

�� �����G� ��������#� ��-� �� �#�������5$��(�@"���� � M��� ���������"���%�$��������

�9������0��16���

�� ���"���������#��/"����� �� �K�����/����# �� �" �6�#������"�������) �������� ������ ���#����� #� ����'� )���� �� �� ���� ��#I� -��� � �� -� "�+ ��� ,"�� ��+� #�� ���� ������"������#� ��� ���#� ����'����������������)������5$��-� �������� ��� �������������� �� ��� ���,"���� ���-�#� ����� �"� �)�������-�#"�� �������"����� ��'�,"��K������" ���������,"������������� ������������ ������ � ��'��$���� ������ �)��������� ���" �����"�������� ��#����#���� ���

-� � �& ������� ��- ��� ��

��� �� �� �)1�������"�����1� # ����'� �� ����� � � �� �� � ����I#��� �� +� �� ��� ��� � � ��� �� �������.� � ��� �)1��� �� ����L������'� �)�� ��� ,"�� -��� # ����� ����� �)1���� 4�(��'� ��� � �� ����+���������� �����)����%��&�(��������"����� �����)�����J�&��'����,"���� ���������"������� �� �������������5�%�����������������$��C� ����D������� � �� ���)1��'�����K��� ���#��� ���� ��� )����=� �������# �� ������"����,"�����������M�

•� � ��� I���)1����4�(��� '��#� �����������������������+��������&%%���'���" �

�)1�����������%�� '��#� �����������������������+��������&%%���'������ ��������"����� �� �������M�

�������������$���!�SE+��.����TM��

0 �� ������� =��� � ���# �*$��

���)���5� �� %������#��S����������� �$������� ������/����#�� �����)1���L��%T�

5� �����%�#������������"�����#�����*$������� �> ��������)�����

!�)��5� �� %��&�(� 5� ���.� ������)����

5� �� !�)%���#�� 5� ������)1���

&��.�����5� ��� 5(�n�&��(� 5� �����#� ������.����

�����������������5�%��!�SE+��.����TM��

0 �� ������� =��� � ���# �*$��

������ !�)%���#�� 5� ������)������#"�����

5� �� ��%���#�� 5� ������)1���

�������������$��� �SE+��.����TM��

0 �� ������� =��� � ���# �*$��

���)���5� �� %������#�� 5� �����%�#������������"�����#�����*$������� �> ��������)�����

Page 80: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� -*

!�)��5� �� �J�&��� 5� ���.� ������)����

5� �� !�)�"��#�� 5� ������)1���

&��.�����5� ��� �(�n�&��(� 5� �����#� ������.����

���� ��" #�� ��%���#�� 5� ����������" #����� ��

���� ������� �(�n�&��(� �� ����������*$������)������� ��

�����������������5�%�� �SE+��.����TM��

0 �� ������� =��� � ���# �*$��

������ !�)�"��#�� 5� ������)������#"�����

5� �� ���"��#�� 5� ������)1���

�������������$���"�S� ����TM��

0 �� ������� =��� � ���# �*$��

���)���5� �� %������#�� 5� �����%�#������������"�����#�����*$������� �> ��������)�����

!�)��5� �� %��&�(� 5� ���.� ������)����

5� �� !�)%���#���-� 5� ������)1���

&��.�����5� ��� 5(�n�&��(� 5� �����#� ������.����

4���(��� ! "�� �� ����� �����" ��

�������������$���&�S� ����TM��

0 �� ������� =��� � ���# �*$��

���)���5� �� %������#�� 5� �����%�#������������"�����#�����*$������� �> ��������)�����

!�)��5� �� ��!3G(4� 5� ���.� ������)����

5� �� !�)����� � 5� ���� ������)����

&��.�����5� ��� �&Gn��!3G� 5� �����#� ������.����

���� ��" #�� ��%���#�� 5� ����������" #����� ��

���� ������� �&Gn��!3G� �� ����������*$������)������� ��

4���(��� ! "�� �� ����� �����" ��

�����������������5�%��"�S� ����TM�

0 �� ������� =��� � ���# �*$��

������ !�)����� � 5� ������)������#"�����

5� �� ������� � 5� ������)1���

�������������$���#�S� ����TM�0���#������������������)1��������#��

0 �� ������� =��� � ���# �*$��

���)���5� �� %������#�� 5� �����%�#������������"�����#�����*$������� �> ��������)�����

!�)��5� �� ��!3G(4� 5� ���.� ������)����

5� �� !�)����� ��-� 5� ������)1���

&��.�����5� ��� �&Gn��!3G� 5� �����#� ������.����

4���(��� ! "�� �� ����� �����" ��

+(���)1�������� ������.�#"*$�����-� "�+ ���-�#� $������/����'� ���K�)� �#���#+������ �#������ �K��#��'������������#�-"�$���

Page 81: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� -!

+���"�����������#�����)1���4�(��M���!�)%���#����!�)���� �� ��� �#��������!�)%���#���-���!�)����%��&�(��� �� ������ ���������*$������ �����������!�)�"��#����!�)����"���������� �� �� � ���� 6��#���#���� ��������#�������#�����!�)����� ���!�)������ �� �� � ������# �*$�����#���� ������!�)����� ��-���!�)������ ��������*$��������������#���� ����

•� � ��� �� �)1���A���/ '� �#� ���� ���������� �������� �+�������� &%%���'� ,"���� �� +��� ��#��#"�� ���#>������"� +�#�'�#��#"������� � ����#>�������� ��� ����� '������ ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

���)���5� �� %������#�� 5� �����%�#������������"�����#�����*$������� �> ��������)�����

5� �� @ ������ � 5� �����()1���

�@A� ����#���.S�(�n�&��(T�- � �%��&�(� ��+"�"����@A'�����#������ ��� ����� ����#� ����(�n�&��(�����)����%��&�(�

+� (� #� ��� �(�n�&��(� # ����'� �� �� +� ������ #� �� " �� #����� ��� ����*$�� � �� ���)����%���#�����"��#�'��� +�" ��#������� �������������� �����"����� ��*$�����-� +�� ��K��������)1����@A�# �������������� ��� ����� ������#���������

-� � �& ����������� �����

0 �#��� ������ � ����"��#� ���'������� � ���� �#��� ��������� �)�����#� ���#>��������� �����)1�����>���1'�"��������5�����.������� ����� � ����#� ����,"��-��� M�

�������������$��������M�

���(�n�&��('�0 �� �������������O2���M��>����P���5(�n�&��('�0 �� �������������O2���M�5� �P���!&0n�&��('�0 �� �������������O2���M�!������/������UM�_���P2Pn�

���(!n��0�'�0 �� �������������O2���M����P������&Gn��!3G'�0 �� �������������O2���M������ �����/������UM�_��P2Pn�

�������������$���%����M�

���(�n�&��('�0 �� �������Q�����M����������5J�n��&R�'�0 �� �������������O2���M����.����������OM����M�7P�

��5(�n�J�&��'�0 �� �������������O2���M��6��#����������OM����M�:2P���

��5(�n�J!(4'�0 �� �������������O2���M��"� P�����!�0n�J�&��'�0 �� �������������O2���M�!� �����/������UM�22kM22P2Pn�

�������������]�O��������M�

�����" ��"����#��,"����) �����)1������ �#� +���1����������/�����'�#��,"��#� ���)�$���� �������� �"�,"����� �#� +�#��,"������*$����������@@@������#������#� ����

Page 82: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� -

���������#�� ������ �� � �*$���������"������#� �� ��#� ��-�#�"�������"����������������#� ���� �������������M�

������� �����" � '�$���

��� �� -���� �� #>����'� ��� ,"�� �� ��� � �� �� K� " �� ����*$�� ��,"���� ,"�� 1+� �� ����� �� ��M�

•� �����������)���������� �#�� ��������"�����M���� ���,"�� �� �)1����"����%�� �� ��'()�%� �����%���� �� �+����.������ �I� " � �"����

#��,"����) ��������������������� ����������"��� ���M�

������%��!��n%���#����n%���#�� ���S���� M�!()1�#TP�����������1��n��"��%���#��&��@A)��������� � ∫������)�������������K���� $���@A���������n��"��%���#���� ! ���#��P� � ∫�&�#����� ������� ���*8�������!�)����� �(��P�� � � � ∫����������)���������!�)����� ��-�(��P�����!�)�"��#��(��P�����!�)%���#��(��P�����!�)%���#���-�(��P���P�

•� �>������� ���#� � ���� ���*8���#� ���%���������������-�#�� �����)�����,"����-� ��#� ����������"���������� ��������������#���������)1����"G���#'���'()�%������%���'����+����.�����'��I�

" ��"����#��#B���) ����������������OM�

�����%��!��n%���#����n%���#���� ��S���� M�!()1�#TP������������!�)%���#�������P�� � � � ∫���#�������)���������!�)%���#���-������P�����!�)�"��#�������P�����!�)����� ������P�����!�)����� ��-������P������1��n��"��%���#��&��@A)��������� � ∫������)�������������K���� $���@A���������n��"��%���#���� �P� � � ∫�3#� ���� ������� ���*8���� ������������E����� � � � � � �������� �*8�����)�#�����������

Page 83: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� -"

+�A� ) ��������"�����*$������)1���L��%'��$��K�� �#������#�� � ���"��������,"��������� �#��#� ���#� ����W5/5�S�)��.������� ��������#� ����*$�TM�

68 9��5"7

�%�������-��"P���6"�������%����7�

+� 4��� �� ,"�� �� �/#��� �����W���� � )K � �.���� " �� �" �� ��#�� �*$��W��'� ��>�� ������$������1��'��$���� �,"��$��#���#� ��������������#�� �*8���� �" ��"�� ��>F���T�(����� ��#� ��� +�S#���#�����"� � �����T����J�������#���#�����S��������������)1����"��������T��� 7�T� !����� ��� #� ����� ��#�� ����� ���� ��� ��#�� �*$�� � �� �������� S#� � �.#�*$�� ��������� ��� # ��*$����� ����������T'� �� $�� �.�#"����� ��������� ��%����� -�#� $�� � � � > ������� ������ � �#�� ����'��$��K�� � ��#+����#���#� �%�����,"���>��� $��"���������� �� �������.�#"*$���

���� �����

(��)1���H���/� �������#��"����� � �����@A'���� >.� ��#��/"�����"����� � ����� ��# �� ���������#��"���� ��'����� � ��������� +�"���������� ���� �-�#� �,"����� ��� ����� �� ���������#� ���#>������

•� ��#�������� ���� ������ ���# �� � � )K �" ������(�n�&��(�S�� ) ������)1���A�/�������T����K � �����'� � �#��� ��� ��� ����#��� � �� � � �� �� #� ��� ��� #���� �'������� +� ���������� ������������������M���� �� ,"�����)1���4�(����%�'����I�" ��"����#��,"����) �����������.N�����M�

�����%��!�n%���#��!�)%���#�5�L4�#� �S�����M�!�����TP�����������n%���#��3��5(�n�&��(�����#"�P� � � ∫�0���#������#" �� ����)1�����P�

+�()�� ���,"��-���"�����������)1���L������'��$��K�� �#������#�� � ���"��������,"��������� �#��#� ���#� ����W5/5�S�)��.������� ��������#� ����*$�TM�

68 9��5"7�%������-%���#�P���6����������J��%�7���-��"P���6"�������%����7�

7�� �������������I�" ��"����#��,"����) ����������1������M�

�����%��!�n%���#��!�)%���#�%�-� �0��S�����M�!�����TP����������1���%���#������Y���&�� ����� � � ∫�=� �-�#�����K�" ���#�"�$����)�����������������@ ������ ��#����MY������P�� � � � ∫�����������@"� �������@ ������ ��#����MY�! "�P� � � � ∫��������@"� �������N����@ ������ �������W2X����� � � ∫�()�� �������� ) �������������1�&�5"�������� � � � � ∫���������� ����#���� �K�"���

Page 84: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� -&

�����������!�)%���#��(�n�&��(�=��"��MY��� � � ∫�� �)"�������#� ����(�n�&��(������������� � � � � � ∫���$�������������!�)%���#��(�n�&��(�=��"��MY���&��� �\��P� ∫�� �)"�����#� ����(�n�&��(������*$������������P� � � � � � � ���������������� ����#���� �#� �����P�

+�(�#� ����N����K�"��������#� �� K��������,"�� �-��'��� ��$����# ��� ����+ ������������ �� ��� �����" ���� ������)1�����

+� 0� ,"�� $�� #���#� ��� ���� �� #>����� �� ����� ��.N������ F� 0� � #�"��� ���#� ���� "���"�"+ ��'�� ����'�" �����/�"������#������#�"�$�����" ���'���" �����/�"����� )K ���#����" ���#�"�$�'�#� ����#>������������/�"���������$��-���� ��������)�#�'��� +������ �� �� �� #>����� �� �� �� ����/�"�� �'� ���� $�� �#��#� +� ��� �� #>����� -� � #��#"����� � ������������� �� �������� ���� �'�#� �K���#�������������1���������

•� 0� ��#�-� � ��������� �*8����� ����)�����@A'�� ���������� ������#������������+����.�����'��I�" ��"����#��#B���) ����������1������M�

������%��!��n%���#��!�)%���#��-� 0��S�����M�!�����TP�����������1��n��"��%���#��&��@A)��������� � ∫������)�������������K���� $���@A�������������������n��"��%���#���� �P� � � ∫�G ������������ �*8�������)�������������n��"��%���#���� ! ���#��P� � ∫�4���#����� ������� ���*8���������E���E�

6 �� ������� �����

0� �� $�� �#��#� � " � �"���#�*$�� ���� � ��� ���� ��H�'� "����� � ��� �� �� �� # /�#�� �� �� ����K������,"���#��#�"�#� ���-� "�+ ����������� ��M�

��� �� ,"�� �� �)1��� 4�(����%�!'"G���''� �� �I� " � �"���� #��,"�� ��) �� �� �������Q������M�

�����%��!��n%���#��!�)%���#�5� n���#�=������S���� M�!�����TP�����������1���%���#��������W��3��'���&�� X����� � ∫������ ����K������� *$���"������*$���������1�!�)%���#���-����m��SW!�)%���#�5(�n�&��(XT���� ∫�0��,"������#� ���������������������������������n%���#��3��5(�n�&��(�����#"�P�������������������� � ∫���� ��������*$�����#" �� ���������������3.#������ ���SZ5� ���������"���#���Zr�2\� � ∫������1+��.���� �� �� ����� ������������������������������Z���#B���)�$��sA�#�����s�� �#��������6����ZTP���������������� ����� �������#���� ����������P���P�

•� 0� ��,"���������"�"+ �����#������� ������#���� �����.�����M���� �� ,"�� �� �)1��� 4�(����%���>G&4.>'� �� �I� " � �"���� #��,"�� ��) �� �� �����

��Q������M�

�����%��!��n%���#��!�)%���#����n����=������S���� M�!�����TP������

Page 85: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� -#

���1���%���#���������W��3��'���&�� X����������1�����S!�)����� ��-����m��SW!�)%���#��&Gn��!3GXTT���� ∫�()�� �����#� ����.�$�������������������n%���#��3���&Gn��!3G�����#"�P��������������3.#������ ���SZ���������#���� ���$���.���Zr�2\����������������������������������������������Z���#B���)�$��sA�#����������� ��s�� �#��������6����ZTP�������P���P�

�� � ������"������ �� ����� �)����� 1+� ��+� #�#�"/��'� ������ �� �)1��� �� #�-� �� ��#>����M�

�%������%���#�P������1����%���������J���'�O���L�'��������'�G ����#�'��� ���'��� �'��������'��%'��%!�)���P���O����!��n%���#��Y�#����S!������"��T�������!�)�"��#����n���#�M�!���������P�������!�)�"��#�5" n���.�M�!���������P�������!�)�"��#�5� n�"��#�M�!� �������P���������%���#�M�!�����" #�P�������!�)%���#�M�!!�)��P�������!�)�"��#�M�!!�)��P����������"��#�M�!�����" #�P�������!�)%���#���-M�!!�)��P�������!�)����� M�!!�)��P�������!�)����� ��-M�!!�)��P�������������� M�!�����" #�P�������!�)%���#����n���#�M�!���������P�������!�)%���#�5� n���#�M�!� �������P�������!�)%���#�!��n���#�M�!� �������P�������!�)%���#���n����M�!%��)�����P�������!�)%���#����n����M�!� �������P�������@ ������ M�!@"� �P�������@ ������ ��R(��(�n�&��(M�!���������P������������%����n%���#�� ���S���� M�!()1�#TP������������%����n%���#���� ��S���� M�!()1�#TP������������%��!�)%���#�5�L4�#� �S�����M�!�����TP������������%��!�)%���#�%�-� �0��S�����M�!�����TP������������%��!�)%���#��-� 0��S�����M�!�����TP������������%��!�)%���#�5� n���#�=������S���� M�!�����TP������������%��!�)%���#����n����=������S���� M�!�����TP�����������������6���������%���������7�����%�����������6��(��%��%���������7���P����������n%���#�M�!��n%���#�P��

Page 86: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� -T

� �� ���������68 9��5"7��%�������-%���#�'��6����������J��%�7�����-��"P����6"�������%����7������%��!��n%���#����n%���#�� ���S���� M�!()1�#TP�����������1��n��"��%���#��&��@A)�����������������n��"��%���#���� ! ���#��P�����!�)����� �(��P�����!�)����� ��-�(��P�����!�)�"��#��(��P�����!�)%���#��(��P�����!�)%���#���-�(��P���P�������%��!��n%���#����n%���#���� ��S���� M�!()1�#TP����������!�)%���#�������P�����!�)%���#���-������P�����!�)�"��#�������P�����!�)����� ������P�����!�)����� ��-������P������1��n��"��%���#��&��@A)����������������n��"��%���#���� �P���P�������%��!��n%���#��!�)%���#�5�L4�#� �S�����M�!�����TP�����������n%���#��3��5(�n�&��(�����#"�P���P�������%��!��n%���#��!�)%���#�%�-� �0��S�����M�!�����TP�����������1���%���#������Y���&�� ���������������������@ ������ ��#����MY������P��������@ ������ ��#����MY�! "�P��������N����@ ������ �������W2X���������������1�&�5"�������������������!�)%���#��(�n�&��(�=��"��MY����������������������������!�)%���#��(�n�&��(�=��"��MY���&��� �\��P�������P���P�������%��!��n%���#��!�)%���#��-� 0��S�����M�!�����TP�����������1��n��"��%���#��&��@A)���������������������������n��"��%���#���� �P����������n��"��%���#���� ! ���#��P�������P�

Page 87: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� -(

��P�������%��!��n%���#��!�)%���#�5� n���#�=������S���� M�!�����TP���������1���%���#��������W��3��'���&�� X����������1�!�)%���#���-����m��SW!�)%���#�5(�n�&��(XT�����������������������n%���#��3��5(�n�&��(�����#"�P��������������3.#������ ���SZ5� ���������"���#���Zr�2\����������������������������������������������Z���#B���)�$��sA�#�����s�� �#��������6����ZTP�������P���P�������%��!��n%���#��!�)%���#����n����=������S���� M�!�����TP�����������1���%���#���������W��3��'���&�� X������������1�����S!�)����� ��-����m��SW!�)%���#��&Gn��!3GXTT���������������������������n%���#��3���&Gn��!3G�����#"�P����������������3.#������ ���SZ���������#���� ���$���.���Zr�2\�����������������������������������������������Z���#B���)�$��sA�#����������� ��s�� �#��������6����ZTP�������P���P������

�60������K��6��� ��

=� ������ ������ � ���1�����# ����'�#� ��1+�-������'���"�"�� �" ���� $�����1�����,"���#����#� �� �����'� �����#I����� +'� -"" � ��'� � )K ��#� � +�����"�� >� ������ $�'��$�� �� ��� ��� ��� �*8��'� ���'� �� ) ����'� K� � �#���� ���� � �� #� � ���� � ��� ��� ��#��/"��� �� �� � �� �� ����"������ # ����� ����� � � �������� ����� �� �-�#�*$�� �� � � ��'� �� ���� �-�#� �" ��)1������� � ���� �"�� �#�������#����������*8����������Z�5O���S����U��

������#� � �" �� ����#�+"�"���W����-� ����,"����"������1�������$���.����� ����)1���L�������$�� -����#� ���'��$���������,"��,"� �������#�� �����)1����� � ����� �� �� � �� �������.� � �� ��L������� �� ������ �� -� "�+ ��� #� � �� � �� ��� 1������'� �������� ����� �-�#� ���"���������������,"�����������$������ +�� �)�� ����

+��� ���������)1���L������� �� �� ��� � � ��#�+"�"���%��� ������)��.������� ��������#� ����*$���� �M�

68 9��5"7��%���������%���#�P��6 ����L�%��������"�����7

Page 88: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� --

��� ��0 ������ �����

=� �������� ��� �������� �*8���#� ��)1���5G����%���(���)1�������1���������#� � ���� �)"/����� � I���)1��������'���� � �� ��S�����1T��"� ������)1�����!���#����'������"���S������T��"� ��������)���������#� �������� ,"����%��&�(������ #�� ��S�����MT��"� ������)1�����>���1,"��#� ��� +���� ,"�����J�&����

•� ��� ����� �� �����������������)1��������M'��� ����.����

•� �" �����1�������� ����,"����������#� ��������)1��� �� ����� �*� ��

+�����,"������)1������(��N������#�5'4G&�&����� ���������" ���#� �����

+�������� ��� "��� � " ������� �� �� � �� ��������%��5������ �� �)1����%������@� �� ��$�%���������� �����'�����-� +�#� �,"����)� ����� ����� ��� �#��������� �*���

� ��� " � ,"� �� �)1��������� � �� �� #���#� � ��� )�8��'� #�-� �� ��� �� "*8��� ���#��/"����� �� '��� ��-�#���� ��� �)�����#�� �����)1���5G���#'�� ��K��������)�%�"����#��'�#��,"����) �����)1��������M���� ����������*�#�� ����� ������)1���5�������� ����������*<'�# ���" �� #�� ��)�$������� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

������ p�6��#��� A�)�������)1���

��� ��������� �-'�5� ��'�<'�0 ��� !��������� ������ � �� �������)1���

G����� W�� �> ��������Xk&��G3�k%J!!(5�k���4&=3�%�0�

& ��� ����� � �� �������)1���

?����� 7�� ��" ������)1���

?�� ����� ���� �"�*$������ 6��#��� �1"����������� �����)1�������#/-�#��

5� �� %"�"��#�� 5� ������)1���

���L?�� ! "�� ��� � ���#��6������� �� ��������������)���-� �����" ��#��.������1"���������

O���� <�� !� ��������)1���

•� 4�� ��������� I��)�8������)1��������N�

'��!�� ������� �������, �����

•� 3.#�"������)���S�)1���0�(��1T�����#� ���S�)1���.���'�G���'T�,"��-��� �-� I#�������(�n�&��(��

•� ����-�,"����-�������#� ��������)����#�-� �����# �����#��/"����� �� ��

•� ��� ������ �� ��������������������0�(������ �M�Cd.� DD'�Cd$���DD'�C���d�����DD���Cd����DD� ����#��� ����

•� ��� ����� �� ��������%��5�4�����0�(������ ��$�%�

•� ����-�,"�� �� � �� �������5������ ����)1��� ���#�5'4G&�&� �� �� ��%'� ���� -� +� #� �,"����� ��� ����#����-�,"���� � ������#� ���#� ���� ��������)1����

Page 89: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� -�

��� ��0 ������ �����

=� ���� ����� �#�����)1����������� ��� ��M�

������������

•� ����-�,"�����)1�����!���#�����#�-� �����# �����#��/"����� �� ��

•� 0� �� �� � �� �������0����'� ��# ���� ��� ��� �� �"./���� �� �� #���� )�$�� �"'� #�� �� ��-� "�+ ���5G���#� �� #����� ��� ���# �*8��� ��� � �� �������0����� #� ����*� �� #�� ����� ������)1����%5������ ������������*<��� ������ �� ��������

•� ����-�,"�� � )K � �� �)1��� �����1� #�-� �� ���# ��� �� #��/"��� �� �� � �� ��� �� ��� �� ����������������� ����f����

���������� �

•� ��� ������ �� ��������0�������M������� ��7�;�����)1������#�5'4G&�&��

•� � ���" ������)1���0�(�������� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

������ p�6��#��M� A�)�������)1���

��� ��������� �-'�5�� ��'�<'�������� !��������� ������ � �� �������)1���

��#"��� ��� �%G ���� �� �������-�#��

•� �" ��� �� �)1��������� ��� -� �� �� #�)� � ��� �" ��� �)1���'� � ������ ��� �)1���� ������"���-� �M�5� �'�!���'������ ������6��#��'���������#���,"����-�������.��������*�����" �#� ���� ������� ������6��#����

•� 4� ���� �� �)1��� .���4��G���'� �� � � ��"� �"�� � # ��� �� �)1��� ����(���@� '��#� ���� �� �������� �������� �+���� ���� �������'� �� ��� �� ��� ���"����� �� �������M�

0 �� ������� =��� � ���# �*$��

�����" #�� ��n%���#����%���#�� �����" #����#"�����

��������� !&0n�&��(� �� �������)����

��� ��������� �-'�5� ��'�<'���"���� ���� !��������� ������ � �� �������)1���

?�� ����#���������� �1"����������� �����)1�������#/-�#��

&� �� ���P����P����P������� &���,"����� �#� $��#� ����*8�������(�%(�%(R'�#���,"��" �� �#����������

5� �� �� )�!&0n�&��(� 5� ������)1���

���L?�� ! "�� ��� � ���#��6������� �� ��������������)���-� �����" ��#��.������1"���������

•� 5�� �)1��� 0�(��M� �#���,"�� �� � �� ������� ��%��������� ������� �� �� �� �)1�����(�4��G���'���

����������!�

Page 90: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� �*

•� �� ,"�����)1����%G ��������� ������ �� ���������������� ����!�����������5�O���� ��(����#��'� � ������� ���*E� � ,"�� �� �)1��� 5�������S� �� � ������� ���*<'� �#� �� ���)1�����-� ��,"������#��)���)��.������)1���0�(��1�S�6��#��MT���

•� 3�� ������)1��������M'�#��,"����) ��������� ������������

'��!�� ��� �3 ��� �

•� ��� �� ��� � �� �������� �����6����'� �����5�O�� �� ��������� #�-� �� ���# ��� ��#��/"����� �� ��

•� �"������ �� ����������������� ������������

•� ��� �� �� � �� ������� ������ ��� �)1��� ���� � �� �� �������� �� �#� �� ��� ����*8��� ��-� "�+ ����

•� ��������-� "�+ �������������� �1����

•� 5�� ����*�� ���.���� � �� ��� ��)���� �������� ��� ���6��#�'� # ��� �� �)1�����4�@�� '��#� �����������������������+���������������'�,"���� �� +��� �� �� � ���� �����#���� �������#�����'���� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

�����" #�� ��n%���#��������� � �����" #����#"�����

��������� �3�n��!3G� �� �������)����

��� ��������� �-'�5� ��'�<'�������� !��������� ������ � �� �������)1���

•� � ��� ��� �� I�� �)1���� ����������� '� �#� ���� �� �������� �������� �+����&���������M�

�������������5���%����!M�0���#����������)��.�������)���������

0 �� ������� =��� � ���# �*$��

G����� W�� �> ��������Xk&��G3�k%J!!(5�k�5&��!5�%�0�

& ��� ����� � �� �������)1���

?����� 7�� ��" ������)1���

?�� �>����� ��� ����+ ������ �-� I#���

�1"����������� �����)1�������#/-�#��

5� �� %"0���� 5� ������)1���

���L?�� ! "�� ��� � ���#��6������� �� ��������������)���-� �����" ��#��.������1"���������

O���� 7�� !� ��������)1���

�������������5���%���� M�0���#����������)��.������)1���.���'�G&4.>�

0 �� ������� =��� � ���# �*$��

G����� W�� �> ��������Xk&��G3�k%J!!(5�kA�5!345��%�0�S��1����#�T�

& ��� ����� � �� �������)1���

?����� 7�� ��" ������)1���

?�� 0��,"������� �����#���� ��� �1"����������� �����)1�������#/-�#��

Page 91: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� �!

5� �� %"A�#����� 5� ������)1���

���L?�� ! "�� ��� � ���#��6������� �� ��������������)���-� �����" ��#��.������1"���������

O���� 7�� !� ��������)1���

�������������5���%����"M�0���#������������������)1������0�%���#�

0 �� ������� =��� � ���# �*$��

G����� W�� �> ��������Xk&��G3�k%J!!(5�k�4��&A37�%�0�

& ��� ����� � �� �������)1���

?����� 7�� ��" ������)1���

?�� &�� �� ���� �����)�������#���� ���

�1"����������� �����)1�������#/-�#��

5� �� %"&������ 5� ������)1���

���L?�� ! "�� ��� � ���#��6������� �� ��������������)���-� �����" ��#��.������1"���������

O���� 7�� !� ��������)1���

+� �� -"*$�� ��� #���� )�$�� ��+� �.���#���� �� � �� ������� ���'� �� �� ��� �)1�������0�%���#������������#�� � �������� ����� �����-� "�+ ����1+�#�� "/������ �� ����

+�0 ������ �����#I�$��� +��#� � ���� ,"����A�5!345��%�0�����#������� �������"���)�$�'�� � ������# �+���M�

��� ������ �� -� "�+ ��� �� -�#��� �� � �1��'� ��#������ S���� �> ��� �� ��� ������� �T� �� �) �� ��� �1���W�� �> ��������Xk�3�(�k�%k���!�00k���!�00��04�

7�� � ��K��������)�%�"���#����) ����-� "�+ �������% ��#��

9�� A�#���������)1�������% ���������#��,"�� ���� �� �������R�O����

:�� 3�#����� �� )�$�� 5��@@@� �� �������� �� �� �> ��� �� � �� � ������SW�� �> ��������Xk&��G3�k%J!!(5�k���A�5!345��%�0T��

��� 4�� ����������� �1������#� ����,"���,"� ��������� ������� ������!�00��04��

-� � �& �������4��7��

���� ������ �����" ��)1�������#������G ��'�����#������ ��� �" ������)1�������������#�1"��������� ���� ����� +�#����-+#������"�� '�,"� �$������� ) ��������������������-"*$����/���B�C'�,"� �$��"�����"���"�� �#" ������ �� �� � � ���� ����"� ������ �#��"����#� �-�� �������#������(��)1���>����K���C��D�������)1���#� ����"�� �#" ���� ������ ���-�#����'��������$�� I������)1����>���+�M�

��� �����#>��� � ���� ��������"������>���� �����"���������� �'���� -� ���� ���-�#���'�����#�� ������#����" ��� ����#�������������#��"��'��#� �����������������������+����&�����������

Page 92: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� �

7�� ����>��� � �� �� ����� ��� "������ >���� ,"�� �� ��� �� � � " ���� "" �� ��� ������ �.������ �� -� ��� ��� ������ �� #��"��'� �#� ���� �������������������+����&�����������

9�� ��>��� � �� �� ����� ��� "������ ��>����� ,"�� �� � � ������ ��� " ������� �� �� " � #� ����� �� -� ��� ��� ������ �� #��"��'� �#� ���� �������������������+�����������������

0� ��,"�����"� ����� ���-��� �����)1�����>���'� ����� ������� � �����-��� ������" ��'������)1�����>����K���#"����'���������" #�'��� �����������"����� �� ��������S ����� �� ���'����" ��������$�� �#������TM�

�������" #�M�5� ������)1��������" #����#"����P�����M�!��������� ������ � �� ������#��6�������)1��P���(����M��K ��������*8������#� ����S�������*$��4����-� �����#�����TM�♦� ��/������M��� ��������*$�������*$�����������P�♦� ����N�O�5��N/�����M� (� � ��� � �� �"� ��#� ��� � � ���� ��� ���*$�'� $��������� �� �#��������� ��� � ������ � /���� �"� � S������� ,"�� �� � �� ���������/�������;�$�%TP�

♦� ��$����M�=��)��������"������/"������#����#� ��P�♦� ��6��������M�?�)����������� ��������#�*$�����#��"�P�♦� �����% ����4M���#��"��������� � ��� �������P�♦� �����2���M�?�)����������� �*$������#��"��P�♦� ����N2���M�?�)����������� �*$�����������P�♦� ��$���M�J������ ������ ��������#����4�(���� ��*4�(��� ����� ��� ��� ������#��"��P�

♦� ����N5���M�����#���'�#� �" ��� 1����"�'���������#��"������" ������P�♦� ����N�N�5��N5������M� ��� #K�"���� ��� #���� �$�� �� ����� #���� �������#������'� �� ��,"������$����������-�#���

♦� �����1�� ���M�J�������#�������*���'��� ���.#�"� ������P�♦� ���������/S��M����,"��,"� ��#�"�$������� ���������-� ��������/������ ����� ��� ������*$�� ���� �����'� �� �#�"�$�� K� #�#������� 0 ����� �� �#�"�$�� ��� ���� �����+�������"�� �) �#���

��$������M�!��������� ������ � �� �������/"��������)1����

+�(��#� �������)1�����>�����$�����#���������#� �������� ��K�����5�����.������

(� ����� �)1��� #���� �� � +� ������ ��� 6��#��� ��� #���� ��'� �� �� ��� ��� �� ������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

��� ��������� �-'�5�� ��'�<'�������� !��������� ������ � �� �������)1���

?�� �6��#����������� �1"����������� �����)1�������#/-�#��

(����� W��!����'���&��#�� '������A���'���4�LA���'���4�L����#'�����L������L����#��X�

(�*8������#� ����

���L?�� ! "�� ��� � ���#��6������� �� ��������������)���-� �����" ��#��.������1"���������

Page 93: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� �"

+�5$�������#�������"�� ������)1����� �� ������ ���� �*8���� �)��������������S����� ���� ���� �� � ����/���T� K� ���� � +�#�� "����� � " �� 1����� ���� ���� �� �� ������ � ���� �)����'� �����K����-�#� $�� ����)� �� ������'����#����-� "�+ ���#� ��� �" ��6�#��� ����� ��)�������#���������

•� ��� ��#I� ��+� ���� �� ����� #� � ���� "��'� $�� ��� ������� �'� �� ���� ��� #� �� �� ���-� "�+ ������ ���� ����$��-�������M��

%�� ������8� ������ � ����

��� ��-������������#>����'������� �������-� "�+ ����������6 � �����#� �����1+��+��� ������ ���,"��� �#��� ���� �� � � ������������������#>����'������f��� ��� � �)�����1+�-���-���'��)�� ��M�

•� � �����������"���������� �#�� ����-� "�+ ��M�

��� ���,"����)�$�� �S4�##��5����:���T������������'��K���#I���� � ��� �������.�������

����%���������������%����#��P�� � � ∫�� �������#�� ������ ��" �� �#��� ����6)��#�����E���������n%���#�M�!�n%���#�P��� �� ���������68 9��5"7

Page 94: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� �&

�������%��!�n%���#��&�#��P�� � � � ∫�� ������/#������� �#��� ��������������n%���#��MY�!��n%���#��� ���S�����#���TP�� ∫�� ���������"�����������# ����" �� �MY�# ��-�"�P� � � � ∫�������#" �� �-�#� ���-� �����������������L�����P� � � � � � ∫���� ����-� "�+ ���L���������E�

•� �>������� ����� �� �������"�����'� )���#� ���K��� �� �� �)����� ���������#� ����)1���L������M���� 5���)1���5G����%�'��I�" ��"����#��#B���) ���������������M�

�����%��!�n%���#���� �����S���� M�!()1�#P��� ��#��M�!������#��TP�����������1��n��"�� ��#�3��#��S��n%���#����%���#�'�Z��Z'�Z��#�� ZT��������∫�A� ) ������"*$��� �������������������#���MY�#�5��P� � � � � ∫���#��������/������1�������������3.�P� � � � � � ∫��������� �#��" ��������E������# ����" �� �MY�# ?�" G����P� � � � ∫�������#" �� ��� � �" ��� �"�����������n%���#��� ��P� � � � � ∫�3�� ���������"��������E�

+� A� ) ����� ,"�� �� -"*$���������/������ -��� �� �� ��� J�� 1��%'� �$�� K� � �#������#�� � �����"������#� ���#� ����W5/5�S�)��.������� ��������#� ����*$�TM�

68 9��5"7�%���������%���#�'��6 ����L�%��������"�����7�����-��"P��������6"�������%�������������7� ∫�����#������ ����"�������"*$��� ��#�3��#���+� 4��� �� ,"�� �� �/#��� ����� W���� �.���� " �� ��#�� �*$�� W��'� ��>�� �� #� ����

����1���� 3$�� �� � ,"�� $�� #���#� � ����� ������ ��#�� �*8��� � � " � �"�� � �>F� ��(� ���� ��#� ��� +� S#���#���� �"� � �����T� ����� J��� ���� #���#����� S��������� ���� �)1����"��������T���7�!��������#� �������#�� ��������������#�� �*$��� �� ��������S#� ��.#�*$��������������# ��*$���3.�M�������T'��� $���.�#"����������������%����� -�#� $��� � � > ������� ������ � �#�� ����'��$��K�� � ��#+����#���#� �%�����,"���>��� $��"���������� �� �������.�#"*$���

����$�� �

•� �>����� �� �� ���,"��� � ��� ���� ��� ���� �)����'� )���#� ��� "����� � ��� �� �� �� �)����� ���������#� ����)1���L����M����� �I�" ��"����#��#B���)����)1������0�%���$��M�

�����%��!�n%���#��%"A�#����� ���#BS���� M�!()1�#TP�������()10��,"���M�� ��P�����������1��n��"�� ��#�3��#��S��n%���#����%���#�'�Z��Z'�ZA�#����� ZT��������∫�A� ) ������"*$��� �

Page 95: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� �#

�������3.�P������()10��,"����MY�!�)%���#�5(�n�&��(�=��"�P�������1�&�"@"� �SZ0��,"���Z'Z3 ��#� ���� ��������S�"��� �T�Z'�()10��,"���T������������!�)%���#�����5�� ��SW()10��,"���XTP���P�

+� A� ) ����� ,"�� �� -"*$�� 6��%�]%�O� -��� �� �� ��� J�� �������'� �$�� K� � �#������#�� � �����"������#� ���#� ����W5/5�S�)��.������� ��������#� ����*$�TM�

68 9��5"7

�%���������%���#�'��6 ����L�%��������"�����7�����-��"'��������6"�������%�������������7������������P������6>��������"����#���7 � ∫�����#������ ����"�������"*$��&�"@"� ��+� ����� ���� -��� "�������� �� #� ���� ���.����'� ���� #� ���� #��"��� �� � �� ��

��#�������#>������#� ����" �#>�������"����"� ��� �,"�������,"�����'�$��K�� �#�������"�"+ ����� ) � ���� ��#� �����#� ����#� �������VO��������M���#� �������.�����$�� �� � +�" ���� �+����������� S! "���"�������#� �� ��"�����������,"���T� �$��$�� ��� -������#������������# /�#�����) ���� �� ����������.#�*$�������#� ���-� �����" K �#���"����������$��"����������#� ����� �#�1"��#� ���#� ����$�O��=�1����� >.� ��#��/"���#� ���

•� (�#>������� ����)�$��,"����#����� +�" � ���� �����)�������#���� ����� +� �������� >.� ��#��/"����

•� 0� �� ��� � ������ ���� ����� �)�������#���� ���"����� � ����� -� "�+ ���#�� "/����� �� ��'���6�#����-� �*��K�,"��������������� ������ �� � ����������*$�M���� �I�" ��"����#��#B���) �����)1������������#M�

�����%��!�n%���#��%"&��������#BS���� M�!()1�#TP�����������1�����S��%���#���������W��3��'���&�� XT����� � ∫����$������� �� �������������*����"�� ����������� � � � � � �����#�"�$�������������������SZ=�#I�$����+��� ����������*$�fZ'� ∫�3���� ����� ����� ����������������������������� &-� ���'�W )(mX'�2TP���������.�P��������������# ����" �� �MY�# ?�" G����P� � � ∫�������#" �� ��� � �" ��� �"����������1��n��"��%���#��&��@A)������������������n��"��%���#���� �P� � � ∫�G ��� ��������� �*8�����)�#���������������N����!�n������ ���S���-T���� � � ∫�� �����-� "�+ �����+ ������ � > �������������������&�#��P�� � � � � ∫���� ����-� "�+ ����������� ��P� � � � � ∫�3�� �����-� "�+ ������ � > ���������P�������1��n��"��%���#��&��@A)��������� � ∫������)�������������K���� $���@A��������n��"��%���#���� ! ���#��P� � ∫�&�#����� ������� ���*8��������# ����" �� �MY�# ��-�"�P� � � ∫�������#" �� �-�#� ���-� ������������P�

Page 96: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� �T

+�5$����,"�*�������#�� � ���W���������-� "�+ ��M�68 9��5"7

�%���������%���#�'����6 ����L�%��������"�����7����-��"'����������6"�������%�������������7�����������'��������6>��������"����#���7����-����P����������6������������#�����7

-� � �& ������� �)�� ���-� ��!��9��� �

5�� ��� �����������#�������� ��O���L��K�#� "��#� � ������#� �����4�#� � '������ ������� '���-� �����%�:���O:����'�����K� ���������"����������+ ������ ��-� I#������O���L�M�

�$�� I�����#� �����,"��-��� ��� �)�������+ ������ ��-� I#��M��

��()1����%�$����������'��������#��6�������)1����� ��+ ������ ��-� I#��P�����()1������O$����������'�-���" ��#>�������#��6�������)1�����+ ������ ��-� I#�������()1��������� ���������'� ����� ����#��6�������)1������+ ������ ��-� I#��P�

•� 0 >.� �������'���#>������� ����)�$��,"���� �� +� ��� �" ��� ��� �� ���������+ ������ ��-� I#������O���L��S������#� ���"���+ ���0��% "��'��� ��.� ���T��� ����#� ���������M���� �I�" ��"����#��#B���) �����)1�����������M�

�����%��!�n%���#��%"0������#BS���� M�!()1�#TP����������& ����(!n��0��0���� � ����)�� �P���E�

:����0 ����������������"� ����

J � ��"�� " �� ���� �� �"�� �"� " �� �" �� ��� �� ��� #���#� � �� -��" �'� ��� ��K�� ��� ���"����� � ��� + ��� ��� ��-� I#��'� ���� /� ��� #�� � � �� � ,"���� S�%�0T� �� �� ��'� ���� K�

���������#� ���"������" ��)1��'��������# '� �#� �����������������������+���������#'�#���,"������-� "�+ �������� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

���� � � ,"�����)� ��eo�%�0� ����#���������������� ,"����,"���� $���)� ���

5� �� �) �% �� 5� �����()1���

•� 0 >.� �������'���#>������� ����)�$��,"���� �� +� ��� �" ��� ��� �� �� ,"�����%�0��� ����#� ���������M���� �I�" ��"����#��#B���) �����)1�����������M�

�����%��!�n%���#��%"0������#BS���� M�!()1�#TP���������61��) �% ��3.�#"������ � � � � ∫�=� �-�#�����-���#��#����� �(m�������& �����n� �� ��0�#" ��A���� � ����S��) �% ������5� ��TP� ∫��� ������� ,"����

Page 97: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� �(

��E�

+�3�#������� ��� ��,"�� ���������� �����

+�(" ���)1����� ������K����)1���5��������'���1���" ���"�����*8�����) �����������Y������

��� �����!���$�)����� � ���� ����� ������� ��

��� "� � ��� �� -� "�+ ��� �� �� #���� � � ��� 6��#��'� # ��� �� -� "�+ ��� #� � )���� ��-� "�+ ���# ������� �����)�������#���� �����-�*��������"������� �*8��M�

����� ����� �� ��������� ����-� "�+ ����� ��L�W56����

����� ��������"�����������������# ��� ����" ��)1���44�(��'��� ��-��� ������# /�#������� 6��#����"���#���������� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

���)���5� �� %������#�� 5� �����%�#������������"�����#�����*$������� �> ��������)�����

!�)��5� �� �J�&��� 5� ���.� ������)����

5� �� !�)�"��#���-� 5� ������)1���

&��.�����5� ��� ���n���#�P5" n���.�� 5� �����#� ������.����

4���(��� ! "�� �� ������" ��

+�5$����,"�*�������� � ���� �� � ���������"�������� ���) � ���-�#�� ��������)������#���,"����# /�#���� �����)������� 6��#�'��������Q�����������)1���$���%����.% L��S�M�

�����%��!��n%���#��!�)�"��#�5" n���.�=������S���� M�!�����TP�����������1����"��#���������W��3��'���&�� X����� � � ������������������!�)�"��#���-�3��m��P���������!�)�"��#���-������%�5� �SZ�(�n�&��(ZT��������MY�!�)�"��#����n���#��=��"�P���������!�)�"��#���-������%�5� �SZ5J�n��&R�ZT��������MY�!�)�"��#�5" n���.��=��"�P����������1�!�)�"��#���-�G��m����������������������������������n�"��#��3��5" n���.������#"�P������������������3.#������ ���SZ���.���������"���#���ZTP�����������P�������P���P�

+�4��� ����"������#� ����R���VO������K�����#� �������VOA�����-���"���������� ���� �� ����" ��#�����#� ������

+�����,"�� � )K ���# /�#���� ���� �)������� 6��#�'��������.N����������)1���$���%����M�

�����%��!��n%���#��!�)�"��#�5�L4�#� �S�����M�!�����TP������

Page 98: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� �-

�����n�"��#��3��5J�n��&R������#"�P���P�

+�J ��6�� ��# /�#���� +��� ��#�-� � ��������� �*8����� ����)�����@A'�� ���������� ������#������������+����.�����'��I�" ��"����#��#B���) ����������1������M�

������%��!��n%���#��!�)�"��#��-� 0��S�����M�!�����TP�����������1��n��"��%���#��&��@A)��������� � ∫������)�������������K���� $���@A�������������������n��"��%���#���� �P� � � ∫�G ������������ �*8�������)�������������n��"��%���#���� ! ���#��P� � ∫�4���#����� ������� ���*8���������E���E�

�����.����������)�$����#�� P���4� ������A�)��������%3������#� ����(�n�&��(P������"������ �� ������������������/���� ������������

•� ()�� �����#� �� ��#� �������������-� "�+ ����)��.�M�

•� ��� ����#��� ��'���#�+"�"���"������ ������������'�� ����"������� �� ������������������#� ����������%5������ ��� ����L������@�5�%������

•� ��� �� � �*$�����-� "�+ ���K�)���#� ����� �� ���� ������)����'��$�������K������� �� � � ��� �� ����*�� -������ "��� ��� ���'� �)�� ��� �� #>����� #� ����� �� ��� ,"�� ��6�#�� "��*�� ��+� � � � ���� � �� �� ,"�� �� -� "�+ ��� $�� ��1�� -�#����� � � � ��� ������*$���"���� *$����#� ������������#" �� M�

%����-�"��#�P������1����%��������J���'�O���L�'���������'��������'�G ����#�'��� ���'������ ��'��� �'��%� ��'��%'�%"��'����B'�3.� ��P���O����!�n�"��#��Y�#����S!�� T�������# ���%�.M�!�# ���%�.P�

Page 99: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� ��

�����A�)��7M�!A�)��P������3��5" n���.�M�!�%3��P������A�)��9M�!A�)��P������3��5� n�"��#�M�!�%3��P������A�)��:M�!A�)��P������3��5� n�"� M�!�%3��P������A�)���M�!A�)��P������3��! �n�"��#�M�!�%3��P�������%5������ M�!�%5������ P������0����M�!0���P������0���7M�!0���P������0���9M�!0���P������%"��#�� M�!%�%P�����������%���� ���LS���� M�!()1�#TP����������������%���� �����S���� M�!()1�#P������#��M�!������#��TP���������������6���������%���������7���%����������6��(��%��%���������7����P����������n�"��#�M�!�n�"��#�P��� �� ���������68 9��5"7

�%�������%���#�P����6 ����L�%��������"�����7������%��!�n�"��#���� ���LS���� M�!()1�#TP� ������ � � � � � � ∫�3������5��N�����)1���L�%��������# ����" �� �MY�# ��-�"�P���P�������%��!�n�"��#���� �����S���� M�!()1�#P������#��M�!������#��TP������ � � � � � � ∫�3���������������)1���L�%����������1��n��"�� ��#�3��#��S��n%���#�����"��#�'�Z�6��#�Z'�Z-�#�� Z�T����������������������#���MY�#�5��P���������.�P�������P������# ����" �� �MY�# ?�" G����P���P������

+�5$��K�� �#�������� ��#"�� �#� ���� ���*$���� ����#� ����(�n�&��('������� +�-�����"� ��#� ������������ �'� ���������� ������ �-� �#�����

•� ��������-� "�+ ���#� ���� ���"���%���

Page 100: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !**

+�=� ������ ����� � ���)�$�����-� "�+ ���� �#����'��)1���(��"���%�'�,"���� +�"������� ��#�� � ��������"����

�����%��!�n%���#��%"�"��#����#BS���� M�!()1�#TP�����������1���n%���#����%���#���������W��3��'���&�� X��������������������������������SZ�����������*$���������������3��� ���� 6��#��fZ' &-� ���'�W )(BX'�2TP���������3.�P�������P������# ����" �� �MY�# ?�" G����P� � ������1��n��"��%���#��&��@A)��������� ���������n��"��%���#���� �P�����N����!�n�"��#��� ���S���-T���� ∫�� �� �����-� "�+ ���� � � > �����������������������L������� � � ∫���� � � ����,"��������-� "�+ ������������ ��P� � � � ∫�3�� �� ������� "�+ ���������P������1��n��"��%���#��&��@A)��������� ��������n��"��%���#���� ! ���#��P� ������# ����" �� �MY�# ��-�"�P� � ���P�

+�5$����,"�*��������#��� ���� �� �������%���68 9��5"7�%�������%���#�'� 6 ����L�%��������"�����7

��-��"'�� 6"�������%�������������7

���������'� 6>��������"����#���7

��-����'�� 6������������#�����7��-�"��#�P� 6���������"O��%��7

+� 5$�� ��,"�*�� � )K � ��� �� � � ��� �)1���� 5G"���%�� �� 5G����%�� ��� # ��*$���"� +�#�'���*$����� �"�� �#�����#��,"��� ���������Z�������@@@'�,"��,"� ��6�����#��"�����#��/"����� �� ��

��� ���������������������4��� ���

=� ��� # �� � ���� ���"�� � �#��� ���� ���)���'� �� �� �� ����� � � �� �� � �#��� ���������#�� ���������-� "�+ �����.� ���5G���#���5G"���%�M�

�# ����" �� �MY�# ?�" G����P��1��n��"��%���#��&��@A)�������������n��"��%���#���� �P����������1��n��"��%���#��&��@A)������������n��"��%���#���� ! ���#��P��# ����" �� �MY�# ��-�"�P�

Page 101: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !*!

(��#� ���������������� ���� ������ ����� �#��� ����%�6����������U����� ����� �#��� ����%��%��������U'�#�� ����-� "�+ ���L��%���# ��������"���� �#��� ��M�

���%���������������%��0 ��� �S!���M�)�����TP������� � � � � � ������∫���,"�������1%�������� ��#�3��#��S��( ��� M�!�����" #�P���@"�'������M�� ��T�M�)�����P�����P�������������������%��!�n��"�0 ��� �S!���M�)�����TP�����������1���������� � � � ∫����������� ������ �+��������� �#�)����-� ��� ����� ��������������������# ����" �� �MY�# ?�" G����P� ∫��������� � �� ���� �����������1��%���#��&��@A)���������������������%���#���� �P���������������� � � � � ∫����$�����������������1��%���#��&��@A)��������� � ∫�����������"����� �����������%���#���� ! ���#��P��������# ����" �� �MY�# ��-�"�P������P���P�

����-�,"����� ��� )������� �#��� ��������)1���L������M�

�����%��!�n%���#��%"&��������#BS���� M�!()1�#TP����������������������������n��"�0 ��� �S! "�TP�� � � ∫���,"������N����!�n������ ���S���-T��������������������&�#��P��������� ��P�������P�������n��"�0 ��� �S�����TP� � � ∫���,"����P�������%��!�n%���#��%"�"��#����#BS���� M�!()1�#TP����������������������������n��"�0 ��� �S! "�TP�� � � ∫���,"������N����!�n�"��#��� ���S���-T���������������������&�#��P���������� ��P�������P������!�)�"��#��4�- ���P������n��"�0 ��� �S�����TP� � � ∫���,"����P�

Page 102: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !*

J ����"���� �#��� ������)���������� �# ������� �-�#��������������1�����������������"������G���#� ���"G����%�� S���� ���"��� � � ����� �"�� ��TP� �)�� �� ��� �� �� ��� �#��� ��M�

�1��n��"��%���#��&��@A)�������������������n��"��%���#���� �P������n��"��%���#���� ! ���#��P���E�

� �� ����$�������"���� �#��� �����-� "�+ ���5G"���M�

���%���������������%��G ���%�#�� � � � � � � ∫���,"������������%��0 ��� �S!���M�)�����TP������� � � � � � ������1%�������� ��#�3��#��S��( ��� M�!�����" #�P���@"�'������M�� ��T�M�)�����P�����P�������������������%��!�n��"�G ���%�#�P����������1��%���#��&��@A)��������� ∫��3 )"� � ������#� ������" ����,"������������������%���#���� �P���������%���#���� ! ���#��P������E���E�

��� ���")��"������������������������"������G���#����"G����%�P���������"���#�� �������� �#��� ���

����������n��"�G ���%�#�P���P�

+�4��� �� � )K �,"�� -��� �� ���� ���� -"*8���,"�� -�#� � ��� -� "�+ ����n��"���� �-� I#���� ��� )���� ��� ������ ��� -� "�+ ��� S� � � L��%@�������� �� -�#�"� �� ���� ����������T��

�60���������1�7����5�9����A��16M� �

��� ��-��� ����� ��� ��� ������-� "�+ ��'��� ������ �#��� ���#�� +����� ��K����� �"�� �#������� �����M�

��� ��� �� ��� ��� �� -� "�+ ���L��%M� �� �"� � �#����� ��#�����Q�N� ���������������'� � ,"�����)1�����#��,"����) ����)�$��Q�N�1�� ���

7�� ���,"��� ���P%���'���������'�#���,"�������"���#>����M������%��!�n��"������ �����#BS���� M�!()1�#TP�����������# ����" �� �MY�# ?�" G����P� � � ∫�! ��-� ����#" �� �� �" ��� �"�����

Page 103: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !*"

�����n%���#��MY�!�n�%���#��� ���S�����#���TP� ∫�� �����-� "�+ ���� � � > ��������n�%���#��&�#��P� � � � ∫���� ����-� "�+ ���� ��K�����+ ����)� �������n�%���#��� ��P� � � � ∫�A�)� ����+ ����)� �������# ����" �� �MY�# ��-�"�P� � � ∫�! ��-� ����#" �� �� �" ��������P�

9�� (��)1���5G����%�-����� �����J��1��������$��K��#���+ ���-��� ���"��������J�'��� �������� �������"���#>�����S�)��.������� ��������#� ����*$�TM�

68 9��5"7

�%������-��) �'����6K���������(�������������7����-����'����6:����$��������%������������#�����7����-%���#�P��6:����$��������%����������+�7�

+� 5$�� ��,"�*�� ��� �� � � �� -� "�+ ��� 5G����%�� ��� ����� ��� -� "�+ ���� # �������"� ��#� ����

:�� �����������.����������������-� "�+ �������� �1����

��� 0��� ��� ��� �� ����� � �� ��� � �� -� "�+ ��� #� ����'� �� �� �#�"� � ���" ��� � �����"����������������� ����O���L�'��"��" ��"���+ ���,"��,"� ��

;�� ������" ��#�������"�� ���'� ��������#��/"��'��"��$��#�-� ��������#>����M�%����-%���#�P������1����%��������J���'�O���L�'���������'��������'�G ����#�'��� ���'������ ��'��� �'��%� ��'��%'��%G ���'�%"��'�G ���'����B'�3.� ��P���O����!�n%���#��Y�#����S!�� T�������# ���%�.M�!�# ���%�.P������A�)��7M�!A�)��P������3��5� n���#�M�!�%3��P������A�)��9M�!A�)��P������A�)��:M�!A�)��P������& �����n����M�!�%& ���P������A�)���M�!A�)��P������3�����n����M�!�%3��P�������%5������ M�!�%5������ P������0����M�!0���P������0���7M�!0���P������0���:M�!0���P������%"��#�� M�!%�%P������%"A�#����� M�!%�%P������%"�"��#�M�!%�%P������A�)���M�!A�)��P�������� )�!&0n�&��(M�!�%�� )�%�.P�������%G ���M�!�%G ��P�������%!�.�M�!�%!�.P������%"A�#����M�!�����%"�P�

Page 104: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !*&

�����%"&�����M�!�����%"�P������%"0���M�!�����%"�P�6�) �% �M�!(��������P����������%L�����$����()���'��������#7�����������%���� �����S���� M�!()1�#P������#��M�!������#��TP�����������%��%"A�#����� ���#BS���� M�!()1�#TP�����������%��%"&��������#BS���� M�!()1�#TP�����������%��%"0������#BS���� M�!()1�#TP�����������%��%"�"��#����#BS���� M�!()1�#TP��������������6���������%���������7���%��������������%����#��P�����P���������n%���#�M�!�n%���#�P��� �� ���������68 9��5"7��%��������%���#�'� 6 ����L�%��������"�����7����-��"'����� 6"�������%�������������7

����������'��� 6>��������"����#���7���-����'���� 6������������#�����7

���-�"��#�P��� 6���������"O��%��7

������%��!�n%���#��&�#��P������������n%���#��MY�!��n%���#��� ���S�����#���TP������# ����" �� �MY�# ��-�"�P��������L�����P���P�������%��!�n%���#���� �����S���� M�!()1�#P������#��M�!������#��TP�����������1��n��"�� ��#�3��#��S��n%���#����%���#�'�Z��Z'�Z��#�� ZT�����������������������#���MY�#�5��P���������3.�P�������P������# ����" �� �MY�# ?�" G����P�������n%���#��� ��P���P�������%��!�n%���#��%"A�#����� ���#BS���� M�!()1�#TP�������()10��,"���M�5�����P���������1��n��"�� ��#�3��#��S��n%���#����%���#�'�Z��Z'�ZA�#����� ZT����������3.�P����()10��,"����MY���n%���#��!�)%���#�5� n���#��=��"�P�����1�&�"@"� �SZ0��,"���Z'Z3 ��#� ���� ��������S�"��� �T�Z'�()10��,"���T�����

Page 105: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !*#

������n%���#��!�)%���#�����5�� ��SW()10��,"���XTP���P�������%��!�n%���#��%"&��������#BS���� M�!()1�#TP�����������1�����S��n%���#����%���#��������W��3��'���&�� XT��������������������������������SZ=�#I�$����+��� ����������*$�fZ' &-� ���'W )(mX'2TP����������.�P�������P�������n��"�0 ��� �S! "�TP�����N����!�n������ ���S���-T���������������������&�#��P���������� ��P�������P������n��"�0 ��� �S�����TP���P�������%��!�n%���#��%"0������#BS���� M�!()1�#TP����������& ����(!n��0��0���� � ����)�� �P���P��6'�����%L�����$����()���'��������#

�����%��!�n%���#��%"0������#BS���� M�!()1�#TP���������61��) �% ��3.�#"������������& �����n� �� ��0�#" ��A���� � ����S��) �% ������5� ��TP���E�7�������%��!�n%���#��%"�"��#����#BS���� M�!()1�#TP�����������1���n%���#����%���#���������W��3��'���&�� X�������������������������������SZ�����������*$���������������3��� ���� 6��#��fZ' &-� ���'�W )(BX'�2TP��������3.�P�������P�������n��"�0 ��� �S! "�TP�����N����!�n�"��#��� ���S���-T��������������������&�#��P��������� ��P�������P������n��"�0 ��� �S�����TP���P�������

�� ��������"���-"*8��'��� �� �� ������� �*$�M�

Page 106: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !*T

N����W ���� ���"��)1��X����W#� ����X���� ���" � K������� �-� I#����� �������������"��������

W�)���X����.������� �������" �����,"������ �.� �������)�����

Page 107: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

�2��

�78016�%���

-� � �& �����������$�� ��

!����" �� �1��������� ��� � �����)��.��#������"�"+ ���$��#������" �� ��� ���-�#������-�#������ ����#����� ���"�� ���� ����� �����'����#��"��������)��������� ��".���� ���"�"+ ������ �-�� ��� �� ) +���� ,"��� �� #>����� #� ��� �� �� ��� ����� #���� ��'� �� ��� #��"���� ������H������ � �� � +������ �� � +�#��'� ��$�'� -�#� ��� "��� ���� � +�#�� �� -+#��� ���,"��� � �"�� ���#������� ����� �#� � ���� ����� 6��#�����,"���#���� � �� #� �"��� ��� �� ������ � ���� �-���

�� ���5��160��7��09�6��

(������)�$�����2�����4��� S�)1����%�2�����4��T��� -� "�+ ���L����'� $��K�� �" ���"#��� ��+����#� ���"�"+ ��'���������#���������" �#>������� ����#����� �" ����� �����#���� ��'� ��� ����������"�"+ ���$�� �� ) � ������ #>����F����� �� ��I�#�� �#��#�� #� ��������)�$��������,"�������)1���L��������

-� � �& �������4��7��

(��)1�����R���� �� ������#��/"����� �� ��� �� +��� -��� ����� ��# �� ���" ��1�����,"���� ������"�"+ ���" ����#�����*$�� ���� +�������� +�#�����" ���� ����� ���� �'��� ������ �)����M�

•� &�#��� ������,"�� �� )�$�� � S5�L��� T� ����������'� �"� �� �"� � �#����� �����,"���� �"�� �#���������*$�������.N@@@'�� �!�������'����+����!����#��,"�����)1�����"�����5��������� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

%� �� ����� )�������� 3��������)� ������-� "�+ ���

������ 0��,"��������� ��� A�)�������)1���S!� 1����"�����-� "�+ ��T�

5� �� �n������� 5� ������)1���

0������ ���# ����� � 0���*$�����1�����S#� �������T�

•� � ����� ����������1�����" �� ���*$��#� �������"��������n�������#���#��������#�+"�"���W��'��)��.������� ��������#� ����*$�M�

68 9��5"7

�%�������������P��6 ����L�%��������"�����7

Page 108: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !*-

•� � ����� ����������1�����������"�����)1���M�

��.���������S�#� �������+���������������T'���� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

�����" #�� ��n�������������� � �����" #����#"�����S#����������*$��$�����1�������/�����) ��������"��������L�����T�

?��� J �� �#��������M�0 � �� �'��� �� '�0 >.� ����]�� ��

!>��#����� ���1"�������������)1�������#/-�#��

A�-� <� 0���*$������,"� ���

���L?�� ! "�� ��� � ���#��6������� �� ��������������)���-� �����" ��#��.������1"���������

=���)��%"��� W)�� �'�)0 �� '�)5�.'�)A��X� %�8������/�����

!��� <� ���V#����������

O���� ��9� A� �" ������)1���

��R����S�#� �������+���������������T'���� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

�����" #�� ��n�������������� � �����" #����#"�����

��� ��������� �-'�� ��'�<'���"�� � ����

!��������� ������ � �� ������#��6��������R����

A�-� <� 0���*$��N���,"� ���

?����� �:�� ��" ������)1���

(����� W��!����'���&��#�� '������A���'���4�LA���'���4�L����#'�����L�L����L����#��X�

(�*8�������.�#"*$���� �����)1���

!������ ��������� �-'��� ��'�<'��������

!��������� ������ � �� ������/"��������R����

!��� :<� ���V#����������

O���� 9��� A� �" ������)1���

���U/����S�#� �������+����&���������T'���� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

��� ��������� �-'�� ��'�<'���"�� � ���� !��������� ������ � �� �������)1���

A�-� �;� ����� �������,"� ���

5� �� 3�! �#��� 5� ������)1���

!�.� � ���6�������)1���

O���� ��� A� �" ������)1���

!��� ���� ���V#����������

3�����B� _��P2Pn� � ���" �� +�#� ��������*$���� ����#� ����

2����S�#� �������+������������T'���� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

������ �����M� A�)�������)1���

��#"�� 3�! �#��� �� ������ ��������*$�����#" �� �

��� ��������� �-'��� ��'�<'��������

!��������� ������ � �� �������)1���

A�-� <� ����� �������,"� ���

!��� 72�� ���V#����������

Page 109: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !*�

�������S�#� �������+����&���������T'���� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

m��� )B(m� ��� �����#���������� �"��������������)1��'��"� ��#� ����� $����� ��������� �� �������M��������'�R�O������������%���

������ p(m� A�)�������)1���

��� ��������� �-'�� ��'�<'�� ��� !��������� ������ � �� �������)1���

?����� 7�� ��" ������)1���

?�� ��-� �������,"���� �1"����������� �����)1�������#/-�#��

A�-� �;� ����� �������,"� ���

5� �� %"(B� 5� ������)1���

���L?�� ! "�� ��� � ���#��6������� �� ��������������)���-� �����" ��#��.������1"���������

���#��� 92� 3���*��� ����R�O�������2����

!��� 7:<� ���V#����������

O���� <�� A� �" ������)1���

�������S�#� �������+����&���������T'���� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

m��� )B��#��� ��� �����#���������� �"��������������)1��'��"� ��#� ����� $����� ��������� �� �������M��������'�R�O������������%���

������ p��#���� A�)�������)1���

��'�?����'����L?�'�!�����O����

��I�#������)1����%��U� !��������� ������ � �� �������)1��'���" ������)1��'���� � ���#��6������� �� ��������������)���-� �����" ��#��.������1"��������'����V#������������� ��������)1���

?�� �)����������,"���� �1"����������� �����)1�������#/-�#��

A�-� 7<<� ����� ���N���,"� ���

5� �� %"��#���� 5� ������)1���

���#��� <� 3���*��� ����R�O�������2����

O���� <�� A� �" ������)1���

5���%�����S�#� �������+����&���������T'���� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

G����� W�� �> ��������Xk&��G3�k%J!!(5�k��4�O34��%�0�

& ��� ����� � �� �������)1���

?�� 0��,"������#>���������#���������)����

�1"����������� �����)1�������#/-�#��

���L?�� ! "�� ��� � ���#��6������� �� ��������������)���-� �����" ��#��.������1"���������

5� �� %"0��,"���� 5� ������)1���

A�-���!��� �����,"�����)1���-�,"��������������)1���/��$�����

0���*$����,"� ��������V#����������

•� ��������-� "�+ ���#� ���� ��15�������#� �� ����#� �����������)��.�M�

Page 110: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !!*

���� � ������!���$�)����

(�#>������� �������)1���$��#������� �� �" � �*���� ���'� �������� ��,"����'����� �����K��K�)� ��� ����'�)����������#� � ���� �������"�-"#��� ��'����)1�����R����-� +� ������ �)����'� �� �������"�"+ ������ ���� ���#���� ������ �" �� �)���'����� ��,"����� ������� �� � � ����)1����%���P%������� ��� ��,"������I�#���������������)�$��������,"���M�

•� �>������� ����)�$���%���P%���'� �����+�������������*$��������,"���M���� �I�" ��"����#��,"�����)1��M�

�����%��!�n�������%"0��,"������#BS���� M�!()1�#TP��� �����∫�&�#������ �#��� �����������1�S3�! �#���!�.�Y�ZZT����� � � � � �����∫�=� �-�#�����-���������������������������������������SZ5$��-�������#�-�#����" �������fZ'� 3 � '�W )(mX'�2TP�������3.�P�� � � � � � �����∫��)�������� �#��� �������P�����O� � � � � � � � �����∫��������#� ����! ���������n�������!�)����� ����5�� ��SW3�! �#���!�.XTP�� �����∫����������,"�������)������S����� � � � � � � �����∫�������#��*�����" ��-�������������.#������������������������SZ����������#�-�#������+���+����fZ' 3 � '�W )(mX'�2TP�����P���P� � � � � � � � �����∫�!� ������ �#��� ����

+�(�#� ����$�O�-���"���������� ��� ��� ���,"��,"� ������)������������ ���" ������.�#"*$��������,"�����

Page 111: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !!!

���� ��������������� ��)�����

3.��� ��"��� ��� ����������-� "�+ ���� �#� � ����� �������� �+����'�� )���� ��K����� # ��*$�� ��� �� �+����� ��-������ �� ��*$�� �%����'� �� ��-� �*�� ��+� �"� $�� �� "�����*$�� ���#� ����������O��

5�� ����� ����� )�$�� 2�����4��'� ���� ��� �� �� �� -"*$�� 6��%�]%�O� �� #>����� ���#���� ���#� �������-"*$���������������#>������������'��� ,"��$��-��� ����� �� �M�

•� � �����" ���� �+���������# ��������" ������ =+��� �������.�����'������ ���� �#����)��.�M�

������� � � � � � � ∫�0� ������ �#��� ����� �����������1%�������G�! �#��M�5�����P� � � � ∫��"*$���� ������ ����� �+�������������%����! �#��S5�L! �#��M�5�����TP� � ∫�0 �#��� ����� �� �#�)� ��� �#����%����� � � � � � � ∫�0� ������ �#��� �����6)��#��������� ��M�%�����P� � � � � ∫�� ���" ���� �+�����6)��#������������O��� �! �#��M�5����������G�! �#���N������! �#��P��∫�&�#�������" ��� �+������P�

+�(� #� ����������O� ��#�� �� " �� �� �+���� ��� ���"��� ��� �'� �� �")���*$����������� " � ������� � ��K�� ��� -"*$��>��4��% �'� �� �� �")���*$��M���� �#�)�� �� ���� � �������� ��K������� �+������ ����� �#��� ������4��% ���

7�� ��#�� ������� �#��� �������-"*$�M�

1%�������!�n�������G�! �#��M�5�����P� � � ∫�&/#������-"*$������������1��� �������� � � � � ��������������∫�=� �-�#�����������"������$���.�����������������������4��"��MY���n�������!�)����� �&Gn��!3G�=��"�P� ∫�� �)"����� ��"��������-"*$�������� ��

�������#� ����&Gn��!3G�����������n�������� ��P�������E���P�������%��!�n���������! �#��S5�L! �#��M�5�����TP� ∫�&/#������� �#��� ������������1��� ������� � � � � � ∫������������"���$������� �# ����������������������n�������MY�!��n�������� ���S�����#���TP� ∫�� �����������"��� ����������n�������!�)����� ����m��SW5�L! �#��XTP� ∫�A�#������������ ������������������������P���P�

/���� �����!���$�)����!� ����

���� ��� ��� �� "�� � �� #>����� ��� -� "�+ ��� L����� �� �� ���� ��� �� ���,"���'��� ) �����,"��������"������K��� �� ������ �)���� � )K '��$��$���.�������#���������������� ����"� ��� ���" ���� �+����#� ����������������� ��'��� K ��� ) � ������)�$������������'�� �#��� ����$�'�#������ -� "�+ ���$�������� ��K�����)�$������U'� �� � ������ ���� ���� �� M�

Page 112: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !!

•� ��� �� �� -� "�+ ��� L����� � ��K�� ��� �)1��� ���)�%� "���#��'� #��,"�� �� �)1���(��0�%���$��M���� �I�" ��"����#��,"�����)1��M�

�����%��!�n�����%"A�#����� ���#BS���� M�!()1�#TP� � ∫��,"���� ��#���� �� ����������� #�4��M�!%��B � BP�� � � � � ∫�� ���" ���� �+������� � #������������1��n��"�� ��#�3��#��S��n�������������� '�Z����� ��Z'�Z��#����� Z�T�����������3.�P����������N������n�������!�)��������������������������� #�4���MY�G�%��B�� BP� � � ∫�������������*$����� ���� ����������n�������MY�!�n�������� ���S�����#���TP� ∫�� �����-� "�+ ������#��"��������������������n��������� ���MY������P� � � ∫��������� �+�����6)��#����������1������n����������L������Y� (B����� ∫����������/������-� "�+ ���$����1����)�$��(m����������G��%��B�� BS�� #�4��TP� � � ∫�4�� ����� ���� �� � #������������n�������� ��P� � � � ∫�3�� �����-� "�+ ������#��"����������� ��%��B � BS�� #�4��TP� � � ∫�A�)� ������ �+������� � #��������E����P�

+� (�� #� ����� ������U���U� �$�� ����� ����#����� �� �)���� �� � ����� -��� "�������� � �#�1"��#� �" �#� ����N������ ������ ���-�#�*$�����#>������

+����� �+������#�� ���������P%����$��K� �����#���+ ����

+�5$��K��#���+ ���# ��#� ���#� �������VO��������#>����� �� ����������� �+������������� �� ������� ,"�����

+�5$�� ��,"�*��,"�����)1���L5����� -����� �����J�� 15����� �$��K��#���+ ���-��� ���"��������J�'��� �������� �������"���#>�����S�)��.������� ��������#� ����*$�TM�

68 9��5"7

�%������-��"'� 6"�������%�������������7������������'� 6 ������%��������"�����7����������'� 6:����$��������%������������3=�"����#���#7����-������P� 6����%�������#����7�

/���� �����!���$�)����!# �����

•� =� ���-��� ���� � �6������)1���(��0�%���#S)�$���� ����#����� ���#���� ��T����� ��� ����-� "�+ ���L����������I�" ��"����#��,"�����)1���(��0�%���#�

�����%��!�n%���#��%"A�#�������#BS���� M�!()1�#TP�����������1�����S��n%���#����%���#��������W��3��'���&�� XT������

Page 113: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !!"

���������������������������SZ=�#I�$����+��� ����������*$�fZ'� &-� ���'�W )(mX'�2TP���������3.�P�������P�������n�������MY�!�n�������� ���S�����#���TP� � ∫�� �����-� "�+ ������#��"�����������������n��������� ���MY�! "�P� � � � ∫��������� �+�����6)��#�������n��������� �! �#���MY�3���&Gn��!3G�!�.P� ∫�� �)"�����+ ��������#�� ���������� �����

��������������#� ����������S����� ����-"*$��5�$����T������1��n����������L������Y� (B����� � �������� ∫�3.�#"�����)1���L5������������3���&Gn��!3G�!�.�MY��n��������� �! �#��P�� ∫������ ����� �#��� ���R�$����������n�������� ��P� � � � � ∫�3�� �����-� "�+ ������#��"�����P�

+�5��� ,"�� �� �� ����� #���� $��,"� � ��� ��#����� � " ��#���� ��'� ��� �� � � �)"� � ����)1���3���(�n��!3G�������� �����n��������� �! �#�����#��������

+�5$�� ��,"�*��,"�����)1���L5����� -����� �����J�� 15����� �$��K��#���+ ���-��� ���"��������J�'��� �������� �������"���#>�����S�)��.������� ��������#� ����*$�TM�

68 9��5"7

�%��������%���#�'� 6 ����L�%��������"�����7

���-��"'� 6"�������%�������������7�����������'� 6>��������"����#���7

���-����'� 6������������#�����7����-�"��#�'� 6���������"O��%��7����-������P� 6����%�������#����7

•� ��������-� "�+ ��'� �� �������+ ������-� "�+ �����%��8����'��.�#"����������� �1����

•� ��� ���" �� #����� ��"� � ���'� ������ �� #��/"��'� �"� �$�� #�-� �� �� #>����� �� �� ��L5����M�

�%����-������P������1����%�����O���L�'���������'����J���'��������'�G ����#�'��� ���'��� �'��������'���3.� ��'��%� ��'�%"��'���� ��'�G ���'��%G ���P���O����!�n�������Y������S!�� T�������%5������ �M�!�%5������ P�������%G ���M�!�%G ��P������3�! �#��M�!���B3��P������A�)���M�!A�)��P������%"(mM�!%�%P������%"��#���M�!%�%P������%"0��,"���M�!�����%"�P�����������%��%"0��,"������#BS���� M�!()1�#TP����������

Page 114: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !!&

�����=�� ���M�)�����P������1%�������G�! �#��M�� ��P�����������%����! �#��S5�L! �#��M�� ��TP����%����������������O��� �! �#��M�5����������G�! �#���N������! �#��P�����P����������n������M�!�n������P��� �� ���������68 9��5"7��%������������P��6 ����L�%��������"�����7�1%�������!�n�������G�! �#��M�5�����P����������1��� ����������������������4��"��MY���n�������!�)����� �&Gn��!3G�=��"�P����������n�������� ��P������P���P�������%��!�n���������! �#��S5�L! �#��M�5�����TP����������1��� ������������������������n�������MY�!��n�������� ���S�����#���TP����������n�������!�)����� ����m��SW5�L! �#��XTP�������P���P�������%��!�n�������%"0��,"������#BS���� M�!()1�#TP�����������1�S3�! �#���!�.�Y�ZZT��������������������������������SZ5$��-�������#�-�#����" �������fZ'� 3 � '�W )(mX'�2TP���������3.�P�������P��������O����������n�������!�)����� ����5�� ��SW3�! �#���!�.XTP�����S���������������.#������������������SZ����������#�-�#������+���+����fZ' 3 � '�W )(mX'�2TP�������P���P��������

�� ��������"���-"*8��'��� �� �� ������� �*$�M�

������O�W�� �+���XM�W!���X�����W-"*$�X�N����W� �#��� ��X�����#�� ������ �� ���������� ��" ���� �+��������������" ��S���T������������# ���SN���T��

Page 115: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !!#

��%�����#�����"���������� ���� �� �����" ��-"*$���

$�O�W��#�� �*8��X�������� �� ��� ������� �� � #� ���� � �� ���� �����" �)��#������.#�*$���

/S����W)��#������.#�*$�X���#�������" ����#�� �*$���� �����" �)��#������ ��*$����O��#��*��� ������)��#��K��.�#"�����

���W��������.#�*$�X����W��#�� �*$�X���� �#�1"��#� ���)��#����O@@@S������-�����#>������� ���.�#"� �" �)��#������.#�*$���

�� ���5��160��7���5��0��

�# ����� ,"�� ��#I� ����� � � �#����� �� ���� �� /"��� ���� #��"���� ��� �"� S��H�� ���6��#����� ���H�T'�#� ��1+� �#������������� ����� �� ���������"�"+ ���#��"����+������������ ,"����'���$��$������ +��������� �-�#� ���#� �"��� �������+���� ����� 6��#�'��� ��� ����� +�#��� �#" +���� �"�� ����

����$�� ���+,�

(��)1���A���/ '�"���������� �� ����� �� �)���� �#� ��" �#���� '� K� �������� �������,"������ ����'�"����������)� �������� ����� ����� �����������"�"+ ���,"������1� ����� ����"�,"��-���������/���'�����#I��� +�,"�� �)���� �#� �-�� ����������� ��-� � �� �" ���� ��+�����" � �����

�� ��0 �������$�� ������%�������

(�� -�� ��� �$�� ���������� �� �� �-�� � ��� ������ ���� ��� �� �� ��� " � �"� ����� ,"����'� �� � ������-� ���� �����#� ��"����+���'��)�� �����-� "�+ ��������"� M�

=� ���# �� �" �-� "�+ �����I�#��������,"���� �� +��� ���� ���� �����-�� ��M�

•� &�#��� ������,"�� �� )�$�� � S5�L��� T� ����������'� �"� �� �"� � �#����� �����,"���� �"�� �#���������*$�������.N@@@'�� �!�������'����+����!����#��,"�����)1�����"�����5��������� ��������"����� �� �������M�

Page 116: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !!T

0 �� ������� =��� � ���# �*$��

%� �� ����� )�������� 3��������)� �������)1���

������ ��-������ ��� A�)�������)1���

5� �� �n��� �� 5� ������)1���

0������ ���# ����� � 0���*$������)1���

•� � ����� ����������1�����������"�����)1���M��

!°°°°������8� ���� ����-�� ��

����� S�#� �������+������������T� ���� �� +��� ���"� �� ���)��#����� ���� ����-�� �'� �1"��� ��"� � ���� �� �� #�)� � ��� �" ��� �)1���� �� #���,"�� ) �#�� �� �� ��� �� �����������������������# �� �����" ����)1������ � �� � ,"�������)1����

"��������2����S�#� ��������+������������T������ ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

������ �� ��'�� �K ������� �� �*$��S ����#��� ��T�

5� ������)1���

��� ��������� �-'�5�� ��'�<'��������

!��������� ������ � �� �������)1���

�� ����S� S�#� �������+������������T� ��,"��� ���� +���� ������#� �������� ,"���'���� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

5� �� �%�� ��� 5� ������)1���

��� ��������� �-'�5� ��'�<'���"���� ����

!��������� ������ � �� �������)1���

&� �� 5� �P�!����������� ���S" �� �#��������T�

���6�������)1���

����� #�� ����L� 3���������)1���

!�.� � !�.������ � �� ������ ������ )��,"��������-� �����#������

�� ����S�S�#� �������+������������T���,"��� ���� +����# �K ����������,"���'���� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

5� �� �%� �� ��� 5� ������)1���

��� ��������� �-'�5� ��'�<'���"���� ����

!��������� ������ � �� �������)1���

&� �� ;P�=P�<P�=;P�<;P�<=������������ ���6�������)1���S#���,"��" �� �#��������T�

����� #�� ����L� 3���������)1���

!�.� � !�.������ � �� ������ ������ )��,"��������-� �����#������

/���� S�#� ���� �� �+���� ��������T� �� ,"�� � ���� +� �� #��6��� �� �� � #� �� ���'���� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

5� �� 3���� �� �� 5� ������)1���

��� ��������� �-'�5� ��'�<'���"���� ����

!��������� ������ � �� �������)1���

Page 117: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !!(

!�.� � !�.������ � �� ������ ����#� ���

5���%�����S�#� �������+����&���������T���)�$��,"��#�-� � +���#���*$���� ����-�� ����#������'���� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

G����� W�� �> ��������Xk&��G3�k%J!!(5�k�(0l�%�0�

& ��� ����� � �� �������)1���

?�� ��-� �������������������� �1"����������� �����)1�������#/-�#��

���L?�� ! "�� ��� � ���#��6������� �� ������������)���-� �����" ��#��.������1"���������

5� �� %"3���� 5� ������)1���

5���%�����S�#� �������+����&���������T� ������)�$���� �� +��� ��#�� � ��� ������� #��"��� �� �)���'� -�#���� � ����� ��� ����/���'� ����� ������� #���� �� #� �����#���������1����C���������#���� ��D'���� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

G����� W�� �> ��������Xk&��G3�k%J!!(5�kA�5!345��%�0�

& ��� ����� � �� �������)1���S#��"�����#���;'�# ��*$������)1���%"A�#�������) ����� ��� T�

?�� 0��,"��������� ��� �1"����������� �����)1�������#/-�#��

���L?�� ! "�� ��� � ���#��6������� �� ������������)���-� �����" ��#��.������1"���������

5� �� %"���"��� 5� ������)1���

=���)��� ������ ()1���������� � �� ����

°°°°������8��� �� +��� ���"� �� ���-�� �� ���������#��� +���-�� ��� ����"��� ��" ���@A'��1"�����"�� ������ ��#�)� �����" ����)1����

R��%���S� S�#� �������+������������T� �� �� �� +��� ���"� �� ����)��#��� ��������� -�� �'� �1"��� ��"� � ���� �� �� #�)� � ��� �" ��� �)1���'� ��� �� ��� ���"����� �� �������M�

0 �� ������� =��� � ���# �*$��

������ ��� ���� ����� A�)�������)1���

��� ��������� �-'�5�� ��'�<'��������

!��������� ������ � �� �������)1���

/���� S�#� �������+������������T� ��,"�� �� � +����"�"+ ����� -�� ���� �����# ����'������#"�� +�������+ ����� ������)1���>������@'���� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

%� �� ����� )�5��� 3��������)� ���

���� � #�%������S �� ��#� �����)1���>������@T�

�� �����)1���

��9�� ������ 0���"���������� �9��

��� ��������� �-'�5� ��'�<'��������

!��������� ������ � �� �������)1���

5� �� ��� �=�� 5� ������)1���

4���(��� ! "�� ()1����������� �����" �'�$���� �������� �*$�������"�#��6����

/���� S�#� ���� �� �+������������T�� ,"�� �� +� �� ����� -�� �� � � ���"��� � �" ���@A'�����-�#� +�����/����� � ��������.�#"*$�'���� ��������"����� �� �������M�

Page 118: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !!-

0 �� ������� =��� � ���# �*$��

5� �� ��� ��@A� 5� ������)1���

=���)��� ������ ������)1���-�#� +����/����

"°°°°������8�)�8������#� ����

�������S�#� �������+����&���������T���)�$��,"���� �� +��� ��#�+"�"���C3���!���M�:��'����D'�-�#� +���#��� �������)�������� � ��������.�#"*$�'���� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

5� �� %"3� 5� ������)1���

G����� W�� �> ��������Xk&��G3�k%J!!(5�k�(A�4�(��%�0�

& ��� ����� � �� �������)1���

��� ��������� �-'�5� ��'�<'�0 ��� !��������� ������ � �� �������)1���

?�� J �C�D�(" �� �1"����������� �����)1�������#/-�#��

���L?�� ! "�� ��� � ���#��6������� �� ������������)���-� �����" ��#��.������1"���������

������ p3� A�)������()1���

3�)���� ������ ?�)����*$���� ����"���

������� S�#� ���� �� �+���� &���������T�� )�$�� ,"�� �� �� +� ��� C("� �� !���M�:� ��'����D'� -�#� +� ��#��� ��� ����)������� � � ���� ��� �.�#"*$�'� ��� �� ��� ���"����� �� �������M�

0 �� ������� =��� � ���# �*$��

5� �� %"("� 5� ������)1���

G����� W�� �> ��������Xk&��G3�k%J!!(5�k�(5!%(A��%�0�

& ��� ����� � �� �������)1���

��� ��������� �-'�5� ��'�<'�0 ��� !��������� ������ � �� �������)1���

?�� J �C�"D�(" �� �1"����������� �����)1�������#/-�#��

���L?�� ! "�� ��� � ���#��6������� �� ������������)���-� �����" ��#��.������1"���������

������ (p"� A�)������()1���

3�)���� ������ ?�)����*$���� ����"���

�������S�#� �������+����&���������T���)�$��,"���� �� +��� ���� �� ���-�� �'�-�#� +���#��� �������)�������� � ��������.�#"*$�'���� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

5� �� %"A� �� � 5� ������)1���

G����� W�� �> ��������Xk&��G3�k%J!!(5�k�A3�4�%�0�

& ��� ����� � �� �������)1���

��� ��������� �-'�5� ��'�<'�0 ��� !��������� ������ � �� �������)1���

?�� ��������-�� ���.����� �1"����������� �����)1�������#/-�#��

���L?�� ! "�� ��� � ���#��6������� �� ������������)���-� �����" ��#��.������1"���������

������ pA� �� � A�)������()1���

3�)���� ������ ?�)����*$���� ����"���

Page 119: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !!�

�������S�#� �������+����&���������T���)�$��,"���� �� +��� ��#�-� � ���-�� �'�����-�#� +� ��#��� ��� ����)������� � � ���� ��� �.�#"*$�'� ��� �� ��� ���"����� �� �������M�

0 �� ������� =��� � ���# �*$��

m��� )B(m� ��� �����#���������� �"��������������)1��'��"� ��#� ����� $����� ��������� �� �������M��������'�R�O������������%���

5� �� %"(m� 5� ������)1���

��� ��������� �-'�5� ��'�<'�0 ��� !��������� ������ � �� �������)1���

?�� ��-� ����-�� ��������� �1"����������� �����)1�������#/-�#��

���L?�� ! "�� ��� � ���#��6������� �� ������������)���-� �����" ��#��.������1"���������

������ p(m� A�)������()1���

3�)���� ������ ?�)����*$���� ����"���

������� S�#� ���� �� �+����&���������T� �� )�$�� ,"�� �� �� +� �� �� �)���� � �� -�� �'���� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

m��� )B��5�3A� ��� �����#���������� �"��������������)1��'��"� ��#� ����� $����� ��������� �� �������M��������'�R�O������������%���

5� �� %"��#���� 5� ������)1���

��� ��������� �-'�5� ��'�<'�0 ��� !��������� ������ � �� �������)1���

?�� ��#������-�� ��������� �1"����������� �����)1�������#/-�#��

���L?�� ! "�� ��� � ���#��6������� �� ������������)���-� �����" ��#��.������1"���������

������ p��#��� � A�)������()1���

���� � �����!���$�)����

�������� �����"� �����������-� "�+ ���#� ���� �����-��� ���

(�#>������� �������)1���K��� ����� �,"� �������,"����#I�#� � �����,"����-� "�+ ��������-��� ��3���-� "�+ ����� �� +����)������ ���� ���� ����" �-�� ��,"���� +� �� ������ �" � �(>���� #�� "/��� �� ���"��� -� "�+ ��'� ���� ��� ������� � �� #>����� ,"�� #� ���� +� ���.�#"*$�����" ��)1���A���/�#���#���������"����3.�M��3A3�!�o��4(��%��&�(�O?343�W#���*$��# �������-� "�+ ��X�M�

•� �>������� ����)�$���%�/����'�,"����-� �#�-� ���������������������M���� �I�" ��"����#��,"�����)1��M�

�����%��!�n��� ��%"3������#BS���� M�!()1�#TP��������5� ��� ���M�5�����P� � � � � ∫�� ���" ���� �+������ ��� ���� ����

������ �� �������#� ��������������#)�� ���&� &��.��1� � � � ∫�����#������� �����#� ���#� ����������2��6!���7��������M�5� ��� ��MY�Z5(�n�&��(ZP�� ������� �����@A����������64���7����������M�5� ��� ��MY�Z!&0n�&��(ZP�������7��6���#����7��M�5� ��� ��MY�Z�&Gn��!3GZP�

Page 120: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� ! *

�����P������1��S#)� �� ���&� &��.�Y�;T����� � � ∫������� �K �����#�������-� �C�� ����D����������� ��@A�!�.�MY���� ��@A�!�.�\�ZSZ�\�5� ��� ��� ����#� ����CA&m3D�� ��@A�����������������\�Z�Z�\��ZA�B��ZZtZ�\�3���� �� ��!�.�\�ZtZZTZ��������������������� ��@A�!�.�MY���� ��@A�!�.�\�ZSZ�\�5� ��� �������������∫�#����#� + ���� �)"�������� �����������������\�Z�Z�\�#)� �� ���!�.�\�ZZZZ�\�3���� �� ��!�.�\�ZZZTZP�����������#�������C_'�`�'�_Y'�`Y���`_D�������� �=��!�.�MY���� �=��!�.�\�#)�� ���!�.�\�Z�Z�\���������������∫��#� ����-�� �������������������������#)� �� ���!�.�\�Z�Z�\�3���� �� ��!�.P�����#)�� ���&� &��.�MY���P� � � � ∫�4�������� I��#� �����������������#)� �� ���&� &��.�MY���P����3���� �� ��!�.�MY�ZZP�����#)�� ���3�)����MY������P�� � � � ��∫�����)��������#� ����������*$�����#)� �� ���3�)����MY������P����3���� �� ��3�)����MY������P����%"���"���=���)���MY������P�����%"3�3�)����MY�! "�P� � � � � ��∫�?�)��������)�8������%"("�3�)����MY�! "�P����%"(B�3�)����MY�! "�P����%"A� ���3�)����MY�! "�P���P�

+� #���� �� ���� �� ,"�� ��#I� ��������� � ���� #� ���� ��� ���� ���� ��� �� �� ����� ���# �K ����� �������"��M�

�1�S#)� �� ���&� &��.�Y�;T������������������������������������������������������������∫�� �K ���s�� ����s��������1�#)�� ���&� &��.����W6 � �����#� �������X��������������������∫�=I����#� ������������������ ��@A�!�.�MY���� ��@A�!�.�\�ZSZ�\�5� ��� ���\�Z�Z�\�������∫�����*$���� �������������# ���������������������������ZA�B��ZZtZ�\���������������������������� ����!� �SZ������llZ'� !����S3���� �� ��!�.TT��������������������������\��ZtZZTZ������������������� ��@A�!�.�MY���� ��@A�!�.�\�ZSZ�\�5� ��� ���\�Z�Z�\��������∫�����*$��#� " ��� ����A&m3��������������������������ZA�B��ZZtZ�\�3���� �� ��!�.�\�ZtZZTZ������� � � � � � � � ∫�����" ���#���*8���������1�#)�� ���&� &��.�Y����W6 � �����#� �������X������������������∫�=I����#� ������������������� ��@A�!�.�MY���� ��@A�!�.�\�ZSZ�\�5� ��� ���\�Z�Z�\��������������������������#)� �� ���!�.�\�ZZZZ�\���������������������������� ����!� �SZ������llZ'� !����S3���� �� ��!�.TT�\�ZZZTZ��������� � � � � � � � ∫�����*8����� ���" ���#� ��������������� ��@A�!�.�MY���� ��@A�!�.�\�ZSZ�\�5� ��� ���\�Z�Z�\��������������������������#)� �� ���!�.�\�ZZZZ�\�3���� �� ��!�.�\�ZZZTZP�

+������ ����-�#� +���I�#���5$����,"�*����#� ����W5/5�#���#� ���)�)����#��5O�W������� ����-"*$���� �����$� �

•� �>������� ����)�$���%�/'�,"������ +���#�������C�D�" ���" ��#���*$�M���� �I�" ��"����#��,"�����)1��M�

Page 121: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� ! !

�����%��!�n��� ��%"3���#BS���� M�!()1�#TP������������ �=��!�.�MY���� �=��!�.�\�Z�3�ZP�� � � ∫���� �����-�� ��������� ��@A�!�.�MY���� ��@A�!�.�\�Z����ZP�����#)�� ���3�)����MY�! "�P� � � � ∫�?�)��������#� ����������*$�����#)� �� ���3�)����MY�! "�P����3���� �� ��3�)����MY�! "�P����%"A� ���3�)����MY�! "�P�����%"3�3�)����MY������P� � � � � ∫�����)��������)�8������%"("�3�)����MY������P����%"(B�3�)����MY������P���P�

•� �>������� ����)�$���%��%'�,"������ +���#�������C�"D�" ���" ��#���*$�M���� �I�" ��"����#��,"�����)1��M�

�����%��!�n��� ��%"("���#BS���� M�!()1�#TP������������ �=��!�.�MY���� �=��!�.�\�Z�("�ZP�� � � ∫���� �����-�� ��������� ��@A�!�.�MY���� ��@A�!�.�\�Z�( �ZP�����#)�� ���3�)����MY�! "�P� � � � ∫�?�)��������#� ����������*$�����#)� �� ���3�)����MY�! "�P����3���� �� ��3�)����MY�! "�P����%"A� ���3�)����MY�! "�P�����%"3�3�)����MY������P� � � � � ∫�����)��������)�8������%"("�3�)����MY������P����%"(B�3�)����MY������P���P�

•� �>������� ����)�$���%�2� ��'�,"����-� ��� ������-�� ��M���� �I�" ��"����#��,"�����)1��M�

�����%��!�n��� ��%"A� �����#BS���� M�!()1�#TP��������#)�� ���&� &��.�MY���P� � � � ∫�&�#�����������#���*8�����#)� �� ���&� &��.�MY���P���3���� �� ��!�.�MY�ZZP������ �=��!�.�MY�ZZP������ ��@A�!�.�MY�Z����#�o�- � �%���#��L�� ��ZP����#)�� ���3�)����MY�! "�P� � � � ∫�?�)��������#� ����������*$����#)� �� ���3�)����MY�! "�P���3���� �� ��3�)����MY�! "�P����%"3�3�)����MY������P� � � � � ∫�����)��������)�8�����%"("�3�)����MY������P���%"(B�3�)����MY������P���%"A� ���3�)����MY������P���P�

•� @"������-� "�+ ���-� �# �����K���#�������-�� �M�

Page 122: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !

��� ����#���� �� �)1��� L������ �� ���� ��� ������ �I� " � �"���� #��#B� ��) �� �� ��*$��(� ���M�

�����%��!�n��� ���� � ���S���� M�!()1�#TP������������ �=��!�.�MY�ZZP� � � � � ∫�A� �����-�� �����/���������� ��@A�!�.�MY�Z����#�o�- � �%��&�(�L�� ��ZP�� ∫�&�#�����-�� ����#��������P�

•� ����� �� #� ��� ��#������� ��1�� C������ ��� ����� ��D� K� �#���+ ��� ��)���� � �� )�$�� ���#��"��M���� ����#���� �� �)1��� ���� ��� �� ���� ��� ������ �I� " � �"���� #��,"�� �� ��*$��

�������M�

�����%��!�n��� ���%�� �������S���� M�!()1�#TP����������%� �� �������#"�P� � � � � ∫����������-�#���� ����� >.� ��#� �������1�#)�� ���&� &��.�Y�7����� � � � ∫������#� �������#����-� ��&Gn��!3G������%"���"���=���)���MY�$�%� � � � ∫�!� �����/�������)1���%"���"��������� � � � � � � ∫���$�������%"���"���=���)���MY����P� � � � ∫�!� ������/�������)1���%"���"�����P�

•� �>������� �����)1����%�����%����,"��-� +���#��"������#���� ��M���� �I�" ��"����#��,"�����)1��M�

�����%��!�n��� ��%"���"�����#BS���� M�!()1�#TP�����������1�#)�� ���&� &��.�Y�7����� � � � �∫������#� ���-� ��&Gn��!3G�������������������n��������� �! �#���MY�3���� �� ��!�.P� � �∫�3������#� ������������1��n�������&�#���Y� (B���� � � �∫�=� �-�#�����-��� �� ����(m�����������3���� �� ��!�.�MY��n��������� �! �#��P��∫�! ��-� ����#� ����������P���P�

•� 0� -" � ��� �� �� �� �)1������������� ,"���� ����#������ " � # �K ��� �� +� �� #� ���� ��-� ������ ����#� ������"��M���� ����#�������)1���������������������I�" ��"����#��,"������*$���������M�

�����%��!�n��� ���%� �� �������S���� M�!()1�#TP���������3���� �� ������#"�P� � � � � ∫����������-�#���� ����� >.� ��#� �����P�

5�#����� ������ ��# �� �" ���� �+����#� " �,"��������� +���#>������@A��� ����������#"�+ ��M�

•� ! ��-� ���� ����1������������/�����M���� ��>����#� ����04&=�!3������M�

����������������1%�������G��@AM�!3��P� � � ∫�&�#���" ��-"*$��0� �#"�� �����%�����������������O��@A� ���M�!3�������G��@AP� ∫�&�#���" ���� �+�����6)��#���>�������" �������P�

Page 123: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� ! "

��������n��� �M�!�n��� �P��� �� ���������ba4�o����c��%��� � � � � ∫�J�����*$������)�)����#������-������P�� � � � ∫�����#��������� �����1%�������!�n��� ��G��@AM�!3��P��������4��"��MY���� ��@AP� � � ∫�3����#� �� ��"������� ������ �+������-�� ����#��������P�

•� ��������-� "�+ ��'�������� �1����

•� ������" ��#�������"�� ���'� ��������#��/"��'��"��$��#�-� ����#>������� ����L�����M��%�����-�� �P������1����%����O�!����'�O�0 �#�'��������'�G ����#�'��� �'������������� ���'�%"��'���� ��'�3.� ��P���O����!�n��� ��Y�#����S!�� T�����0����M�!0���P������%�� ��M�!�� )�%�.P������%� �� ��M�!�� )�%�.P�����3���� �� �M�!3��P�����%"3���M�!�����%"�P�����G �"�%�.�M�!G �"�%�.P�����A�)���M�!A�)��P�����A�)��7M�!A�)��P�����A�)��9M�!A�)��P�����%"��#���M�!%�%P�����%"3M�!%�%P�����%"("M�!%�%P�����A�)��:M�!A�)��P�������� �=�M�!3��P�������� ��@AM�!3��P�����%"(BM�!%�%P�����%"A� ��M�!%�%P�����%"���"��M�!�����%"�P����������%��%"3������#BS���� M�!()1�#TP����������%��%"3���#BS���� M�!()1�#TP����������%��%"("���#BS���� M�!()1�#TP����������%��%"A� �����#BS���� M�!()1�#TP����������%���� � ���S���� M�!()1�#TP����������%���%�� �������S���� M�!()1�#TP����������%��%"���"�����#BS���� M�!()1�#TP����������%���%� �� �������S���� M�!()1�#TP����������

Page 124: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� ! &

����1%�������G��@AM�!3��P����%���������������O��@A� ���M�!3��� ����G��@AP�����P���������n��� �M�!�n��� �P��� �� ���������ba4�o����c��%������-������P��1%�������!�n��� ��G��@AM�!3��P��������4��"��MY���� ��@AP���P�������%��!�n��� ��%"3������#BS���� M�!()1�#TP��������5� ��� ���M�5�����P������������#)�� ���&� &��.��1�������2��6!���7��������M�5� ��� ��MY�Z5(�n�&��(ZP����������64���7����������M�5� ��� ��MY�Z!&0n�&��(ZP�������7��6���#����7��M�5� ��� ��MY�Z�&Gn��!3GZP������P������1��S#)� �� ���&� &��.�Y�;T��������������� ��@A�!�.�MY���� ��@A�!�.�\�ZSZ�\�5� ��� ������������������\�Z�Z�\��ZA�B��ZZtZ�\�3���� �� ��!�.�\�ZtZZTZ��������������������� ��@A�!�.�MY���� ��@A�!�.�\�ZSZ�\�5� ��� ������������������\�Z�Z�\�#)� �� ���!�.�\�ZZZZ�\�3���� �� ��!�.�\�ZZZTZP�������� �=��!�.�MY���� �=��!�.�\�#)�� ���!�.�\�Z�Z�\���������������������#)� �� ���!�.�\�Z�Z�\�3���� �� ��!�.P�����#)�� ���&� &��.�MY���P����#)� �� ���&� &��.�MY���P����3���� �� ��!�.�MY�ZZP�����#)�� ���3�)����MY������P����#)� �� ���3�)����MY������P����3���� �� ��3�)����MY������P����%"���"���=���)���MY������P�����%"3�3�)����MY�! "�P����%"("�3�)����MY�! "�P����%"(B�3�)����MY�! "�P����%"A� ���3�)����MY�! "�P���P�������%��!�n��� ��%"3���#BS���� M�!()1�#TP�

Page 125: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� ! #

����������� �=��!�.�MY���� �=��!�.�\�Z�3�ZP������� ��@A�!�.�MY���� ��@A�!�.�\�Z����ZP�����#)�� ���3�)����MY�! "�P����#)� �� ���3�)����MY�! "�P����3���� �� ��3�)����MY�! "�P����%"A� ���3�)����MY�! "�P�����%"3�3�)����MY������P����%"("�3�)����MY������P����%"(B�3�)����MY������P���P�������%��!�n��� ��%"("���#BS���� M�!()1�#TP������������ �=��!�.�MY���� �=��!�.�\�Z�("�ZP������� ��@A�!�.�MY���� ��@A�!�.�\�Z�( �ZP�����#)�� ���3�)����MY�! "�P����#)� �� ���3�)����MY�! "�P����3���� �� ��3�)����MY�! "�P����%"A� ���3�)����MY�! "�P�����%"3�3�)����MY������P����%"("�3�)����MY������P����%"(B�3�)����MY������P���P�������%��!�n��� ��%"A� �����#BS���� M�!()1�#TP��������#)�� ���&� &��.�MY���P���#)� �� ���&� &��.�MY���P���3���� �� ��!�.�MY�ZZP������ �=��!�.�MY�ZZP������ ��@A�!�.�MY�Z����#�o�- � �%��&�(�L�� ��ZP����#)�� ���3�)����MY�! "�P���#)� �� ���3�)����MY�! "�P���3���� �� ��3�)����MY�! "�P����%"3�3�)����MY������P���%"("�3�)����MY������P���%"(B�3�)����MY������P���%"A� ���3�)����MY������P���P�������%��!�n��� ���� � ���S���� M�!()1�#TP����������� �=��!�.�MY�ZZP������ ��@A�!�.�MY�Z����#�o�- � �%���#��L�� ��ZP���P�������%��!�n��� ���%�� �������S���� M�!()1�#TP����������%� �� �������#"�P�

Page 126: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� ! T

����1�#)�� ���&� &��.�Y�7����������%"���"���=���)���MY�$�%������������%"���"���=���)���MY����P���P�������%��!�n��� ��%"���"�����#BS���� M�!()1�#TP�����������1�#)�� ���&� &��.�Y�7����������������������n��������� �! �#���MY�3���� �� ��!�.P����������1��n�������&�#���Y� (B��������������3���� �� ��!�.�MY��n��������� �! �#��P��������P���P�������%��!�n��� ���%� �� �������S���� M�!()1�#TP���������3���� �� ������#"�P���P������

+�5$��-���#���#������" �#� ����,"��1+�$������������������ �� ���

��� �����!���$�)����4���������%������

� �������-� "�+ ����� �� '��� ��K������ ��K������"��'�# �� � ���" ��" ��-� "�+ ���,"��#�� +�" ��)1����(>������ �� �� � � ��������#� ���������� ������)���'�,"����-� �#��#���� �� )�$�� -�� � '� �� +� ����� ���� �� -� "�+ ��� �� �� '� ��� �� � � �� "�"+ ��� ���� +����� �������� � �� -�� �� � ��K�� ��� ������������ S#������T'� �"� ����� �� +� ����/���� ���� � " � ���� ������#������M�

=� ���# �� �" �-� "�+ �����I�#��������,"���� �� +��� ������ �#�� ������-�� �M�

Page 127: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� ! (

•� &�#��� ������,"�� �� )�$�� � S5�L��� T� ����������'� �"� �� �"� � �#����� �����,"���� �"�� �#���������*$�������.N@@@'�� �!�������'����+����!����#��,"�����)1�����"�����5��������� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

%� �� ����� )�������� 3��������)� �������)1���

������ ���"����������#��� A�)�������)1���

5� �� �n�����#� 5� ������)1���

0������ ���# ����� � 0���*$������)1���

•� � ����� ����������1�����������"�����)1���M�

$����S�#� �������+��������&%%���T���!�)����,"�������� � +�#� ���,"� �'���� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

���)���5� �� ��������#�� 5� ������������"�����#�����*$������� �> ��������)�����

!�)��5� �� %��&�(��%�� 5� ���.� ������)����

5� �� !�)%���#�� 5� ������)1���

&��.�����5� ��� 5(�n�&��(� 5� �����#� ������.����

����5�%��� S�#� ���� �� �+���� ���� &%%���T� �� 0���#������ ��� ����� ��� �)1���4�(����%���'���� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

������ !�)%���#�� 5� ������)������#"�����

5� �� ��%���#�� 5� ������)1���

]%�O�S�#� �������+��������&%%���T���@"� ��,"�������� � +�#� ����)���'���� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

���)���5� �� ��������#�� 5� ������������"�����#�����*$������� �> ��������)�����

�@A� �3A3�!�o��4(��%��&�(� �� �����@A��� ��#��"���

5� �� @ �%���#�� 5� ������)1���

��.��������� S�#� ���� �� �+���������������T� ��%� �� ��� �����*$�� ,"�� �� �� +��� �� ��� � ��) �� ��� ���� �'� �� ) ����� $�� ����� �� � �� ����� �"�*$�� ��� �� ��M�

0 �� ������� =��� � ���# �*$��

�����" #�� ��%���#�� �����" #������#�����

=���)��%"��� W)�� �'�)0 �� '�)5�.'�)A��X� %�8������/�����

?��� 0 � �� �P���� �� P��0 >.� �P�]�� ��

�1"���������,"���� +� �� ������) ��#����)�$��S#���,"��" �� �#��������T�

���L?�� ! "�� ��� � ���#��6������� �� ������������)���-� �����" ��#��.������1"���������

5���%����� S�#� ���� �� �+���� &���������T� �� )�$�� ,"�� �� �� +� �� �� ���� � �"�������� ���-�� �'���� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

5� �� %"������������ 5� ������)1���

Page 128: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� ! -

G����� W�� �> ��������Xk&��G3�k%J!!(5�kA(�m(035�%�0�

& ��� ����� � �� �������)1���

?�� ���������������-�� �� �1"����������� �����)1�������#/-�#��

���L?�� ! "�� ��� � ���#��6������� �� ������������)���-� �����" ��#��.������1"���������

G �"�&��.� �� 0� �#����" �� "������)�8��'������ �� �������-���#� �,"����)�$���� ��*��� ����������� ������ ����

����L���J�� ! "�� 0� ���,"��" �� "������)�8���$��������" �)�$��� ����������� ������ ����

������� S�#� �������+����&���������T� ��)�$��,"���� �� +��� �� ���� ���� -�� �'���� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

������ ���p � � A�)�������)1���

��� ��������� �-'�5� ��'�<'�0 ��� !��������� ������ � �� �������)1���

G����� W�� �> ��������Xk&��G3�k%J!!(5�k�&5��%�0�

& ��� ����� � �� �������)1���

?�� ����� ������� �� �1"����������� �����)1�������#/-�#��

5� �� %"��� � � 5� ������)1���

���L?�� ! "�� ��� � ���#��6������� �� ������������)���-� �����" ��#��.������1"���������

������� S�#� ���� �� �+���� &���������T� �� )�$�� ,"�� �� �� +� �� �� ���� � �� #� �������#��������� ��'���� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

������ p3��� � A�)�������)1���

��� ��������� �-'�5� ��'�<'�0 ��� !��������� ������ � �� �������)1���

G����� W�� �> ��������Xk&��G3�k%J!!(5�k�(A�4�(��%�0�

& ��� ����� � �� �������)1���

?�� 3����#� �������#������ �1"����������� �����)1�������#/-�#��

5� �� %"3��� � 5� ������)1���

���L?�� ! "�� ��� � ���#��6������� �� ������������)���-� �����" ��#��.������1"���������

�������S�#� �������+����&���������T���)�$��,"���� �� +��� ������ ���-�� �'���� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

m��� )B������ ��� �����#���������� �"��������������)1��'��"� ��#� ����� $����� ��������� �� �������M��������'�R�O������������%���

5� �� %"��#�� � 5� ������)1���

��� ��������� �-'�5� ��'�<'�0 ��� !��������� ������ � �� �������)1���

������ p��#�� � A�)������()1���

��R���� S�#� ���� �� �+���������������T� ��()1���G ��� ,"�� �� � +� ��� #� ���'���� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

�����" #�� ����#" � ��� �����#���������� �"��������������)1��'��"� ��#� ����� $����� ��������� �� �������M��������'�R�O������������%���

Page 129: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� ! �

5� �� �)G ��%���#�� 5� ������)1���

��� ��������� �-'�5� ��'�<'���"���� ����

!��������� ������ � �� ������ �����#� ����

(����� ��!����'���&��#�� '������A���'���4�LA���'���4�L����#�

(�*8������G ���

!������ ��������� �-'�5�� ��'�<'��������

!��������� ������ � �� ������ ����/"�������#� ����

���� � �����!���$�)����

�������� �����"� �����������-� "�+ ���#� ���� �����-�����#��

3��� -� "�+ ��� �� � +� ��� ������ -�� ����� �� �)1��� �(>���'� �� �� -�� � � ��� ������"����� � ��� �� �)1���A���/'� "��� �� ,"�� � ��� �� -��� � K� #� ��� � ,"���� �� -�� �� ��+� �����S�)1��� ��������%�� ����� �� �� �� �)1��� A���/T� �"� ,"���� �� -�� �� $�� ��+� ����� S�)1�����������%��������� �����)1����4�(��T�

•� �>������� ��,"������-� "�+ ���K���#����'��)� " �������)����M���� =� ���� �������/����������� �������"���#>������)��.�M�

������������6���������%���������7���%��������������%��&�#��P�� � � ∫���#�� ��" �� �#��� ����6)��#�����P���������n�����#M�!�n�����#P��� �� ���������68 9��5"7��%������-��� �'�� � � �� ∫�J��������J���� ���� ���� ����-�� ����-3����#P� � � ∫�J��������J���� �������*$����� ���� �������%��!�n�����#�&�#��P���������!�)%���#��(��P�� � � ∫�&�#������)����������L�����P�� � � ��������������∫���� ����-� "�+ ���� � ���� �������E�

•� �>������� ����)�$����� � '�,"����-� �����#����������*$�����-�� ������ �I�" ��"����#��,"�����)1����%�������M�

�����%��!�n�����#�%"��� � ���#BS���� M�!()1�#TP���������1�%"��������������L������ � � �� ∫�=� �-�#�������)�$������ ��� ���-�� ������������� � � � � ��� �������+�� ��������������������������SZ����������-�� ��� ������������ ����-�� �����Z'��������� &-� ���'�W )(mX'�2TP��������.�P�

Page 130: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !"*

������E�����1��n��� �����L������Y� (B����� � �� ∫���� ����-�� �������-� � �� ����(m������������@ �%���#���@A����� P��� � � �� ∫�A� �����@"� ������@ �%���#���@A����S�n��� ���@A� ���!�.TP�� �� ∫����#����������-�� ����@"� ������E���E�

•� �>������� ����)�$��3��� '�,"����-� � � #����" � ���� ���� �����"�����*$���� ������� �I�" ��"����#��,"�����)1����%�/�����M�

�����%��!�n�����#�%"3��� ���#BS���� M�!()1�#TP�����������1�%"��������������L�������� � � ∫�=� �-�#������.����-�� ��� ������������n3����#�&�#��S@ �%���#��(�n�&��(�=��"�T�� ∫���� �������*$��� ��K�����@"� ����������������n3����#�&�#��S!�)%���#��(�n�&��(�=��"�TP�� ∫���� �������*$��� ��K�����!�)�����P�

•� �>������� ����)�$��������"�����������-�� �'��� ��� ��� ��"���)� � ���-�� ������ �I�" ��"����#��,"�����)1����%�������������M�

�����%��!�n�����#�%"��������������#BS���� M�!()1�#TP����������1�����%"��������������L����� ∫������-�� ��$������� �������������%���#��������MY�!�)%���#��� ∫�����#���������" #����������� ����!�)�����������������O� � � � � ∫���+"�"����� ��" �)��#������.#�*$�����������@ �%���#�������P� � � ∫�����������@"� ����������@ �%���#��(��P� � � ∫��������@"� ������������%���#��������MY�@ �%���#�P�� ∫�����#���������" #����������� ����@"� �������S���� � � � ∫������������" ��#������ ����#� ���-�� ������������%���#��������MY�!�)%���#�P�� ∫�����#���������" #����������� ����!�)���������������P� � � � ∫��� ��� ������#� ����$�O@@@S���@@@������������P���P�

•� ��������-� "�+ ����

•� �� �#� ������ +� �� ����" �� ���� ����#�� �������"��L/��������

��� ����������������

(� -� "�+ ��� ,"�� ���� +� ��� ���� �� $�� �� +� ����� ������ �� �����'� ����� K� "����� ����� ��� �� � #�� "/��'� ��� ��K�� ����� �� ��� ������ ���" ��� ��#��� �� ������� ��� # ��*$�� ��� �� �M�

��� ��������-� "�+ ���L������'� �� ��������� ��L/������P�

7�� 4� ��������)1������.��������'�]%�O������ �)����� ����������1� �� ������������1'������)����� ����'�� ��������/���������#����" ���� � �������#� ���P�

9�� 4�� ��������#>�������� ��1������)�����#� �����*$�� ���'��/P4���P�

Page 131: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !"!

:�� 4�� ����������)�8��'����.������������)�$���� ����#�� ���-� "�+ ��P�

��� &�� ��������"����� �#��� ���M�����0 �#��" ��&5&�&('������#�� �*8����%�����S�� �#��" ��&�#��S�� �������#�M�&��� TP�T�������%��!�n3����#�&�#��S�� �������#�M�&��� TP��������!�)%���#��(��P�� � � ∫��) ������)�������!�)�"��#��(��P���!�)�����(��P���!�)%���#�����m��S������#�TP�� � ∫�0���#�������)����%���#����������#��������������L�����P���E��)��0 �#��" ���� �����'�������������������)1����n3����#�������%��!�n3����#��� �����S���� M�!()1�#P��� ��#��M�!������#��TP����������!�)%���#�������P�� � � ∫���#�������)���������!�)�"��#�������P�����!�)����������P���P��

;�� ��������#� �������-� "�+ ���#� ���� ��1/��������

•� ��� ���� '���#I������#� ���� ���� �1����� ��� ���� �1��'��� ��" ��#�-� I#���-�����/�������#>�����#� ��������-� "�+ ���L���������

�%�����#����#P������1����%�����O�!����'�O�0 �#�'���������'��������'�G ����#�'��� ���'����� �'��������'��%'��%!�)���'�G ���'��%G ���'���� ��'�%"��'���3.� ��'��%� ��P���O����!�n�����#�Y������S!�� T������%G ���M�!�%G ��P�������%���#�M�!�����" #�P�����%"��� � M�!%�%P�����%"��#�� M�!%�%P�����@ �%���#�M�!@"� �P������%5������ �M�!�%5������ P�����!�)%���#�M�!!�)��P�����%"3��� M�!%�%P�����%"�����������M�!�����%"�P�����!�)%���#��(�n�&��(M�!� ���������P�����!�)%���#�5(�n�&��(M�!� �������P�����!�)%���#�!&0n�&��(M�!� �������P�����!�)%���#��(�n��!3GM�!� �������P�����@ �%���#��(�n�&��(M�!� ���������P�����@ �%���#�5(�n�&��(M�!� �������P�

Page 132: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !"

����@ �%���#�!&0n�&��(M�!� �������P�����@ �%���#��(�n��!3GM�!� �������P����������%��%"��� � ���#BS���� M�!()1�#TP����������%��%"3��� ���#BS���� M�!()1�#TP����������%��%"��������������#BS���� M�!()1�#TP����������6���������%���������7

���%���������� �#��" ��&�#��P�����P���������n�����#M�!�n�����#P��� �� ���������68 9��5"7��%�����-��� �'������6 ���������#����5�����7���-3����#P��6.��������%�7������%��!�n�����#�&�#��P��������!�)%���#��(��P������L�����P���P�������%��!�n�����#�%"��� � ���#BS���� M�!()1�#TP����������1�%"��������������L������������������������������SZ����������-�� ��� ������������ ����-�� �����Z'� &-� ���'�W )(mX'�2TP���������.�P������P������1��n��� �����L������Y� (B�������������������@ �%���#���@A����� P�������@ �%���#���@A����S�n��� ���@A� ���!�.TP������P���P�������%��!�n�����#�%"3��� ���#BS���� M�!()1�#TP�����������1�%"��������������L�������������n3����#�&�#��S@ �%���#��(�n�&��(�=��"�T����������������n3����#�&�#��S!�)%���#��(�n�&��(�=��"�TP���P�������%��!�n�����#�%"��������������#BS���� M�!()1�#TP�����������1�����%"��������������L��������������%���#��������MY�!�)%���#���������

Page 133: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !""

���������O�����������@ �%���#�������P�����������@ �%���#��(��P�������������%���#��������MY�@ �%���#�P��������S����������������%���#��������MY�!�)%���#�P���������������P����������P���P������

�78016�%����

��� �(�����

�� �� �� � � ����� ��� ���� � -�#�� �� # �K ��� ��� I�� K����M� "����� � �� -� � ��������5 ���'�#� ���"����������"�#� ���"�����*$�����-� � ���]%��U������ S�����/���������� �1������� � ����#� � ������ #�� �'� ��������/����� �"�� ���#� ������� ����T��(����� � �-� �#�� " � �� ��� � ��� ���> ���� )����� ���� ���'� #�� ���������5 ����� �� � ����"���+ ��'���#I������# �� � ���> ��������#�������������� ����)�#���,"��������� �����#� "�#���

��96����5�����7�0�� 0��

(� �����5 ���� ����"�� ���"�� ���> ���� ��� 8��'� ���� #� �� ����+����� ���%������S �� �� ��� ������ � � -� ��� ��� #��"��T'� �1�Y����� ��%4���� ���� ������� S �� �� ��� ����������� " �� �������'� ����#����� �"��� �"� ���� �)����T'� ��P%���� S�� �� ��,"���� � � -� ������� $�T'�����+����� � �������X�����S �� ����� ���� ������" ����� ������)����" ��� ��+���T���

� ��K�����4��� � ��'�������/������ � � ���> ����#� �������"����#� �#� /��#��M�

•� �� )��*$������������ ���+ �����)����P�

•� ( �� ���� "������ ������������ ��K�������� ������#� ���P�

•� &�� *$�����#�)�*�������� ����K�P�

•� �"*8�������� �'� K���'� +.� ���� /� �P�

•� � ��*$�����#��.��������+������� ����� *$������-� �*8��'�-�� ��� ����������P�

•� � ��*$����� ���> ����������� ��� �������P�

•� 3.�#"*$����� �# ����" ����� ���> ��P���

•� �#�������� ������ ������)�������������'�� ������M��

%��������������,"����4��� � ����� ����#������

Page 134: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !"&

�##���� &-� �.� �@A%����

% ����� &� %���� ��)����

�%7� (4��A3� !� �����

�%���� 0� ���.� � ,"�����!R!�

3.#��� 4�� �� J�-��

��.0 �� ���:22� O�#� ��@A�

&5G43�� �@A��� �� � ,"��,"� �)����#� �� ��� �(�%��

(� �����5 ���� K� " � � ��"�� ���� ���� ��� ���� �'� ��� ��� #� � � � �� ���� �'� ��#I���,"� �"��"� ��#� ����� ��#�*���� ��"�� ��������5 ����)� �#� ������� �)"�*$����� �������"�4"�!� ����

��� ������ �(��������������������&�

&�#����������5 ����� ��K�����/#��� '��"������*$����� �"�� �#������������ �'�$�����Z������5 ���'�������������#�-��" �*$�������*$���������'��� +� �� ������������ �����/#������" ����� ���> ����

��#���� ,"���,"� � ��*$�� ,"�� ��� �*�� �� ����� �� �"� � �#�������� Z�����������@@@'��� ) ��������������������,"��� �#��� ���# �� �" ��#��.$���� ���������)������������'�� ��������� )�$�� .N� �� �-� �� .� M� ���#��00'� $O�M� �%��3S&��0&T� �� ����� ��� ����M��Mk�&�!3��k����&��('�� ���������)�$��5������V���

5�� �"� � �#����� ��*$����� Z�.N@@@'� ��#����� �� ��*$�����% ���������'� #��,"�� ��)�$��5�O������#���������������� ���> ���,"�� ���������� ������#������#I�����1������� � #� �����������#�������#� ����-�"��� ��K�������*$��W������1�%���#��,"����)�$���V'���#��,"����)�$���V��������"��������� +� �� ���M�

Page 135: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !"#

$����������#���'� � �����"���� ���)������"�# �����B��� ��������

5����������� ��'���������.#�"��# �K �����������*$���

5������������#���'� � �����"� �� �������������� � �� ����������

������1�������� ������ ������������#��#"�������� ���" ���#��"������ ���> ��'�)�������� �#� ������@A��"������"��� ���� �# ��4��� %���#��

������������������ ��'�������"��.#�"���� �+�������� ���> ����3������ �+��������� ��� �# �������� ������ ���# �K �������#�+"�"���5���������� ��������#� "�*$��� ���������5 ����������������

�����������%�������G "���������������# �K �����������*$���

5]2���0� ��������*$�������#�� �*$���@A��� ���� ���> ���#� ����

��� 0 ���������)�$��$������

7�� 5��#��.�������+�����$����'�� ���������)�$����������@@@�

9�� 5�� #� )�� ����������D� ����#���� �� #��.$�� ��������� �� ����#���� �� �)����������@��� �� � ������� �� )�$�� �V'� ����� �� ��� �*$�� �� �� �)���� ������@��'�#�-� ���� �� ���������� �� ��

:�� 0 ���������)�$�������N����U@@@��

��� (� ���#��� ���� ������������������K�� ��K�����#� ���56RL��$/R'� � ,"���� ��*$�� 6���%�� %� ������ ������� S�#�"�� ��� ���� ��� $�� #� ��������T� �������������56��S��'�#�-� ���� �� ���������� �� ��

;�� ����#�������)������56��S������ ���������)�$��$�������% ��@@@�

��� ����#������#� ����$L������� � ,"������*$��/S��%��1�� �������S �� ����� ���> ��T'�#�-� ���� �� ���������� �� ��

Page 136: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !"T

<�� 0 ������� �� )�$�� ������ ��������� �� # ��� ��� �� �+����M� ���6������� �� ��������� )���#� �����*$��$O����"�����.% ���������*$��/���O���"�����$O�8����

��� 0 ���������)�$��5����������#��,"����)�$��� � ���� � #����#� �!@�����#���������*$�� ���� �������� �������� �� � ,"�� �� ���"��� # �K ��M� ����� 1������56��S��@���L�65��� ��� ��N�� ������ �������� ���6������� ���� �����������������������

�2�����,"����)�$��5������'� � ,"����#� ������L�65��� ��#��,"����)�$��6��������������������S��� ���� ������������� ���*$�T��

�������,"����)�$��5]2���#� �� ������#�� �*$��# ����M�

�3A3�!�Z%��&�(.�%Z�Z�(�n�&��(Z'�Z%��&�(.�%Z�Z5(�n�&��(Z'�Z%��&�(.�%Z�Z!&0n�&��(Z'�Z%��&�(.�%Z��&Gn��!3GZ'�Z��!3G(4.�%Z�Z�&Gn��!3GZ'�Z��!3G(4.�%Z�Z�3�n��!3GZ��4(��Z�Mk�&�!3��k����&��(k%��&�(��%Z�%��&�(.�%�A3�!�E(&5�Z�Mk�&�!3��k����&��(k��!3G(4��%Z���!3G(4.�%�(5�SZ%��&�(.�%Z�Z�&Gn��!3GZ�Y�Z��!3G(4.�%Z�Z�&Gn��!3GZ�T�O?343�SSSZ%��&�(.�%Z�Z�(�n�&��(Z�%3!O335�``���&�#���__��5��``�������__TTT��(4�34�%l�Z%��&�(.�%Z�Z�(�n�&��(Z��

�7����-� ���� ���> ���� �����������)�$�������&-� �������������#�������-���������"� ������� �*$����� ���> ����

��� ��0 ������� ���������� �(����

�# �����,"����������" ����#I�� �" �)�����/#������ ���> ������ $��'���� ��� � ���,"����� � ����"��#� ����,"��$��-�#� � ��� ���M��

��� ����#�������#� �����&Gn��!3G�S�����/"���,"�����������T���� ��������/2��

7�� ����#����������������#� ���5(�n�&��(���� ���������)�$���� ������� �"��'�����#���� �� ��*$�� ���� 0����� �� � ,"�� �� ��*$�� ���� R��N� S ��� ������ ���� �+����#�-� ����� ���T�������5����U�S#� �����#� �#� ���$��� � � /����T��

9�� ! �,"�����/"�������#����#� ����� �M��>����'�5� �'�!����������� ����S)����#��#� ��"�����������) ��#����/"��T��

:�� ! �,"����/"������ ���> ����� �M���������������f���

��� 5�� �"�����#��������*$��6����� e����@@@'�����#����5O�� �����'�������#������#� ������������:$� '�� ���������)�$��6�������#��,"��� �,"��,"� �����*$�������*$��0�����

;�� �� �� ����� ���� ���> ����� ���M�

Page 137: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !"(

�������� ���> ����� ����#� ���� �����4�����!�40!�

/����� �������� �(���� �� ���� �����

�� �� �� ��-/#��� 1+� -��� ��������� ��� �� ���� #�� � � �� ���> ��� � ��K�� ��� ����� �"�� �#�������

��� �� �� -� "�+ ��� - �"� �� ��� �� �� �)1��� 4��� � '� �#� ���� �������������������+���������#�'������)1��� ��������� �)��������#�-��" �*$������ � ���� ����

��� ���,"������*$��C��-��" ��& � ���� �D�#�� ���������������#BP�

7�� &�� ����#� ����

�����%��!���"���-�" �& � ���� �����#BS���� M�!()1�#TP����������0 �� ��"���������3.�#"�P���P�

� �� � ������ ��" ��1������� ����������+����'���������#��� � ���" �#>�������#������-������ �����#>�������������

•� &�#��� ������,"�� �� )�$�� � S5�L��� T� ����������'� �"� �� �"� � �#����� �����,"���� �"�� �#���������*$�������.N@@@'�� �!�������'����+����!����#��,"�����)1�����"�����5��������� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

%� �� ����� )�������� 3��������)� �������)1���

������ & � � ������� ��G� ��� A�)�������)1���

5� �� �n��G� ��� 5� ������)1���

0������ ���# ����� � 0���*$������)1���

•� � ����� ����������1�����������"�����)1���M�

2����SA�#�����������+����5�������T���# ��� I���)1������)���M�

0 �� ������� =��� � ���# �*$��

������ W�X��&-� �����>�����������H����� � � � P�W7X��&�#���M���W9X������M�

A�)�������)1���

��� W�X����������� �-'�5�� ��'�<'���"���� ������W7'9X����������� �-'�

!��������� ������ � �� �������)1���

Page 138: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !"-

5�� ��'�<'��������

�������SA�#�����������+��������������T���# ��������)�8����� ��#�-� � ��"�#�#��� ���� ���$����� ���> ��M�

0 �� ������� =��� � ���# �*$��

m��� )B(B���)B��#��� ��� �����#���������� �"��������������)1��'��"� ��#� ����� $����� ��������� �� �������M��������'�R�O������������%���

������ p(m���p��#��� � A�)�������)1���

/����SA�#�����������+����5�������T���������)1����������*$���� ����� *$�����#>�������#������-���M�

0 �� ������� =��� � ���# �*$��

!�.� �� !�.������ ��� ���������#��� ����� �����)1���

��� ��������� �-'�5� ��'�<'���"���� �����

!��������� ������ � �� �������)1���

�� �� ��#� ���-� "�+ ����)��.�M�

���� � �����!���$�)����

�������� �����"� �����������-� "�+ ���#� ���� �����-��G� ����

0� �� ����#��� ��� ��� #>������ ��#���� �� -���'� � �#��� ��� -��� � " �� ��,"���� �� � �*$����-� "�+ ��M�

•� �>������� ��# �� ���������#� ����,"������ $�����#>������S�� ) ��������#��/"���=&&� ��4�-� ��������"���TM���� ��� ���� �������/����������� �������"���#>������)��.�M��

�������������1%�������G����&�#���M�5�����P�� � � ∫�&�#����������-"*8�������1%�������G��������M�5�����P����%���������������O��� �&�#���M�5����������G����&�#���P�� ∫�� �������#� �#� ������� �+����'�����������O��� �����M�5����������G��������P� � ����������#� ����/�������P���������n��G� ��M�!�n��G� ��P�

Page 139: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !"�

�� �� ���������68 9��5"7

�1%�������!�n���G� ���G����&�#���M�5�����P���������4��"��MY�3����!�.P�� � � � � ∫�3����#� �� ��"�������#��6���������P� � � � � � � ������)1���3�����1%�������!�n���G� ���G��������M�5�����P���������4��"��MY�3��7�!�.P�� � � � � ∫�3����#� �� ��"�������#��6��������P� � � � � � ��������������������)1���3��7�

0� ��# /����,"���� �*������K�"��'���� ��#�� �����)1���-��"'���� �����)1���4��� �

'� �#� ���� ���������� �������� �+�������� &%%���'� ���� �)1��� ������� �� �)����� ���#�-��" �*$������ � ���$���

��� ���,"������*$��C4���> ���e�G� ��D�#�� ���������������#BP�

7�� &�� ����#� ����

�����%��!�n��"�G� ������#BS���� M�!()1�#TP�������1��n��G� ������L������Y� (m����� � ∫���� ������ �-�#���������G� ��� �� �"�(m�����N����4��� ����� � � � ∫�0� �����)1���4��� ��������������������4��� 5� ��MY�Z4�����!�40!ZP� � ∫���� ����� �� �������5� �����4���> ���������&����=��"������� P� � � � � � ∫�3�� ���������� �����#�����������&����=��"������SZ^���&�#���Y`Z\�n��G� ����� �&�#���\Z_ZTP� ∫����������� ����&�#��������

���> ���#� ������� ������ �&�#�������-� "�+ ���-��G� ���������&����=��"������SZ^�������Y`Z\�n��G� ����� �����\Z_ZTP� ∫����������� �������������

���> ���#� ������� ������ ���������-� "�+ ���-��G� ���������4"P�� � � � � � � ∫�&�#����� ���> ���������P���P�

���������.�#"�������� �'��-� �� �#������-� ������ ���� ���> ����

+��������#I�,"�� ��,"����4��� � ���$���.�#"��� ����� ����� ���> ��� �� ��������" ��� K���������� ���-�,"����� �� �����������)1��������!������������� ��4�����

+� =�#I� ���#�) � +� ,"�� �������5 ���� K� " �� ���� ���� �� �� ����� -� � ��� �� �� ��#�#��*$����� ���> ���'���6�#��� �)�� ���� ���#� � ���> ����,"������ �#����� � � � �" ��6�#���"� ��"#��� -�����'� #� �� " � �#�)�� �"� " � -� "�+ ��� � K�� � ����'� ��#I� ���#�) � +� ,"�� ���� K������� �������� �-��'��.��� ��"������"*8����� ������#����"�� ���)�)����#������������"�"�� ���� � ���$����� �����-� "�+ ���#� ���� � ��������"� ���

Page 140: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !&*

��������� �� �;����%���$�)����

0� ���������� >.� �� ���> ��'�� �#��� ��������� � � � � ���#�������" ���'������#I� ��� ) ����-���-���� �������� �" �#� ����������%A(%�#�� �����(!n��0�'���� ,"����%��&�(��

�� ��K��� K� �� ����'� #�� "� � " � -� "�+ ��� � � ) �#�'� �� � )� ��'� ���� �� +� #�� ����� ��K�� ��� �"� � �#����� �� ����#����� �� �-� �*$�� ��� #>����� ��� ��� �� � � � � '� ����-� "�+ ���� +�����)1��������#�������!�)����S4�(�������������%�T�����#���������)1����%& ����

'��#� �������������������������+���������������'�#�-� ����-��" ���)��.�M�

•� &�#��� ������,"�� �� )�$�� � S5�L��� T� ����������'� �"� �� �"� � �#����� �����,"���� �"�� �#���������*$�������.N@@@'�� �!�������'����+����!����#��,"�����)1�����"�����5��������� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

%� �� ����� )�5��� 3��������)� ������-� "�+ ���

������ � A�)�������)1���S!� 1����"�����-� "�+ ��T�

5� �� �n����� 5� ������)1���

0������ ���# ����� � 0���*$�����1�����S#� �������T�

%� �� &#��� WX� 3�� �����������)�8������1�����

���� � #�O���� �� ����-"����

•� � ����� ����������1�����������"�����)1���M�

$����SA�#�����������+��������������T�'���� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

���)���5� �� %������#�� 5� ������������"�����#�����*$������� �> ��������)�����

!�)��5� �� %��&�(��%� 5� ���.� ������)����

&��.�����5� ��� �(�n�&��(� 5� �����#� ������.����

5� �� !�)%���#�� 5� ������)1���

Page 141: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !&!

4���(��� ! "�� �� ����� �����" ��

����5�%���SA�#�����������+��������������T�'���� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

������ !�)%���#�� 5� ������)������#"�����

5� �� ��%���#�� 5� ������)1���

��6 ���SA�#�����������+�����������������T�'���� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

�����" #�� ��%���#�� 5� ����������" #����#"�����

��������� �(!n��0�� 5� �����#� ������)����

?����� :��� A� �" ��

� �#�� ! "�� ������ �������� ��� �������#� ���� ���� ��������)1���

O���� :<�� ��" ������)1���

+�(�� �������� ��� �-���#���#����� �:���.�:<�������� �� � ���� ������ $��3�������'� ��>�� � � ����'� K� �� � ���� ��� #���� ��� ���� Q� �#���+ ��� ,"�� ��#I� -�*�� ��� �1"�����#���+ ������ ���������� ������� $������"��� � ���� ���

+�� ��*����� �������-� "�+ ���� �#�1"������ ��������)1���� ��� ��

��������-� "�+ ���#� ���� �����-������

��� ������(����

(� #>����� �� �� ���� -� "�+ ��� �� �"�� #�� ���� �� �� � � ��� �"� � �#����� K� )� � ������ �����,"���� ����������� �� ��'��� �-�,"�M�

•� 0� ���� �"�� �#�����

•� �>������� ��# �� ���#�� ���M���� ��� ����-� "�+ ���-��"'���#��,"������*$��C����������D�M�

�����%��!�n��"�������������#BS���� M�!()1�#TP���������5" ��M�5�����P����������5" ���MY�&�"%�.SZ&-� �Z'�Z3 ��#� ���#>������������� ��� � � � MZ'�ZZTP������1�5" ���Y�ZZ��������������������������������SZ5$��-����-� ����" �#>������� ����� � ���$�Z'� &-� ���'�W )(BX'�2TP����������.�P�������P������n�����&�#��S5" ��TP���P�

+� (� #>����� �� �� ���� ����� K� )� � �� ����M� # ��� " �� �� �+���� #� �#� � �� ����#��� ��� ���������"����� �� ��K�����-"*$��6��%���S'�#����$����1�� �� ������" ����� �#�#������

Page 142: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !&

� � ���$�����#� + ���#�� ����� �#��� ���C��#��D����-� "�+ ���C�n����D�������������� ��-� �����

+�5$�������,"�*�����#���#� ���"������-�������#� ����W����

•� 0� ����-� "�+ ����n�����

•� �>������� ������#�� ����� �� ���� � ���$�M���� ��� ����-� "�+ ����n����'������ ���� ���� �����������/������M�

�����%��!�n�����&�#��S5" � �M�5�����TP����������!�)%���#��(��P������1�����!�)%���#�����m��SW� !�����S5" � �TXT����������������������SZ�>�������������.�����fZ'� 3 � '�W )(BX'�2T���������������������������LP����������1�����������SZ��-� ����� � ���$����������FZ'� ��-� ���'������������ )(B��#��'�2T�Y� (B��������������n�����0 �P��������P�����!�)%���#�������P���������P���P�

+� (� #>����� �� �� ���� ����� ��� ��� K� )� � �� ����M� �) �� �� �)���� �� ���,"���� ���.��I#��� ��� #>����� ������'� #���� �#� �� �� �� �� #���� ������ �� ����#��� �� #�-� �*$����� ���> ��'���� � � �����-����-�#������)��������-� "�+ ����

+� 5$�� ��� ��,"�*�� ��� ��#�� � � �� � �#��� ��� ��� ��#�� �*8��� �%������ S�����%��&�#��S5" � �M�5�����TPT�

��96����5���H1 5E��7�0�

(�@"�#B4��� �K�" �� ��"��-� �#���������@���S@"�#B���-�������� �T�� ��� �$��� ��L� ���� �������� ��������� �$����� �L� ���� �������� �1��'������������� �,"��K���� � �� ���� ��� � ��� ���> ���� ��� ��� � ������ �� �)1���'� �� #>����� -���� �� ���� ����� @"�#B� ���#� �� ��������.�#"+����$������������#���������������#� ��� �� ,"������.� ���S#� ��K���#�������4��� �� ��T'�����)1�������@"�#B��$��-� �������������"���)���M�

(���)1����#����������)�����$�M�

Page 143: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !&"

•� @"�#B4��� �

�(�#� �����@"�#B4��� ����� �����+���������#� ������� ���> ������"� �)�����K� ��-� � ���-� "�+ ���������� ��� �" � ���> ����0� ��" ��� K������� ���> ���S� � �������#�� "*$�T�)������ ���� ����� �" ��"����#��#B���) �����)1��� ����� ) �����,"�����#>�������� �� ��� ������ $�� �� $�� �.�#"������ �� ����� �����+���� ����� #� ���� � �#����� ��� ���> ��������,"����� �" �-� "�+ ���,"���� �� +����)������ ���� ���> �����"���������#� ������������"����������

•� @4%���

� J �� )���� K� " �� �� ����� �����$�� ��� ���> ���� " � ���> ��� �� +� ��������� � ���-� ���� �� ��� �� �� �� � � ���$�'� ���� #� �M�������'���)�*����� ��� 0+���'�4����K'�G "���'��#�����"����������)������$��� � �������"� ��#� ��'��,"���,"���" ���������#����� ����� �)1����]�R��%�� �"�]������2��U� �� �� ��"� #� ����� Q� ����/���� � )K � "����� ���� ��� 6�������)��������" � �� �������

•� @4G �"��

� (�� � "���� ���� � �� � -� ����� #� � �� �"./���� ����� #� ����'� ��� "������ ���#�)�*������� ����K��� ����#� �������� "����Q�����/����# �� ��� +.� ���2�/�����S��� �� ������0������� ������2����T������,"�����/����� ����)��.����� �� ���� � ���$������ ����������

•� @4�����A�B�

�(�#� �����@4�����A�B�K�"������� ��# �� ���-� ����������������������

•� @4A�)���

�!�.�����+�#���� ���> ����$��-� ����������#� �����@4A�)���)�������� ������� ���-�#� � �� � �� ������� ��������� Q� ����/���� � )K � ���-�#� � �� � �� ������� �������" ������� �*$����� ���> ���

•� @4�� ��

�(�#� �����@4�� ����"������� ��� � � � � "����������������" �#� �����

•� @4�%!�.�

�3���#� �����K� �����+���������� � ���$������#� ��������� ,"�������

•� @4�%���#�

��� �����"���������� �� ������ �#+�#"����)+��#����" ������� �*$����� ���> ���

•� @4�������

Page 144: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !&&

� & � � �� �+ ���� �-� �*8��� ��) �� �� ���� �� ���� #� �M� 6 � �� ��� �+���'� ���'��� ���"�/"������ ���> ����

•� @4������

�J���������� �������� ��� �����-��" ������ K �#�����

•� @40 ����L�

�3����)1���K� �����+��������� ���-�#�*$����0 ����L���� $����� ���> ����

=� ��� ��� �� ������ � " � �.� ���� �� ����� �� � +�#�� #� � �� @"�#B'� # ����� �� �� �� ���> ��� � ������ #� � �� ������ 5 ���'� ����� ���� �# ����'� ,"�� ��#I� ����� #� �� � � ��-�#������������ )�������� ��� ����

��� &�#��� ������,"�� �� )�$�� � S5�L��� T� ����������'� �"� �� �"� � �#����� �����,"���� �"�� �#���������*$�������.N@@@'�� �!�������'����+����!����#��,"���� �)1��� ��"����� 5���� �� ��� �� �� � �� ������� ����� �� �� L������ �� ������ ��-� "�+ ���#� ��1�������

7�� ����,"��������"�����)1������-�*��������"������� �*8��M�

]%�O�SA�#�����������+��������������T�'���� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

���)���5� �� %������#�� 5� ������������"�����#�����*$������� �> ��������)�����

�@A� ����#�%����n���#�'�%�5� n���#�'�%�!��n���#�'������n�����- � �%���#�����%���-�1�������� ��������S%����n�����Y������n����T�L�� ����%����n���#��%�L���M���2�����M���27�� �� �)��%����n���#��

��+"�"������#��"���

0� � �� �#� ��� )������#� ������ ������$O��#� ����������

0� V � �����#��"���

5� �� @ �%���#�� 5� ������)1���

����5�%���SA�#�����������+��������������T�'���� ��������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

������ @ �%���#�� 5� ������)������#"�����

5� �� ��%���#�� 5� ������)1���

•� ]%��U������SA�#�����������+����]�����T�

0 �� ������� =��� � ���# �*$��

�����" #�� ��%���#�� 5� ����������" #����#"�����

5� �� @ ��-� �� 5� ������)1���

4��� !���� ����� �������u�� !/"������4���� ���

•� 0� ����()1���]������SA�#�����������+����]�����T�

0 �� ������� =��� � ���# �*$��

%��!���� )0���?���� � !�������)����S��)�*��������0+���T�

Page 145: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !&#

5� �� )���)�#����� 5� ������)1���

���� � #�5���� �� ����%����

•� 0� �� ��()1���]�5O������ SA�#�������� �� �+����]�����T'� # ����� #��#���� �� �� ����)1��������������

0 �� ������� =��� � ���# �*$��

����!�%��� ! "�� ������#����� ������)����

�"������ ! "�� �� �������"� ��#� ������ ����

���� , �4��� !���� !���������������� � �� ����

��� � ���'��:'�5�� ��'�% �#�� ��������)1���

���� �� ���� � ����� �������)1���

•� 0� �� ��()1���]�5O������ SA�#�������� �� �+����]�����T'� # ����� #��#���� �� �� ����)1��������������

0 �� ������� =��� � ���# �*$��

����!�%��� ! "�� ������#����� ������)����

�"������ ! "�� �� �������"� ��#� ������ ����

���� , ����!� �� !���������������� � �� ����

��� � ���'�<'�5� ��'�% �#�� ��������)1���

���� �� �4���E"��-�� ����� �������)1���

•� 0� ����()1���]������SA�#�����������+����]�����T�

0 �� ������� =��� � ���# �*$��

%��!���� )���" ?���� � !�������)����S��)�*�����������"�T�

5� �� )���)���"�� 5� ������)1���

���� � #�5���� �� ����%����

A�B%��� )���)�#����� %����������I��#���

•� 0� �� �� ()1��� ]�2���� SA�#�������� �� �+���� ]�����T'� # ����� #��#���� �� �� ����)1�����������%���

0 �� ������� =��� � ���# �*$��

������ �>����� A�)�������)1���

��� � ���'��7'�5�� ��'�% �#�� ��������)1���

•� 0� �� �� ()1��� ]�2���� SA�#�������� �� �+���� ]�����T'� # ����� #��#���� �� �� ����)1�����������%���

0 �� ������� =��� � ���# �*$��

������ 5� �� A�)�������)1���

��� � ���'��7'�5�� ��'�% �#�� ��������)1���

•� 0� �� �� ()1��� ]�2���� SA�#�������� �� �+���� ]�����T'� # ����� #��#���� �� �� ����)1�����������%���

0 �� ������� =��� � ���# �*$��

������ !���� A�)�������)1���

��� � ���'��7'�5�� ��'�% �#�� ��������)1���

•� 0� �� �� ()1��� ]�2���� SA�#�������� �� �+���� ]�����T'� # ����� #��#���� �� �� ����)1�����������%���

Page 146: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !&T

0 �� ������� =��� � ���# �*$��

������ ����� ��� A�)�������)1���

��� � ���'��7'�5�� ��'�% �#�� ��������)1���

•� 0� ����()1���]������SA�#�����������+����]�����T�

0 �� ������� =��� � ���# �*$��

%��!���� )������ !�������)����S��)�*�����������"�T�

5� �� )�������� 5� ������)1���

A�B%��� )���)���"�� %����������I��#���

•� 0� �� �� ()1���]���$S�� SA�#�������� �� �+����]�����T'� # ����� #��#���� �� �� ����)1�����������

0 �� ������� =��� � ���# �*$��

�"������ ! "�� �� �������"� ��#� ������ ����

�����" #�� ��%���#�� �����" #����#"�����

��������� ���n���#�� �� �����#"�����

•� 0� �� �� ()1���]���$S�� SA�#�������� �� �+����]�����T'� # ����� #��#���� �� �� ����)1�����������

0 �� ������� =��� � ���# �*$��

�"������ ! "�� �� �������"� ��#� ������ ����

�����" #�� ��%���#�� �����" #����#"�����

��������� 5� n���#�� �� �����#"�����

•� 0� �� �� ()1���]���$S�� SA�#�������� �� �+����]�����T'� # ����� #��#���� �� �� ����)1�����������

0 �� ������� =��� � ���# �*$��

�"������ ! "�� �� �������"� ��#� ������ ����

�����" #�� ��%���#�� �����" #����#"�����

��������� !��n���#�� �� �����#"�����

•� 0� �� �� ()1���]���$S�� SA�#�������� �� �+����]�����T'� # ����� #��#���� �� �� ����)1�����������

0 �� ������� =��� � ���# �*$��

�"������ ! "�� �� �������"� ��#� ������ ����

�����" #�� ��%���#�� �����" #����#"�����

��������� ���n����� �� �����#"�����

� �� � ��� " � ���> ��� �� ����� #� � #�)�*����� S%���)�#����T'� & � ���$�� ���� ������������� S)�������T� �� ����K� S)�4�����T'� �� � �� � ��� �������*$�� ���� )����� $�� � �� �'� ���)1���@"�#B4��� �K� �����+������ �����#� �����

���-�����#� ����������� ����,"��-�,"���� �����������M�

Page 147: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !&(

9�� 0� � �����# /����,"�������������� �#� ������ ���> �����+�� ��'�� �#��� ����� ��� "�� ���#�� �������� � �����)1����n��"�S�� ����� � ������)1����n��G� ���# ������� ����"���#� ���������5 ���T�#�� ����� ������)1���L��%���#��,"������*$��C4���> ���e�G� ��D�#�� ���������������#BP�

:�� &�� ����#� ���������%��!�n��"�G� ������#BS���� M�!()1�#TP�������1��n��G� ������L������Y� (m����� � ∫���� ������ �-�#���������G� ��� �� �"�(m�����N�����n4�������� � � � ∫�0� �����)1����n4���������������������@ �%���#��0� � �W2X��������MY�� !�����S�n��G� ����� �&�#���TP�∫�3��������� V � ����������@ �%���#��0� � �W2X��������MY�� !�����S�n��G� ����� �����TP��������@ �%���#��(��P� � � � ∫��) ����@"� ���������@ ��-� ��0 ����LP� � � � ∫���� ���� ���> ���� ������������@ �%���#�������P� � � � ∫���#�����@"� ��������P���P��

0��� �� ��� -�#� �# �����CD� �������� ���> ������-� ���� ����� ���� � K����K�,"����#I��I�" ������������� �> ���W�� �> ������&����*$��������� �Xk�� ��k@"�#B4�����.�#"����� �1���]�� �@�����@"��,"� � �" �� �-� I#��� ����� �� � �#� ���� �� ��#" ���M���� ,"���#� �������� ��"�'���� ,"����]����%��@�����

+� (� "�"+ ��� ������� � 1�� ����� -�#� � ��� �� �"���� �� ,"�� ��,"� � � �"� �� ��� � ��"����� �" ��" ���� ��� ���� ���> ���,"���������� ��1+� ���� �"�� ����������5 ���F�(�� �)�� ��,"���#��#����� �� ��������� �)"�*$�����" ����� ��� ����� ��,"��"������ ���> ������ ����� #� � �������5 ���� ���� �.���� " � "�� �� �� �� �.�#"� � S��� �)"/��� � �"�� ���������� �$����2�,"������� �$��7�2T��#"����� ��������*���� +,"���#������

+�5�#���� �� ��'�$���� +�� �#�����,"�����#I������ � ���-�������C��������D���-� "�+ ����.�#"� ������� ���� ���� �#� ��-�#�"'��� ���� ����I�" ��"����#��,"�����)1������� ���> ����� +��"� ��#� ����� �����������"������,"�����������# ���������-� "�+ ���$���� $���.�#"������

��

Page 148: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !&-

�78016��(�

'$������ �

3��� #��/"��� -��� ��� ���� ������ �� �� ��� � ,"���,"� � �6������ �.������ ,"��� ������������ ����������#�*8���,"�������� � "�� /����#� ������� �'���� � �� ���� ��$��-����� �������������� ������� �1�����������#������

��N1��O��160 �8� �L�

�"�� /������" ������#��*$��,"����#� ��#� ���"������� ����'������� ��� ���'���� I����������� ,"�����,"�����"����� ������-� ����������#�*$���$�M�

��� �����=&����#�"������ ��"*8�������/�����

7�� �����&����� ,"������� ����� ��"*$����� 6��#��"������������ -�#�����&� " �����"��#����������������'��"��-� ����&�&��

9�� ���� O�=� �� ���� #� "�'� �#�"�� �� ���� �� ��� ���� "�������� �� �#���������# ���-Z��O�=3���

(� � �)�� �� � �#����� ,"�� �#� �� ,"��� �� ����#�*8��� "�� /���� K� �� ����*�� -/��#���#"����'� �� � �.� ���'� � ,"����� ��� �����=&'� #� �� ���� " � -�� �� ��� ������ " � �"�� �"� ����������#"�� �#� #�������)��"��K� �� ���2�)��������*��� ����#����

"���&�� ��'$������ �

(� �)1��� !�����0���� � '� �#� ���� �� �������� ������/� �� �+���� �/����'��� ����� �#���������� ,"����� "�� /�����(�#� ���� K� �. � � ��� �� ��������� -��'� K� -+#���# �� �����#�*8���,"�������� ��� ��"�� ������ � ��� ���#� �������" ���"��"������������#>�������

� ��K��������)1�����#I� � ��#�������#� ������ ����� ���� �� ���� ��K�������&�S"�����������������%�T��3����� ��������� ��� �� �� � ������� ���#���� ������������)����������� "��� "�� /������� ������)1��������� ��������� � ��. � � ����� ��������"�������� ����"�"��'�#� ���� � ��������"� ��

�������-'�� � <���

0� ��# �� �" ���� ���������#�*$�� "�� /����# ���" ������ �1��'���� �������)1��� ��� ����-� "�+ ��'��"� ��#� ���K�# �����" ��)� ������ �-��� "�� /���'�#�-� ����-��" ���)��.�M��

Page 149: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !&�

���,"�� �� �)1��� �� ��� �� �� � �� �������5���!���� �� ���MkO&5�(O�k�?&�3��O�=����� � �� ������� ����#��� �� � ,"����� ���� �=&'� �&�&� �"�O�=3� ��� �� � )K � �� � �� �������&���'������ ��4���'������ �� ���������#����"� ��#� ������ ,"�����

������� ��� #� ������ ����� �� ����� ������� ��#I� 1+� ����� ��� � �� � �� � ��� 0 ������� ��)�$���� ����� ���"�� ����� ����� ,"��������#�������������� �������#I�$���"��"����'�$������������ ����#�"���������� �" �������� �)�� ���

��� =�#I�� �"�#� ���� ������ ,"������+������

7�� ��"����� ����� "�� /����$����+�#� ����

9�� ��� �� �������&���'����$����+�������

+�4��"��������I�#����#� � �#� �� ,"������&�&��"��=&��

����� ��� ��������� ����������$������

�������������#� #"�V#����K�� �-� /����,"����� ,"����$�����1���� � ���)� �� ��������� ,"���� �� "�"+ ��� #��#� � � � " � ��� ����� )�$��� &��� ����� �� � �)���� -�#�� ��� ���-�#������� �� �������&���'������ ��5��������������(���#B����)�$����� �������"���#� ���M�

�����%��!�� ��%"�����#BS���� M�!()1�#TP���������������0���� ��(��P���P�

0��� ��� � )K � ��� � � �� � ,"���� �� ,"��� ,"� � ��� �"�� '� �� �� ���� ��� �� �� �)1���

(��������� '� �#� ���� �� �������� �������� �� �+���� �����#�'� �� " � �)1��� ������#�-� ����-��" ���)��.�M�

0� �������������#B�����)1���5���������� �������"���#>����M�

�����%��!�� ������#������#BS���� M�!()1�#TP���������������0���� �������P������1�(����������3.�#"����������������

Page 150: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !#*

�������������0���� ������5� ��MY�(��������������5� �P��������������0���� ��(��P�������P���P�

J � �1"��� ����� �� � -���� �� �� �� �� � ,"�� �� �)1��� ����*$�� ���� �#����� ������ ����.��8��� �=&� '� O�='� � � �&��� 0������ �� � #���#���� ��� �"��� ��� ��� ��-� ���'� ��� �� �������5����������)1������������!M�

���� ,"������"�� /����So����P�oL��P�o� ��T�e�o����Po�L��Po� ���

7�� � ,"�����=&�So����T�e�o�����

� � ,"����O�=3�So�L��T�e�o�L���

� � ,"�����&�&�So��&�T�e�o� ����

+����)� ���S�e�T��$��"����������� �������� ��"�����*8��M�5�����!������5�������

��=$�� ���� ��)�������������$�-����

J ��� �� �� "����� ��������" �� �� � �� "�� /���'���" �������� ����,"��,"����,"��,"� � ������� K� #����� ��� -������'� ����� �� � �� � �� K� " � ��"#�� �)"��'� �� $�� �#������� ���������� �� �� � ��� �����.�� ����'��� ������-� �*8����,"���#���������K�� �#����� �" �#� ������������#���#������� "�� /�����

���������#�� ����� ���-��� �" ����,"����)�� ��*$�'�� �#���� ��� ������������������M�

0� �� ���"�� � �� � ��� ��� ,"�� � �#" � � #������ 6���'� ��� �-� �*8��� �,"�� � ������#�K �������#������ �� ��-� +������ �� �� � ��� ��� "�� /�����

(" �� �)�� ��*$�� �� ��� �� ������� ��� ���"�� #� ����� �� � ,"����� "�� /����� �I� " ��������� �� � ,"���� W�� �> ��������Xk�(J4�3k4!AkO&5k���l�!3��0��'� K� " �� )�)����#����� -"*8��� ,"�� #�K � ����� ��� #�� ������� �#����� ��)��.�� /���� ��� #� �����O���L���� ������#�*8��� "�� /��������K#�#�������#��������$��#��������� >� �����#" ����

Page 151: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !#!

�� ����������������- ��#���� ������ ��'����� �����#�� ����������"�����) ���������#�������)1���4"�������/����

�I�" �����������'()��������%������+�������3���������)1���4"�������/�����#I��#� � +������ K����M�

(� �����'���%�� ,"�� �#� �� ,"���� K� � ��������� ,"��,"� � )�$�� ��� #� ����� 0� ���V#��'� � ��K�� ��� �� V � �� �������������� K� ����/���� ��)� � ��� �� )�$�� � ��������� -��� ��'����/��

J ����"��������#��������'�!����/��� �#�� ��� ����� ���G"%�!����/�,"���$�����#�� ��������O���L���� ������#����"���� ������" ���.�#"*$�'�#� ���"�����"����� ����

� )�������������� $�����#"��������� >.� ����� +� �-����

Q�����/��������-�#� ���)�$��� ���������� ��K����������(���#B'��,"����$����������������� ����������4"����4/��M�

��)0���M�@"����� �����������)�$���� ��'�&�#�� ����)0�"��M�@"����� �����������)�$��� � ���'�0�"������)���M�@"����� �����������)�$���� ����'�0� � ����)%�#BM�@"����� �����������)�$����"�'����*����� ��� ����)���M�@"����� �����������)�$����"�'�4�� ����� ��� ����)5�.M�@"����� �����������)�$����"�'����*�� +��������)0 ��M�@"����� �����������)�$����"�'�4�� �� +��������)4�#� �M�@"����� �����������)�$���� ����'�G ���*$�����)31�#M�@"����� �����������)�$����"�'�4�� � ��

&�#��� ����� ������ �� �,"���-������������)�$��� ��������'��� ����'�# ����� ���������'���%�������"���#>����M�

�����%��!�� �������0���� ����#BS���� M�!()1�#P�%"�M�!�0%!���P��� �����-�"�M�%�����TP������������%"���1�����)0���M�3����!�.�MY�Z!�#���ZP�����)0�"��M�3����!�.�MY�Z0�"����ZP�����)���M�3����!�.�MY�Z0� ���ZP�����)5�.M�3����!�.�MY�Z0 >.� �ZP�����)0 ��M�3����!�.�MY�Z�� �� ZP�����)���M�3����!�.�MY�Z���*���ZP�����)%�#BM�3����!�.�MY�Z4�� ���ZP�����)4�#� �M�3����!�.�MY�ZG �����ZP�����)31�#M�3����!�.�MY�Z4�� ���ZP�����P���P�

0� ���#� � ���,"���#��#�"�#� ���� �#����'��#����� �����������'�!����/���,"����$����� ������������������������ ����� �#����M�

�� #�n5��-�n�"##���-"�M��� ����#� �������#� �I.����� #�n5��-�n�"�� �����M��� �����"�������� ��" ��-"*$���� #�n5��-�n�)� ��M��"*$��#� ���-����� � �����

Page 152: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !#

�� #�n5��-�n����" �M����" �� ���#� �"��(����� ��$�� �#���#��������� ��������� ����� '� �������#��� ���� ��#������

������M�

����"##���-"�����#������I.���������"�� ���������#����,"����+��"�����'�� ������ ����� �#�"������" ����"��������)� ��� �������� ���#���� ,"�� -��� � ��������� �� )�$�� �� � '� �"� #�"��� ������� ���-�#�� ������� ,"������

���#B��������'�!����/���#���,"�������"���#>����M�

�����%��!�� �������0���� �5��-�S���� M�!()1�#TP��������M�5�����P���!���M�&��� �����������������0���� ��5��-�=��"���1�������"##���-"�M������������������������������������&#S!���TP���������������������������������MY�Z #�n5��-�n�"##���-"��Z�\�&!�� S!���TP������������������������������P�������"�� �����M���MY�Z #�n5��-�n�"�� �����ZP�������)� ��M���MY�Z #�n5��-�n�)� ��ZP����������" �M���MY�Z #�n5��-�n����" �ZP������������MY�Z5$��#����������-�#� ��� ����� ZP�����P���3��7�!�.�MY��P����1�S�����0���� ��5��-�=��"��Y���"##���-"�T�����S�����0���� �������Y� �������T���������3����!�.�MY�Z� ,"����-��������ZP���P�

3���� ������ �� �-�#� � ��� �#��#� ���� ���� ����-�#������ ,"�� �#� � � � #� � ���������������&��(� ����#� ���#� �,"�����������������&�K�����#�-�#����� )K �������� �"��������������)1���4"�������/�����,"��" �������� ��������� ��� ����#� "�����������M�

�� #�n����n5�n4������� #�n����n������ #�n����n0������� #�n����n4�#� ����� #�n����n���B��� #�n����n0�"����� #�n����n(���

3���� ���� ��� �$�� �"���.���#������� 0� � �.� ���'� �� ���� ��� #� ��� K� -�.���� � � #�n����n���'� �� ����������� ��+� �� ����� ��� -�.���� � � #�n����n0���'� �� ����������� ��+��#������

� ���" ������� �#��" ����������#�� ����5����'������ �������"���#>����M�

�����%��!�� ��������P����������3��:�!�.�MY������0���� ������5� �P��������������0���� ��������1�

Page 153: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !#"

������� �5�4����M�3��9�!�.�MY�Z #�n����n5�n4����ZP�������� �������M�3��9�!�.�MY�Z #�n����n���ZP�������� �0�����M�3��9�!�.�MY�Z #�n����n0���ZP�������� �4�#� ���M�3��9�!�.�MY�Z #�n����n4�#� �ZP�������� ����B��M�3��9�!�.�MY�Z #�n����n���BZP�������� �0�"���M�3��9�!�.�MY�Z #�n����n0�"��ZP�������� �(��M�3��9�!�.�MY�Z #�n����n(��ZP�����������������������������������3����!�.�MY�Z�����������&����ZP������������3��7�!�.�MY�Z�� � �������ZP������������3��9�!�.�MY�Z5$������-�#���ZP������������3��:�!�.�MY�Z5$���+�� ,"��������#�����ZP�����������P�����P���P�

0� ����#�� ��������� ����#��#B����)1���4��������#�� ���������'�4���������� �������"���#>����M�

�����%��!�� ��!� � �!� � S���� M�!()1�#TP��������������P���P�

�� � �� � �� ������� ��������� ����� �)1��� -�.���� � � �222'� ����-�#�� ,"�� �� #���� �222� ������"���� �� +� ����� ���� �� ���� ��� �� �-�#�*$�� ,"�� �-� � +� �� ������ �� �� �� �)1���4"�������/����

3.�#"����� �1����������� ��������"�����������M�

•� !����������,"��-� �"�����" �)�$�����)� �� "�� /���'��� +������ ���������������#B� � #��������� �������������)�$��� ��������P�

•� ��� ������� ��� n�#�5��-�� �#� � ��" ��� ���� �� �.�#"*$����� ����#�*$�'� ���"����� ����)�8���0�"�����0� � ��� �������" ���.�#"*$���

•� @"����-� �����#��� �" ������ ,"���'��-����" ���"#����1����������+��������)�� ���#� ����$�����#� ����������

+�()�� ��� �� ��"��� � )K � �� � ,"���� W�� �> ��������Xk�(J4�3k=�Ak�0A�l34��0�������K���"������� �#��������# ��*$������)1���4"�������/����

����� �����160 �8� �7���� �0���

@"����������K ����#���� � ��������������H���"����� ����"�/����'����#����" ���*$����� �"�� �#������������ ��,"��#�� � +������"���-� "�+ ����

Page 154: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !#&

"������������������"�� <���

•� &�#��� ��'� # ��� " � ���� �)1����� � )������� �� � ���������U� 1�� � �� ��� �� ������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

%� �� ����� )�������� 3��������)� ������-� "�+ ���

������ ���0���� � A�)�������)1���S!� 1����"�����-� "�+ ��T�

5� �� �n0���� � 5� ������)1���

0������ ���# ����� � 0���*$�����1�����S#� �������T�

•� � ����� ����������1�����������"�����)1���M�

!�����0���� � '� �#� ���� �� �������� ������/� �� �+���� �/����'� �� ��� �� ������"����� �� �������M�

0 �� ������� =��� � ���# �*$��

=���)��%"��� W)0���')0�"��')���')5�.')0 ��')31�#X�

%�8���,"��-�#� $�����/�����

5� �� ��� 5� ������)1���

!!� � � '��#� ��������������������/����+�����/����'��� �� +��� ��#� ��� ���� ������� 6��#����

0���� '��#� �������������������������+������������'������ ��������"����� �� �������M�

���������� Q����� ���������

����� ��%�� � ����� ����� ���������'������� ����K�

���� �� �A�-E"��-�� ����� �������������'�1"��-�#����N���,"� ���

%����&� � )�A�L� ��� %� ���9���� �'������ ���������

%����("� � )�A�L� ��� %� ���9���.� �'������ ���������

%� �� O���� �� !� �������)� ���

������ &�� ������� A�)�������)1���

5� �� A�����"�� 5� ������)1���

��� ��������� �-'�3��������-��M�5� ��'�!� ���M�<'��� M���"���� ����

!��������� ������ � �� �������)1��'��� ����� � �����

� �� �������#��,"����)�$�� �

?����� 77� ��" ������)1���

0���� '��#� �������������������������+������������'������ ��������"����� �� �������M�

���������� Q����� ���������

����� ��!��� ����� ����� ���������'�����������

%����&� � )�A�L� ��� %� ���9���� �'������ ���������

%����("� � )�4����� %� ���9���.� �'������ ���������

%� �� O���� 7� !� �������)� ���

Page 155: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !##

?����� �2� ��" ������)1���

������ � A�)�������)1���

� ��� ,"� �� �)1���� 2���� �� �� ��� �)1��� 0���7'� �� �� ��� ����� � � �� ��� ��� �� ��� �� ������� �������� �� �� $�����D� �� �������D� ����#��� ��� �� �� ��� �" ��� ����� ��� �� ��� �� �������.� ��� ��2��$���U���2��$� '���� ����� �� ��������������������� ����������� �-'�3��������-��M�5� ��'�!� ���M�<'��� M���������

�� �� ��������������-� "�+ ��������"� M�

@"��� ��� � �� � �� ��"� �.���#+���� �� ��� �'� �#� ����� �� ������ � #���#���� ���� �#��� ���������#�������#����M�

%���������� P������1����%����������J���'�O�!����'�O�0 �#�'���������'��������'�G ����#�'��� ���'������� �'��������'���� ��'�3.� ��'��0���� '������� P���O����!�n0���� �Y������S!�� T��������M�!�����0���� P������!� � �M�!!� � P������A�����"�M�!0���P������0���7M�!0���P������A�)���M�!A�)��P������A�)��7M�!A�)��P������A)�! �#BM�!A�)��P������A)�!� �M�!A�)��P�����������%��!� � �!� � S���� M�!()1�#TP�����������%����0�����#BS���� M�!()1�#P�%"�M�!�0%!���TP�����������%����5��-�S���� M�!()1�#TP�����������%���� � ���S���� M�!()1�#TP���������������! ������ ��M�)��P����������! ������ ��M�A���P������! ����A����M�)�����P��������0�����'���0�"���M�)�����P������!� ! ����M�����OW����22X��1�A��&P������1%���������0��S���� M!()1�#P�! ����'���'���#M�)��TM�A���P�����������%��&���S���� M!()1�#TP�����������%��4�����S���� M!()1�#TP�

Page 156: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !#T

���%���������6��(��%��%���������7����P���������n0���� M�!�n0���� P��� �� ���������68 9��5"7

�������������� M�����OW! ������X��1�������W�2X�Y�SZ5$��A���Z'�Z0� ���Z'�Z!�#���Z'������ZG �����Z'�Z0��,"�����Z'�Z0�"����Z'�Z�)� �ZTP���6�����;��%��������3=�7

1%�������!�n0���� ���0��S���� M!()1�#P�! ����'���'���#M�)��TM�A���P��������M����� P���������� ��"��MY�2P�����1�����MY������S! ��������T���������������������&#S4��"�'� #�n���n��#��S!� ! ����W�XTTP���������&#S4��"�'� #�n���n��"�S!� ! ����W�XT�o�;2TP�������P�����&#S4��"�'���#TP�����&#S4��"�'����o�;2TP���P��6�����;���%����$�������������7�����%��!�n0���� �&���S���� M!()1�#TP����������M����� P�����������1���! ����A��������������������������A�����"��������MY�ZA������� �����ZP���������A�����"��J����P���������1�����MY���������! �#B����������������!� ! ����W�X�MY����! �#BA���W�XP��������! ����A�����MY�! "�P������P���P��6�����; ������������J���7������%��!�n0���� �4�����S���� M!()1�#TP���������60������������ ��7���! ������ ���MY��P����A)�! �#B�������MY�Z2ZP����A)�!� ��������MY�Z22M22ZP�����6"�����%��%������������ �7���A)�! �#B�������� �MY�#�4��P�

Page 157: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !#(

���A)�!� ��������� �MY�#�4��P�����6���������/��7���������P�����6���%������%�������� ���������%���7�������� 0���MY� #�n��B�n!���S�'�2'�2'�2TP�������0������MY������P������0�"�����MY������P���P��6.�����4������'()���4����17

�����%��!�n0���� �!� � �!� � S���� M�!()1�#TP��������! ����'���"��'���#����M�)��P����� ��"�'�� ���"��M�� ��P����0��M�A��&P���������6&%���������������� �7�����1���0�"�������������A�����"��������MY�Z0�"����Z������������A�����"��������MY������ W�������XP������������������1����� �������M���������������������6���%����$��������������7����������1�����! ����A��������������������&���S��TP�����������6!�%��������������������/7����������1���0����������S������0�"���T������������������������������������ 0���MY� #�n��B�n!���S�'�2'�2'�2TP����������������0���P����������������3�)���%"���MY�W)0�"��'�)���'�)5�.'�)0 ��'�)31�#XP������������P���������P����� �(��M���������������������! ����A�����MY������P����������4�����S��TP���������P����� �0�����M���������������������0���MY����0�����P����������! �����MY� #�n!���n! �#BS0��TP������������"���MY� #�n!���n��"�S0��TP������������#����MY� #�n!���n��#��S0��TP����������! ������ ���MY�! ����P�����������6�����Q�������������#����������������7���������� ��"��MY�&!�� S��"��TP����������� ���"���MY�&!�� S��#���TP�

Page 158: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !#-

����������-�A���S� ��"�T�`�7����������������� ��"��MY�Z2Z�\�� ��"�P�����������-�A���S� ���"��T�`�7���������������� ���"���MY�Z2Z�\�� ���"��P�����������6"�������0�(���7���������A)�! �#B�������MY�&!�� S! ����TP����������A)�!� ��������MY�� ��"��\�ZMZ�\�� ���"��P���������P�����P���P��6.�����������%���'()����7

�����%��!�n0���� ���0�����#BS���� M�!()1�#P�%"�M�!�0%!���TP������������%"���1�����)0���M������������6"�����%��%������&$��"���� �7

���������A)�! �#B�������� �MY�#�5���P����������A)�!� ��������� �MY�#�5���P������������0������MY�! "�P������������0�"�����MY������P����������J����P���������P�����)0�"��M���������������������6"�����%��%������ �@�7���������A)�! �#B�������� �MY�#�0" ���P����������A)�!� ��������� �MY�#�0" ���P������������0������MY������P������������0�"�����MY�! "�P����������J����P���������P�����)���M�������4�����S��TP�����)31�#M��������������������! ����A�����MY������P���������4�����S��TP���������P�����P���!� � �!� � S!� � �TP���P��6.�����'�!����/��'()����7

�����%��!�n0���� ���5��-�S���� M�!()1�#TP���������!� � �!� � S!� � �TP���P��6.�����'��������'()���5G���/��7

�����%��!�n0���� ��� � ���S���� M�!()1�#TP�����������0������MY������P������0�"����MY������P�

Page 159: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !#�

���! ����A�����MY������P���P������

��������-� "�+ ���#� ���� ��������O����-�*����#�� �������� � ���� �"�� �#����������"����� �'�)� ����� � ����

�78016�(�

������������������

J ������ ��� ����������������� ����) ������� ����#�#� ����K���-�������� �*$����������#� ������S���������)1���T��

(� �.� ���� �� ���"� � � ����� #���#� � " �� �"�� ��) �� �� ���"�� �� ���� ��� �������)+��#����� ������������� ������#� �����'��������������$�M�

•� � ������ �� ���������� K����P�

•� �� ��������#��������� �� �������P�

•� 0 �� ��������������" ������# ��P�

•� 3�������� �#�)���� ��������� ��K������#� �������

�� �����7���0���

�� ������ �$�� #� �� )��#��� ��� #�� "*$�� �� �� ��� ����#�*8������� ��� =�#I� ���� +�#�� "� � " �� ����#�*$�� �� ���� ��� ���#������ ����� )��#��� �� ���-�#���� ��� �����'�� �� ���������"� K������!��������#� ����������"� ��"���� �� ��������� �#� " M�!������4�#�� ���"�� #� ������ ��$�� ��� �)"/���� ���������� ��������� ���� ���"�� #� ������S4&����%�����'�4"���'�4"�������'���4�%����T��$�������/������������ ��K�������"�#>�������

=�#I������# �� ������#� ������"��������������"����������M�

��� �� ��������������#� ���������" �#� �����1+��.������

7�� ����-�#����" �#� ������

9�� 4���� ����" �#� ������

(�#� �����K�# �����#� ��" ����������� �������" �� �1��'���������� �-� ������ �" ���"� ��������R�����>����#I�# ��*$�����#� ����'�#� ����*$���������*$���� �������������� #� ������� 0� �� "�� � �� #� ����'� ����#������ ����������� �������� �� ���#������ ���-� "�+ ����

Page 160: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !T*

/��� ����-����������

=�#I�# �� +�" �����#� �����"���������� �� ��������.�����'��� �� �������#I�"�� +� �� �������� .@������ 5�� �� ����� ����� ��� #� ������ # ������ �� $�� �� ������� � ���#� ������ 1+� �.�����'� �� �� ,"�� ��#I� ����1�� # �� � " � #� ����� �� � ������ �"�� �� �������������� +��� ��������" ��#������1+��.�������4�����������

��4���������K�" ��#��������#�������#� �����'���)�����K�,"��-���-������+ �� �����#� ������ ���� �'� �� � �.� ���'� �� #������ 4������'� ����"� � ���� ��� �2� #� ���������#�����'� � ���� #� �M� 4������'� 4������'� 4 �%���@'� 4���������#'� 4��(���@'� 45���'�45��������#'�4>������@'�42�����'�4���#�'�40�(��'�40�����@'�4"���"������4"�������/����3���#I������������� ��� � �������"�����#��������,"���

:���������������������

=� ���# �� ���� ��" �����#� ����'��� ������) ��" ������ �1���������#����

���e�.N@@@�����#�������+����.N������� � ���� +� �� ������1����������������.@������&-� ��������"������ V � ���#�-� ������������)��.�M�

���,"����)�$��(m��� ���#��� ���� ���������������.@����# �� +��"� ��#� ��������"���#>������� ����#�� �������J��M�

�%����J��P������1����%�������O���L�'���������'����J���'��������'�G ����#�'��� ���'��� �'��������P���O�����"��� ���Y������S!�� ���T����������������6���������%���������7����������������6�����%�����%���������7���%�����

Page 161: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !T!

������6��(��%��%���������7���%�������������6��(��� ����%���������7����P�������%��4����� P��� �� ��������������%��4����� P����������4����� �� ����SZ�"�� Z'�W�"��� ��XTP���P������

/����� ���������������� � �&�� �

0� ��# /�����,"���� �*�� �����#I�� ��"����#�� "� ���"�� � �� ��#� ����'���)� ��� ����� ,"�� ���� $�� -��� �)���"� ��� ���� ��K � ��� �) ��� � ��� 6�#��� � �� �������� ��� 8����.������� �,"��,"� �#� ����M�!������4�#������1+���� �����#� �*���

������ �� #� ����� #� �� �%��'� ����#������ ��� Z� 5��'� �� �� ��� �� �> ��� ��������*$��������� ���������2����0� ������� ���#� ���������#������ ������ Z�6������@@@���� �#� +������"���1�������+����M�

���,"�� �� )�$�����@@@� �� �� +� �� ���� �� 1����� ��+������������%��� J��� �� )�$�����N���� ����#����� ���� ,"�����%��@��5'����,"�������� +� � �������0�����@�6��������%����M���#� �������#� �����S�����#I������"���� ��" ���� �> ��T��� +�#���#������5�����������

Page 162: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !T

+�0� �������#� ������# ���" ��� �> ���� )��.��������� ����"�����2�� '�����������#I��� � ��#���#� �#��������#� ��������� �> ���2��'�#������#I�� �#����#���� ������������"��#� �����'���-�#�� �����������"� +�����#� ��������� 8���������� ���

+� A� ) ����� ,"�� �� 5����� ����� K� " � #� ��� �.�� �� ����� � � 7��� ����*8��� �$��� )K �$���������� ��#����#� ���������#���#� �" ��� �> ������� ���'������-�#�� �����#I����" � +���� �������#� ���5�����������

���� ��� #��,"�� �� )�$�� (m� �� �� ����26�@��2� S%�)����#�� ��� $�� ���#� �����T��� +� �#� �����������K ������#� ����*$�'����,"��-���# �����" �������+����������������������S�"�� T������#������������#� �����S�"�� �� ��T��

0� �� ��� � ��"� ���� #� ����� # ��� " � ���� -� "�+ ��� ��� �� �� #� �������������1��()�� ���� ��K�����'()�%� �����%���� ��� � �� ����������� ��"����� #� ����M�!������4�#��

��� ��������� ���

0� ���������#� ������� ������#��� �" ��� �� �������,"��� ���� +� �" ����� ���� �'� �� �� ���� #�� �� ��� ��� �� %���� ��� #� ����� �� ��� �� ��� #>������ �)��.�� �����#�� �*$��������M�

�O������"��� ���Y������S!�� ���T�����������������-�� �0 ��M&��� P�

��� ��# �� � ���" ��� �� ������������������ ��� +����������# ���� ��K��������� �+������ �������� �����#>�������)��.�������#�� �*$���%������M�

���%�������������������O��� �0 ��M�&��� �����-�� �0 ���N����-�� �0 ��P�����P�

+�����*$���%�����S�6)��#�T��) ��������� �+����'�� �#��� �����"�-"*8���,"������ ��� ������� �� �.�#"����� �� � ,"���,"� � �" ��� %����� ,"�� "����� � S� ��K�� #�+"�"���W��T� �� %���� � �,"��$�� 1+� �� ��*$���%������� S0")��#���T� K� "�������� �� �� ��� � � � �� �������� �"� ������ ����#� �������

��������#� ������� �#� �������)�)����#��� ��K��������*8����� ������ Z���%����2�����O@@@'� ��� K ��� ��� �#� ����*$�'� ��� ,"�� �� �� �� #� ����� -��� # ����� " �� ����� �� ���������-�����#� ��� ������,"��� ����������� ������ ����

';�������/������

�� � �� ������� # ����� ����� ����� � � " � � �#��� ��� �"� " �� -"*$�� �� �� �.�#"� ���� �������*8���S�� ��.� ���'�#���#����" ��� ������+������� ������ �+����# ����T��

0 � �� �'���# ���������"���-"*$���� ����-"*$���������#� ����������OM�

Page 163: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !T"

1%��������"��G��� �0 ��M����� P���������4��"��MY�-�� �0 ��P���P�

3�# ������� �#��� ����� ����-"*$��N�������#� ����������OM�

�����%���"������ �0 ��S���M����� TP�����������1�����_�������������������������� �0 ���MY�-�� �0 ��P��������������.#�����# ���SZ=��� �$��������� � ��� �,"����ZTP����������������������-�� �0 ���MY����P���P�

��#�� �� �� -"*$��R�� ������ �� �� � �#��� ��� 5�� ������ �� ��*$�� ������'�#�-� �����.� �����)��.�M�

��������������-�� �0 ��M&��� P������1%�������G��� �0 ��M����� P�����������%������ �0 ��S���M����� TP�

3��� ������*$���%������� �,"������ �� �������M�

�%�����������������O��� �0 ��M�&��� �����G��� �0 ���N�������� �0 ��P�

��������#� ������� �#� �������)�)����#��� ��K��������*8����� ������ Z���%����2�����O@@@'����,"����� �� �������$�� ������ �� +����� ����"�� �� ���������

��� ���������������

��� ���� �� ������ ���� 1+� ���# ���� " �� � �� ������� ����� �) ��� � " �� ����� ��� �������-�����'��� ���������*$���O����-�����#�1"��,"���) ��� +��������M�

�O�����!�� �#���Y�S� �� �'�� %��.�'�� A���TP�

5����*$���������# ���" �������� �+����#� �)������������-����M�

�����������-�� �0 ��M&��� P�����-5���0 ��M!�� �#��P�

3�-��� �������*$���%���������-������ �� ������M�

�%�����������������O��� �0 ��M�&��� �����G��� �0 ���N�������� �0 ��P�����������O�5���0 ��M�!�� �#�������-5���0 ���N����-5���0 ��P�

��������#� ������� �#� �������)�)����#��� ��K��������*8����� ������ Z���%����2�����O@@@'������������ �� ��������

Page 164: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !T&

�����������9:�0��

������ ��,"������ ���# �� ������#� �����F�0� �������� ������C-"" ��D� �)�������A� ) ����� ,"���� ��#I� #������� �,"����� ��,"���� ����*��� ��� ����� S��� ���M� #+�#"��� ����0���G�'�#+�#"������ -�� ���'�" �#�)�*�������� ���> �����T�����)1���� �� �� ��.�� ����� ���"� �� ��� ����� C��,"���� ����*��D� ��� )��#��� ��� � �� � �*$�'� �"� ��� ��#I� � �-� � � �� � ���� ����� �������%��� ��������#>�������

������$����$���������

@"���� -� � #�� "� � �)1���� �� ) ����� ,"�� ���� ����� �� �� � N� �+ ���� ����#�����'� "#��#�� "��" ��)1���,"���� �� +���������" �6�#������#�����SK��� ������� ��T��

!���� �� ���� �� S����� ���� 1���M����N�T� �#������ ��� " �� 1�����5���� �� 5��� ���$���� ��� ��-� � ���1�������) ��# ����������,�%���6Q�� �" ��)1���� +�#��,"���� �����,"��,"� ����� �'� ��#���" ������ �1�����# ���" �����#� ����'��� �� ����) ��" ������ �1����� ����#������� e�.N@@@� ����#�������+����!��� ���� �� ������������� +� �� ������1����������������.@������&-� ��������"������ V � ��M�

������.� M���) �����

���������O�M�!�� ����

���������M���������

���,"����)�$��(m��� �� �#��� � �� � ����������� �*8���� �� ����������)1��� ��$����#" ������#� ���-��M�

%������) ����P��6.����()�����������%���3=������S%��@���(��S����=�����

������������%�������7�����1����%��������J���'�O�!����'�O�0 �#�'���������'��������'�G ����#�'��� ���'����� �'��������'�-��) �P���O�����!��) �����Y�#����S!�� ���T�������������������0 ��"#5� �'��=� ���'������ ���'���� ��M�� ��P�����%�����������1%�������3.�#"�M�%�����P�����%�������������������O�5� �0 ��"�M�������������0 ��"#5� ��N�����0 ��"#5� �P�������������O�=� ���M�������������=� ����N�����=� ���P�������������O��� ����M�� ������������ ����N��������� ���P�������������O��� �� ��M��������������� ���N������� ��P���P�

Page 165: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !T#

�����������04(�3��(4n&5!3An9<;�Y�9<;P����04(�3��(4n&5!3An:<;�Y�:<;P����04(�3��(4n&5!3An035!&J��Y��<;P����04(�3��(4n&5!3An<;2�Y�<;2P����04(�3��(4n�&0�n4�222�Y��222P����04(�3��(4n�&0�n47222�Y�7222P����04(�3��(4n�&0�n49222�Y�9222P����04(�3��(4n�&0�n4:222�Y�:222P����04(�3��(4n�A0?�n7�2;:�Y�7�2;:P����04(�3��(4n00�n;2��Y�;2�P����04(�3��(4n00�n;29�Y�;29P����04(�3��(4n00�n;2:�Y�;2:P����04(�3��(4n00�n;72�Y�;72P������������) ����M�!��) ����P�������%��������P��� �� ��������������%��������P����������4����� �� ����SZ�������Z'�W!��) ����XTP���P��1%�������!��) �����3.�#"�M�%�����P��������(�&-�M�!(�=34�&(5&5�(P�������&-�M�!�l�!3�&5�(P������ ��M�!�3�(4l�!�!J�P�������B5�M�&��� P�������������� �����1������ � � > �������n��) ��MY�!�n��) ��� ���S�����#���TP�������O�������N�����n��) ������������������������������%������������������������������������������������0 ��"#5� ��������MY�5� �0 ��"�P����������=� ����������MY�=� ���P�������������� ����������MY��� ����P������������ ���������MY��� �� ��P����������������MY�Z��) ��Z�\�5� �0 ��"�P�����������(�&-���L(�=� ���&-������MY������-S!(�=34�&(5&5�(TP����������G�=� ���3.S(�&-�TP�������������<���=������������������������(�&-���L0��-� &���1�������������=34n0A�!�(4�nO&597��M�O�=� ����������MY�ZO���L��9��ZP�������������=34n0A�!�(4�nO&597nO&5�(O��M�O�=� ����������MY�ZO���L����ZP�������������=34n0A�!�(4�nO&597n5!�M�O�=� ����������MY�ZO���L��5!ZP�

Page 166: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !TT

�����������P�������������=� ����������MY�-� �SZt��t����=� �M�t�Z'�������������W(�&-���L��1� =� ���'(�&-���L��� =� ���'A(O(4�S(�&-���L%"���5" )� TXTP����������������#�����%�����������������G����� &-�S���&-�TP�����������������&-���L0 �#���� !�����1�������������04(�3��(4n&5!3An9<;�� M��0J�������MY�����������������-� �SZt��t�Z'W���&-���L5" )� (-0 �#���� �'�Z&���<29<;ZXTP�������������04(�3��(4n&5!3An:<;�� M��0J�������MY����������������-� �SZt��t�Z'W���&-���L5" )� (-0 �#���� �'�Z&���<2:<;ZXTP�������������04(�3��(4n&5!3An035!&J�� M��0J�������MY����������������-� �SZt��t�Z'W���&-���L5" )� (-0 �#���� �'�Z&���0��" ZXTP�������������04(�3��(4n�&0�n4�222� M��0J�������MY����������������-� �SZt��t�Z'W���&-���L5" )� (-0 �#���� �'�Z�&0��4�222ZXTP�������������04(�3��(4n�&0�n47222� M��0J�������MY����������������-� �SZt��t�Z'W���&-���L5" )� (-0 �#���� �'�Z�&0��47222ZXTP�������������04(�3��(4n�&0�n49222� M��0J�������MY����������������-� �SZt��t�Z'W���&-���L5" )� (-0 �#���� �'�Z�&0��49222ZXTP�������������04(�3��(4n�&0�n4:222� M��0J�������MY����������������-� �SZt��t�Z'W���&-���L5" )� (-0 �#���� �'�Z�&0��4:222ZXTP�������������04(�3��(4n�A0?�n7�2;:� M��0J�������MY����������������-� �SZt��t�Z'W���&-���L5" )� (-0 �#���� �'�Z�A0?��7�2;:ZXTP�������������04(�3��(4n00�n;2�� � M��0J�������MY����������������-� �SZt��t�Z'W���&-���L5" )� (-0 �#���� �'�Z0�L� �0��;2�ZXTP�������������04(�3��(4n00�n;29� � M��0J�������MY����������������-� �SZt��t�Z'W���&-���L5" )� (-0 �#���� �'�Z0�L� �0��;29ZXTP�������������04(�3��(4n00�n;2:� � M��0J�������MY����������������-� �SZt��t�Z'W���&-���L5" )� (-0 �#���� �'�Z0�L� �0��;2:ZXTP�������������04(�3��(4n00�n;72� � M��0J�������MY����������������-� �SZt��t�Z'W���&-���L5" )� (-0 �#���� �'�Z0�L� �0��;72ZXTP������������P������������� ����LA����MY������-S!�3�(4l�!�!J�TP����������G��)���� � ���"�S�� ��TP������������ ���� � ��������MY�-� �SZ!�M�t��m%���������M�t��m%Z'���������������W! "#S�� ����L!���0�����27:T'! "#S�� ����L�����0�����27:TXTP��������������B5��MY�9P����������� �����B�������MY�ZZP����������� ��4���" #���������MY�ZZP����������������������������1����B5��`����������������������� �����B�������MY�� �����B�������\�-� �SZt�M�t���%��Z'��������������������W�� S���B5��\�( �SZ�ZT���T'! "#S���B� ��S���B5�T��27:��27:TXT�������������������������������� ��4���" #���������MY�� ��4���" #���������\�-� �SZt�M�t���%��Z'��������������������W�� S���B5��\�( �SZ�ZT���T'! "#S���B� ��S���B5�T��27:��27:TXTP��������������#S���B5�TP����������%��������B� ��S���B5�T�Y���P�����������0 �� � &#��0�#" ��G ����#�MY������#����&#�P����������4��"��MY�S���L������Y�&�(mTP���������P����1�����O�

Page 167: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !T(

�������n��) ��� ��P������P���P�������

0� ������� � �� ����������������)1������,"�� "����� ��� � � ������ �#��� ���/S�%��S��� ������������������" ��,"��$�������� ����*$��#� �����" ����)1�������������������#�T'� � ��K�� ����� � �#��� ��� ����� ��� �" ��� �� �+����� �$�� ��#�����'� ������� ��� �� ��# ��*$�� ��� -� "�+ ��'� # ��� " � ���� -� "�+ ��'� �$/.gh�M� 5$�� �� ������ �� -� "�+ ���L5����1+�# ��������������K�" ���� �*�����-� "�+ ���L5�����'�# �����#�-� ������������)��.�M�

+� 0� �� ��� �)1���� �� �� ��� �����M� ��� �� �� � �� ��������������M� 5� �� ��� 0 ��"�'�=� �$�'� �� ����� 4��������� �� �� �+ ��� �� �� � �� ������� .� M� 0 ��"#5� �'� =� ���'����� ���'��� ����

+� 0� �� ��� �)1���� -� �� ��� �����M� ��� �� ��� �)1����2����� ��� ��,"� ��� �� � �� ��������������� S3.M� J�"+ ��'� �� �����T� �� ��� ��� �� ���� �� � �� ������� .� � S3.M� J�� 5� �'��� ���5� �T�

+���� �� �������.� ��� ����������#� �����'���� �� �,"���������� �#� ��$�M�

������ $���� ������ $���� ������ $���� ������ $����

0 �� � &#�� !& ���� 0 ��"#5� �� !A�)��� =� ���� !A�)��� ���� ���� !A�)���

�� ��� !A�)��� A�)���� !A�)��� J�� 5� �� !A�)��� A�)��7� !A�)���

�� ���5� �� !A�)��� A�)��9� !A�)��� O�=� ���� !A�)��� A�)��:� !A�)���

���=� ���� !A�)��� A�)���� !A�)��� �0J� !A�)��� A�)��;� !A�)���

� ���� � �� !A�)��� A�)���� !A�)��� � �����B� !A�)��� � ��4���" #��� !A�)���

Page 168: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !T-

�n��) �� !�� � 0����� !0���� � � � �

������ �� 1����� #� � �� � �� ���5���� �� �� #� ����� #� ��5������� �� #� ����� ��)�)����#������������#� ����M���(����#��&�'�������#� �����������"���-� �M�

��� 4� �������� �1�����-� "�+ ���L5������ �� ���"��#�� �������#�+"�"���W��P�

7�� ����,"����#� �������-� "�+ ���L��%����#� ������"���� �� �������P�

9�� &�� ����#�� �������#� ���������*$�����5������5��� �M�

�����%��!�n��"�&� �".��������#BS���� M�!()1�#TP�����������) �����3.�#"�P���P�

:�� �� ������� ���������� ���

%� ��������� "��������)1�����

%�� �������

Q�-�#�� ��� �#���#����,"����������� )�������������������"��" ����� �" ������� ����'� ��� �� # ��*$�� ��� ���� ��� #� �� �� ��������� ��� ��� ����#�*8��� ��� "�� /���� �������S��>������������� ��T����.� ������ ����*$��-�"� �����#�� �"����,"����,"���� � ������1� ��'����� ��,"�����������1"�������� ������ ���� ���#� ����������� ����

Page 169: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

�;��

�7P�� 5����

�51���023�

����#" ��*$���#�"/���#� ������� �������������M�

• ���� �:���+�>����

• ���� ���������������+�>����

• ���� �����(���&���%��������������+�>����

• �A00����:���+�>����

• ���������:���+�>����

• ���������0��#��#� ������%�

• �����������������������

• ��������� ������# ������

!��������#" ��*$��K��#� ����� �-� �������� ����� ����������S�� �������"���

#����-�������#���+ ����������*$�������4(%�!��4���� �7�2�,"���#� �������� ��"�T��

Q��;��R�A0;�����N1�� ���

(����� �������������� �,"� M�

• �������M�1T����������

• 4���#�(/���������3������������������3=��?����• 9���#�(/���������3������������������3=�%�������• �����%�������,�M,U�������VN,U��%��������W

• 8��#�(/����� &"

0� �� ����� '� ���� �� � �� � �� &5�!�AA�3R3� �� ��� ��� ��� 4(�� �"� ��� ���,"��� ��� ������� #� ���� �� "*8������ $�� �#�"/���� �-� �*8��� ���#������ �� � ,"����43���3�!R!�� �� ��������������� �> ���k�3A0?&��

���"���.� ������������#�*8�����$��#���������� �> ���k�3A0?&k�3�(���

Page 170: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

��2�

�7P�� 5��-�

������3������7��

Q�����/���'�#� ����.0�2�'�# �� ���" � �� ������ ��,"�� ����� ���-� ������������)����'�� ��K�����" �6�#���26�5��0� �� ����� �#��� ���,"������-��*$�'� � ������� ������#� �������)�������1� ��#���� �� ������ �� �����)��.����+���#��� �$���� ��,"� ��)������>��#�����������M�

5����S�5]2����� �����������'�' &0.�'��������@

��� ���" ����

��/�2+���������#�� �������#� ����� ������.0�2���������S���%������������������@�����5/���%��������!������%����

���.���@A� %�3�A>��#�� 0� ���.� �%��3�

���AA&5!� -��&5!�;� ��� � 5" )� �S;'�2T�

&5!3G34� -��&5!97� A���&��� � 5" )� �S72':T�

�3�&��AS.'�T� -��%��� %��� 5���

5J�34&�S.'�T� -���A(�!� 5" )� � 5" )� �S.'�T�

�A(�!S.'�T� -���A(�!� 5" )� � �����S.'�T�

�?�4��!34ST� -��[�!4&5G� ������ ��� �#� �

=�4�?�4ST� -��[�!4&5G� ������ ��� �#� �

��!3� -����!3� ���� ����

%((A3�5� -��%((A� A���#��� A���#���

%A(%S'�T� -����3�(� �� �� �� ��

%A(%S'7T� -���%&5�4l� %�� �� %�� ��

%A(%S'9T� -�����!�3�(� �� ���� � �� 5$���� �����

%A(%S':T� -���(A3(%E� (A3� (A3�

%A(%S'�T� -���G4�0?&�� G ����#� 5$���� �����

!&�3� -��!&�3� !� �� 5$���� �����

!&�3�!��0� -��!&�3�!��0� !� ��� �� 5$���� �����

�(53l� -���A(�!'�-����(53l� ����� �����S72':T�

�J!(&5�� -��&5!97'�-����J!(&5�� �"��# � �� 5$���� �����

%l!3�ST� -��%l!3�ST� %���� 5$���� �����

�.�Y�� �#��$��S��-�"�M�����#/-�#���� ����� ��� T�

��Y���#����S��-�"�M�2T��Y�� ����� �)����S��-�"�M�2T�����Y�%A(%��")����S��-�"�M��T�

Page 171: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !(!

-�������" ���� � ��� ����# ���

(�&� %�����"�� �����"�����������������@A'� ���$���"�� ���� �� ���������������� $6�/� �"� $6�/5$����� �� ����� �)��.�� #�K � ��� ����� ��� ������ �����/����� �� �� �����#�� �*8����@A���&� %���M�

.� � $� ����� �������� ���������

%A(%� =� �+���� 5$���� ����� ()1����������)�+ ����� ��'�����/�����"� �� �������� ����'�����#� ��� +-�#��'��.����������������������

�?�4ST� ��� �#� ��� ���K�97�;�� !� ����-�.�����#� �#� ����"��������� ����(�� ��� )K �������� ���� �M��0����$/���

��!3� ;:�)��� ��1���22���K����1����:��

!� )K ��#�"�����������-� �*8�����) ������ ���

�3�&��A�S� �#��$�'���#���T�

�� �+���� 0 �#��$�M����K��������#����������K����

3���#�-�#������� �� �#��$����6 � ������/��������� � �� ����������� ���#������6 � �����#�������#� ���'��.� �����3�&��AS�2'9T�K���"������-� ��M��������������

�(J%A3�043�&�&(5�

;:�)��� �'��.��2�92<��K��'��.��292<�

J���������� ������ ���#��/-�#��'�#� �����/��������� �#��$���

�A(�!� 97�)��� 9':�.��2�9<��K�9':�.��29<�

0 �#��$���� ����'�#� ����/��������� �#��$���

&5!3G34� 97�)��� �7��:��:<9�;:<��K�7��:��:<9�;:<�

�� ����������������

5J�34&��S� �#��$�'���#���T�

�� �+���� 0 �#��$�M����K��������#����������K����

3���#�-�#������� �� �#��$����6 � ������/��������� � �� ����������� ���#������6 � �����#�������#� ���'��.� ����5J�34&�S�2'9T�K���"������-� ��M��������������

���AA&5!� �;�)��� �97��;<��K�97��;��

�� ��� K�����

=�4�?�4ST� ��� �#� ��� ���K�97�;�� !� ������ �+�������#� �#� ����"��������� ����(�� ��� )K �������� ���� �M�Q��\6.R��0����"�Q��\6.R��0����$/���

Page 172: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

��7�

�7P�� 5����

�76 523��M7 ��5����9:�0�H1��>�

0� �� $�� -�#� � ,"���,"� � �6������ ��) �� �� �)1��� @"� �� '� �� ��� "����+���� �� �� ���� �� �*$�����" ����,"�������#�*$�'������.� ���'�"����� � �����)��������������#� ������ �� �> ����D[�/2�06[�/��5[��$�� "����� � ��� ��� �)����M��������'�'������ ������ �������������K���K� �� � �" �-� "�+ ���#� ���� �����#����� ���������" �R����#� ����������#� ������� �#����������#��������-� ����-��" ���)��.�M�

0� �� #� �*� '� #���,"�� � � " � ���� -� "�+ ��� " � �)1��� �$���� � �� " � �)1����]%�O�� (� �)1��� �$���� �-�"� +� �� ����*$�� #� � �� �)���� ��� ������� S!�)���� �������T'��,"��� ,"�� �� �]%�O� � +� �. �� � ��� �������� ��� �#� ���� S!�)�����'������ ������ �� �����T��� �� ������ �� #���� #������ (�� ������ ��$�� � � " �� �)����������@'� ����� ,"�� �� � �� ��������������.� � K� #���#���� �� � �� ��� �� �> ��� ,"�� #�K � ��� ������ S�"� ��-��� �� � �� ��������M��%�� ��T��������*$��K�#� �������� ��K�������-��*$������� �� ��������$���.� ���6��S.� '� �� ��� ��� � ��� �� � �� ������������� �� �� ����� �� ��� ��� ������ ����'� �� ���" �����-�������#�� "*$�����-� "�+ ����

������ ���� ���#������������������������������������ ������� �" ��6�#���)���'���1"*$�� ���� ��� �� � -�#�� ��� ��������� ����� ��-��*$�� ���� � �� �������� �����5�%��� ��

Page 173: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !("

������������" ����"����)1����)���'� ��'�" ������,"���#����� ��������������� �������" �� �)���� S'������ �� �����%��T'� ���� K#�#�� �� ����� $�� -"#����� (� #� ���� ��� #��"��� �#"�� ��" �#�1"����-� ������ ���� ����� ��#����#����'��. ����������������"��� �)��������������(����� �� �-� �#�� �"��� K#�#��� �� �� -��� � ���M�J �� ������ ������� �� "��� ��� �� �+��������#"�������� ��" ������ I���)������ �,"��$�P�" ���" ��S ������ ����T��������N�� �)"�*$�����" ����� �N�� �� �������5]2�����)1����]%�O'��"���1�'�" ���� "*$��5]2��� �� ������5�����.� ���'� �� ��� -��� � #���#���� ���" � #>����� �� ����� ������������ ��� �)1�������5�%����A� ) �����,"�����������K�#�� ������ � ��,"���� ���� ��#� ���K���� �����

&�� �������"����� "*$����� �� �������5]2�����)1����]%�OM�

�3A3�!�( �� ��( �� 5�'�&� ��@�'�0� �����# ����'�0� ��A��0 �#���4(��( �� �'�&� �'�0� ��O?343�( �� ��( �� 5��Y�&� ��( �� 5���5������������������&� ��0� 5��Y�0� ��0� 5���5������������������( �� ���"�5��Y�M�"�5�P�

4��� �� �� #>�����5]2� �� �� �+���� I���!�'� �+� �� �� �� � �� ����������� �� ��� �)1����]%�O� �� #���,"�� �� �� �� �� �+���� �"�5�� � # ����� ������� �O�� #� ��5����'� ��+� �� �+���� �� +����������� ����5]2�� ��K��������������������������)1�������5�%��'���� �������"���#>����M�

�����%��!�� �������" #�7��������S���� M�!()1�#P������M�!�����TP���������@"� ��������P����@"� ���0� � �W2X��������MY�!�)����"�5��=��"�P����@"� ���(��P���P�

+� 4��� ) ���� �� ���� �� ��� ������ -�"� � ��� )���� ��� ������ �� �� �� -� "�+ ��� �����"�����,UI#��M�

%�������������⇒��)1���������S!�)����"�@"� �T�⇒��)1��������" #��⇒��)1����� ���(� �)1��� ����5�%��� K� �#���+ ��'� ����� ��� �)1���� ��� #� ��� $�� ���� � ���� ����

�� �� ��������)1�����������5�'� ���������� ��K�����" ��)1�������5�%�����

0� �#����"��'��� ��#�����)1�������5��� )K �K�#���#������-� "�+ ���" ��)1�������5�%�������� ��'� �$�����#��������)1�������#��.��������*$����� �.�'�" ��)1���R������ �� ��� ������ ��� �#� ���� �� " � �)1��� �)5������ � ������� �� �)���� ��� �������'� ���� ��� �1�����

•� �)1���R������+������������)1����]%�O�S� ��K������)1�������5�%��T'��$����������"�������"� ��#� ���#� ��������� ��"����������#��"�����

Page 174: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

��:�

�7P�� 5����

��7� � ���1��.��16M� �

0� �� � � � � � " � -� "�+ ��� $�� � � ��" � ��� ���'� �.���� �� #� ���� � �!4� ���#��������-� "�+ ���'���� �)�� �������#���,"������-� "�+ ���"� ������������ ��8���������������"� ��� '��"���1�'��� �� �" ������" �������K� ��� �,"���� ��������� ���" �-� "�+ ���,"��,"� �,"��������� �� �������?� ��# ���%� �4����Y��;<���=� �# ���%� �4����Y��22<�S����#� ���������" ��-��������������� �����:T��

(� � �� � �� �)��.�� ������� �.�� ��� ���� � �)�� �'� � � � ���� �� ��� �)1���M�$����'�$/���'�$� �'�$��$S�'�$��/���� ��$��� �'� "������ �� )�)����#����������� �� ��-��� ��� �� ��*�'�#���,"��" �)�$��,"��,"� ��� -� "�+ ���,"������1�� � � � � ����� �������������#B'�������������"����#� ����M�

������%��!-� �������%"�����#BS���� M�!()1�#TP����������M�� ��W2��7��X��-�#�� P�����A�'��#���R'��#���l'�&��M�&��� P������ ��M�O� �P�������M�?��P������� ��M�! � �P����4�M�!4�#P����������0 �� �%�����#P��������MY�0 �� �������?����P������#���R�MY�G�����#�����S��'�A(G0&R3A�RT�����0�.���0� &#�P������#���l�MY�G�����#�����S��'�A(G0&R3A�lT�����0�.���0� &#�P�����1���&��MY�2������ �����"���������������1�S�� ����W&�X����!�"�� A�)��T����S�� ����W&�X����!�"�� 3��T������������������������������� ��MY�!�� �S�� ����W&�XTP�������������1�S��� ������)��T������������������������������������0 �� ����������MY���� ����P�������������������MY�0 �� �������?����P����������������4�MY���� ��%�"��4�#P����������������4�!���MY�S4�!���\�=� �# ���%� �0�����T�o��#���lP����������������4�A�-�MY�S4�A�-�\�?� ��# ���%� �0�����T�o��#���RP����������������4�%�� �MY�S4�%�� �\�=� �# ���%� �0�����T�o��#���lP����������������4�4����MY�S4�4����\�?� ��# ���%� �0�����T�o��#���lP�����������������1�S����S�� ����W&�X����!�"�� A�)��TT�����S��� ��%� �� �����Y�)������T������������������������0 �� �������4�#����S4�A�-'�4�!��'�4�4���'�4�%�� TP������������������ ��MY��!nA3�!P�����������������1�S�� ����W&�X����!3��T����S�� ����W&�X����!�"�� ���B3��T������������������������� ��MY��� ������!n�&5GA3A&53�����!n=�35!34�������������������

Page 175: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !(#

����������������������������������������1���� ��O� �O ������������������������������� ��MY��!nO(4�%43�mP���������������������1���� ������ ��Y����� ����������������������������� ��MY��� ������!n�35!34P���������������������1���� ������ ��Y��4���E"��-������������������������������ ��MY��� ������!n4&G?!P��������������������4�%�� �MY�4�%�� �\�0 �� ����������?�����\��P������������������P������������������A��MY���� ��G�!�.%"-S�'7��TP����������������4�A�-�MY�4�A�-�\��#���R�\��#���RP����������������� �L!�.S��'��'��A�'�4'��� �TP��������������P����������P�����0 �� �3���#P���������P���P��������

��� ��#I� #���#�� " � ��"#�� ������%�� -��� $�� �# ����� ,"�� ��#I� ���� ��-�#"������� � ��� � �� ���� �� � �'������#I�$��#���#���,"���$�����" �����#��M�

&�#��� ���-�����#�� ����" ���K �������� �+�����,"���� $��"������������� �� ����3��$����#��������)1������� � ���$���������� ��K�����#� ���M�

0 �� �%�����#P�

(� �)1��� � � � �� � ��K�� ��� " �� �")#������ #���#���� �� �������� 3��� #������ �� ,"��� �� ����/���� �� # ��*$�� ��� ���� �� �� -�#�� � +-�#�� ��� ���� �� S3��� �)1��� �� �� ��� " ��#���"�� ������O���L��?��T��J ��-� ���� ������������ � � � ��� ���"����� �������"����#� ����M�

0 �� �%�����#P�0 �� �������!�.("S2'�2'�d3�+�� � � ������HTP�0 �� �3���#P�

���'� �� �� ��� �)� � " �� #>���� -���� ��� -� "�+ ��� K� � �#���� -��� � ���� ��� ,"�� ���'���#��� �����#�� ������� �� ������� ������S����-���" ��#�� ������O���L��G�&�#�� ����-"*8��� ��� �0&� �� �� �,"� � � �� ���� ��� ������� ���� �)1���� ���������T'� � >.� �� ������ K��� �-�#� ������������#����S� ���.���T������ �" ������" �����1��������� �� � ������

��� �� ���� �� �-�#� � �)1��� �� �)1��� S��� ���� 0�(��� �"� ��� ���� .���T� �� ���� � �"���#� �#� /��#����� ��������������#�������������� � � � /������A� ) ���������� $����� � � ���$��

���O���L���K�� �� ��������� ��� ���,"������ �� ������� �#� ������������>��#��#� +�

��#� ����M��

0 �� �3���#P�

+�J ���" �� ��/����� ���� � � ���$����� ��"�� ���> ��������� �� �#����"����� ��K�����"�����*$�� ��� �6 � ��� )�)����#��� � ���� ,"�� -��� � �� �#����� ��� �)1��� 4��������� 3 �� �����

�.��� � �� 4��� 0 ��� S��� .������ ������T� ,"�� ����� �� � ��,"� ���� " �� �� �$�� ���

�� �� �*$�� � ��K�� ��� �� �� � ��K�� ��� ���"��� ��� �*�M�-��� � ���#� �"�� ��1�1�"B����������� � �� �����

Page 176: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

��;�

�7P�� 5��+�

��96����5���M�5���

�) � � ��� �,"�� ���� ��I��#�� �� �� ��#�� �#� ��� �� ������� ��� #� ���� ��#� ����� ������ �'����"��#� �������� �����"� �" �� ��#� ���� �����*$��� ��K������ �� �������"���.���'��#� ������ ������)1����!��������'�!���!� ������'�!� �������'�!!� ������������)1����

0� �� �� � " �� +�#� �'� "��������� �� � �� �������/������U� �)�� ����� �� �� ��� ���������,"����#� ������� +�� ���� ��Q�"��������)���#� ����� ����������*$���"���-� ��*$������ �������" ���� �����#� �����

�� +�#� ���� �����#� ��������� �� ��� ���"��������� ������#� �#� ����"�-� �����+�����'� �� �����"� ��#� ���" ��1��������$���#���*$����� +�#� �����������*$���#� ��#� �#� ���#� �#� ��J����������'�<���������� �������� �" ��� ����#� �������

�� +�#� �� )���#� ��� #������ ��� I�� #� ���'� ���� ����� �� � ���� �� �/ �"���� ��� � �� ���� ������ +�#� ��� �� �� �������������"����� ����� ���������#� �#� ��� -�.������� ��� ��"�$���������#� ��� +�#� ��S�.M��'��'�S'����T����� #�� ���� ����� +�#� �� �� �������#� �#� �� �) �#�'���������� ��")��"/����� ��" ��S�.M�n'�^'����T��

3�����$�����#� �#� �������#�����"���������#� ��� +�#� �M�

�� �#� � J�����*$���� +�#� ��

f� ��"����������*$����� +�#� ��-�,"���� ������� � �� ��#� �#� '�-������#� �,"�����#� �#� ������������,"����� ��� ��3.M�fP2Pn�

_� !��������#� �#� �������������� $��#��� ������� �� ��6�#"�����3.M�_���P2Pn�

`� !��������#� �#� �������������� $��#��� ������� �� �6�#"�����3.M�`���P2Pn�

`_� �"�����"�������#� �#���_���`��3.M�_���`_���P2Pn�

k� J���������� �� � #� ���� �����#� �#� �$������#����#� ��-�.���3.M�fkS���kT222�2222P2Pn�

A� 4�,"� ��� ���#� �#� �����-�)K�#����) ���> ������ ��������*$�'����������['������3.M�AAAP�Pn��

��� 0� ����� ���#� �#� �����-�)K�#����� ��������*$�'� ���$���) ���> ���'����������['������3.M����P�Pn�

�� 4�,"� ��� ���#� �#� �����-�" K �#����) ���> ������ ��������*$�'����������['����'�2����3.M����P�Pn�

�� 0� ����� ���#� �#� �����-�" K �#����� ��������*$�'� ���$���) ���> ���'����������['����'�2����3.M����P�Pn�

�� 4�,"� �" �#� �#� ��) ���> ����� ��������*$���3.M����P�Pn�

#� 0� �����"������,"��,"� �#� �#� ��� ��������*$�'��� �������������6 � �����#� �#� ���"����������3.M�###P�Pn�

2� 4�,"� ��� ���#� �#� ���" K �#����) ���> ������ ��������*$�'��������2����3.M�222P�Pn�

�� 0� ����� ���#� �#� ���" K �#����� ��������*$�'�$���) ���> ���'��������2����3.M����P�Pn�

r� 0� ����� ���#� �#� ���" K �#����� ��������*$������"�������������������"�\'�$���) ���> �����3.M�rrrP�Pn�

M� J��������#� ������ ��� ������ ��'� �"��������"�����

�� J��������#� ������ ��� �������'� I��������

Page 177: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !((

3.� ���������+�#� ��M��

$���� �X������ /������� �� ������� 5�,���!���-��� fkS���kT222�2222P�Pn� 2;�9<�99�2� S2;�T9<�99�2� S2;�T9<��99�2��30� 22222k�����P2Pn� �92��272� �92���272� �92��272�?� �� f�2M22M22�_AAP2Pn�� �222:90�� �2M22M:9�0�� 77M22M:9�

Page 178: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

��<�

�7P�� 5��.�

��96����5����7�023���+G7�023�

�� � �� �*$�� �� �.�� �*$�� ��� � ,"����� �� ������� ����� �� � ��������� �� � � �)�� ���,"������� �� �����)������ �-� ������� $���� �����������S0� ���.'��%���'�( �#��'���)���'�(�%�'� �#T� �� ,"���� � �)�� �� � �� ��� ����� ��� �.�� �*$�� �� �� � ,"����� �� -� ��� �!R!'�,"������ ,"�������� +� ������������� � ����������#������

��� � ��� " � ���� � �1���� G ���� �� "������ ��� $�� #� �� 1/S�6 �� �� �� � �1��� #� ��/S�6 ���

7�� ����,"��������"�����)1������-�*��������"������� �*8��M�

•� 0� ����()1���$����SA�#�����������+��������������T�

����������� ���1��%������

���%���5� �� �)�� ���

!�)��5� �� 3�0A(l33�

•� 0� ����()1������������!�SA�#�����������+�����������T�

����������� ���1��%������

��-�"�3.� !R!�

���� � � ,"����!�.�eo�!R!�

•� 0� ����()1���5��������!�SA�#�����������+�����������T�

����������� ���1��%������

��-�"�3.� !R!�

���� � � ,"����!�.�eo�!R!�

•� 0� ����()1����%�����SA�#�����������+����5�������T�

����������� ���1��%������

������ p3.�� ��

5� �� %"3.�� ��

•� 0� ����()1����%�����SA�#�����������+����5�������T�

����������� ���1��%������

������ p& �� ��

5� �� %"& �� ��

(� ��� � �)��������#���-�#�*$��-�#� ����� �#������# �� �1�������������� ����) � � ������������ �)�����K� ����������������)1����������������5����������(� �������#>�����K�)� ��� �������1� ��M�

•� 0� ���������������U�����)1���%"3.�� ��

Page 179: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !(�

������%��!�� ��%"3.�� ����#BS���� M�!()1�#TP��������� ,M�!�.����P�����������1�������������3.�#"������������������������# ����" �� �MY�# ?�" G����P���������N����!�)��������������������������������(��P��������������� �P��������������1������3(�����������������������������������������������S� ,'�����������������5� �TP����������������4�O ��S� ,TP���������������������������������������O ��AS� ,'�����%�5� �SZ3 �5�ZT���� ���\�ZeZ�\�����������������������������%�5� �SZA��5� �ZT���� ���\�ZeZ�\�����������������������������%�5� �SZ�� �5� �ZT���� ���\�ZeZ�\�����������������������������%�5� �SZ0���3.ZT���� ���\�ZeZ�\�����������������������������%�5� �SZ?� ����ZT���� ���\�ZeZ�\�����������������������������%�5� �SZ���� �ZT���� ���\�ZoZTP��������������������.P����������������%�����3(�P�������������������������S� ,TP���������������P�������������#����P�����������P����������# ����" �� �MY�# ��-�"�P�������P����P�

&�#��� ��� �� ��� �.�� � � �� � ,"���� S�� #���� 3 ������T'� �� -"*$�� ��� #� �����������������#�� �" ��)1������� ,"�����.��S��� ������������������� �+����$S���T�����#� �����M����� ��� �����)1�����#������� ����� ���*$���A� ) �����,"��" �� ,"�����.���>������ �#�)� �����#� ����.����-�����������#� �����M����S��� ��" ��.��� ���� ������ ,"���� �� �� #" �� � ��� � ���*$�� �� ��#�� �� ����*$�T� �� M���2�� S��� �� " � �.�� � ���� ������ ,"��������#" �� ����� ���*$����#���" ����������T��$����6�#�� �)������� +������ #� � ��������� ,"����#� ���#� ����������

•� 0� ���������������U�����)1���%"& �� ��������%��!�� ��%"& �� ����#BS���� M�!()1�#TP���������� ,M�!�.����P�����!�.�M�5�����P�����&M�&��� P��1%����������=� �����M�5�����P�������� ��M�� ��P��������� ���MY�ZZP�����#S&TP�

Page 180: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

������������������������������� �� � ���������������� �����������

� !-*

���N����!�.�W&X�`_�ZoZ�������������������1�!�.�W&X�Y�ZeZ�������������) ��BP������� ���MY� ���\�!�.�W&XP��������#S&TP������P���� ��"��MY� ��P���P�����������1�(����������3.�#"����������������������# ����" �� �MY�# ?�" G����P��������!�)����(��P�����������������S� ,'�(��������������5� �TP��������4���S� ,TP���������1�����3(�S� ,T���������������������������4���AS� ,'!�.�TP�����������N����!�)������������������������������������&�� P�����������������MY�2P��������������������%�5� �SZ3 �5�ZT���� �������MY����=� �����P��������������������%�5� �SZA��5� �ZT���� ����MY����=� �����P��������������������%�5� �SZ�� �5� �ZT���� ���MY����=� �����P��������������������%�5� �SZ0���3.ZT���� ����MY����=� �����P��������������������%�5� �SZ?� ����ZT���� ����MY����=� �����P��������������������%�5� �SZ���� �ZT���� ������MY����=� �����P���������������0��P�������������P��������%�����3(�S� ,TP�����������������S� ,TP��������!�)���������P���������# ����" �� �MY�# ��-�"�P������P���P�

=� ������ ��� �� � ���� ,"����S��#����3 ������T'���-"*$�����#� �����������������#� � " � �)1��� ��� � ,"���� �.�� S��� ����� ����� ���� ��� �� �+����$S���T� �� �� #� �������� � ��� �� �� �)1��� ��#����� �� �� �� � ���*$��� (�� #� ����� ��� ���" �� �$������ SAI� " �#� �#� �� ��� ��� ����� � ,"���T� �����2�� SAI� " �� ����� ��� ��� ����� � ,"���T� �$�� �� �)�������� ���� +�������� � �� �����*�������������������K� �����������-"*$�������Q�������,"���� +�����*����� � #��������� ,"�����.�� ������

Page 181: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

�������� ����������������������� �� � ���������������� �����������

� !-!

�7P�� 5��/�

�S����6������ 5��7�����67� �

5���� 6�� �� ��I��#�� ��� �)����� ��� ���� " �� #����� ����#���'� ���,"����� � � ����� �����#" ���� ����4���X4��%��� S��#�����! ","��T����#� ���" ���#" ���,"�� -������ ��) ��������� ���� �����#����� �������� ����

�"� M�0�"��?� �����222:;�7;2:^�� �"�� ����� �S���" ���-� � ���� ����T�

��� �� ��-��� ��� ����#� �"��� ���� ���)���M�� ������%���S2TP�

7�� �� ����"�� �" �� �� � ���� ���� �����6 � ��������"���M�� �� �� ��5" ��#M�� ���&P�� ���� !� �M�A��&P�� )����� ���� !� ��MY�5�LP�� �� ������ ���������#����0 �#�����������P�� ��"���5�L�_��� !� ��\�5" ��#�o�S��7:�;2�;2TP�� ��P�

9�� �� �� �� � ��� �"���#� ��" ��� �"�����S��������� �� +�������� ��TM�� ��� ���# ����" �� �MY�# ?�" G����P������� ��b�3�# �������*$�����.�#"� ��,"��c�� -������� ���# ����" �� �MY�# ��-�"�P�� ��P���� �����#����0 �#�����������P�

:�� �� ��#� ��� ���� ������ �������#���`3� _M�� � �#��" ��!�� ��3��m��0 ���S���� M�!()1�#P��� �m��M���� TP�� b�� ��K�����������m��0 �������-� "�+ ������#� �������c�� )����� ���b������C�� �m��D� �� � ���#>�����r�9�#� ���������`3� _'�r��#� ����������#���!�%�c�� ����-�m���Y�r�9����� ���)����� �������m���MY�r2�b��"� � ������ �c�� �������b���# �����,"�������"��#� �����c�� �����P�� ��P�

��� �� �� ���-�#� ���#� �����.���� �����" �#� ����%G ���������������#��6��M�� � �#��" �� !�� ���%G ��� �L�������S���� M� !()1�#P� #��� 4�#M� !4�#P� �����M� !-����P� ���M�

!G ��� �L���TP�� )����� ����-�!�)����������� ���Y�dRRRRH����� ���)����� ��������%G ���������% "������� �MY�#�4��P�� ��������%G ���������������� �MY�#������ P�� ��������%G �������������4�#S4�#TP�b�����������������-"���c�� ��������%G ����������!�.("S4�#�A�-\7'�4�#�!��\�'���������� ��TP�� �����P�� ��P�

Page 182: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

�������� ����������������������� �� � ���������������� �����������

� !-

;�� �� ��#�� � �" ��" ��� �� � ��S���������������O���L��T����� � ����" �����#�����

S��� I�� ��� �����-� ���M�� ��'� �.� �������� �� �����TM�� O�3.�#Sd�MkL���L�k�������.�H'��On�?(O5(4��ATP�� O�3.�#Sd�MkL���L�k�������.�H'��On�?(O��R&�&[3�TP�� O�3.�#Sd�MkL���L�k�������.�H'��On�?(O�&5&�&[3�TP�

��� �� ���� � �" ���)������� �M�� !�)������ �P�� �-���!�)����3�-����� ��� ������ ������b���"��#� ������� �����)����c�� ������!�)����5�.�� ���"���!�)����3�-P�

<�� �� ���� #��� �����#�������-"*$�M�� � �#��" ��!�� ���� m����LS���� M�!()1�#P��� �m��M�O� �P����-M�!���-���TP�� )����� ����-�m���Y�=mn������� ���������L�������Sd=�#I�� ������"�����HTP�� ��P�� b�������� �"��������=mn�����=mn��7�c�

��� �� ��������� ������#� �������" ���)������ ���" �M�� b�3����.� ����#������������)�������� �� ���� "" ��c�� �� �� ���5" M�� ���&P�� )����� ���-� �5" �MY�2���!�)���( ��� ��������"��������� ���)����� ������!�)���������&�� P�� ������!�)���������������W5" X������S!�)���( ��� �������W5" XTP�� ������!�)���������0��P�� �����P�� ��P�

�2���� ���� �-�#� ����" �#� ������ ��K��� ��"�/ �� M�� -"#���!���0� �0� S!���&�� ��M�&��� T�M�)�����P�� )����� ����-�S!���&�� ������7T�Y�S!���&�� ��7T����� ������ ��"��MY�! "��� ��������� ������ ��"��MY������P�� ��P�

������ ���� �-�#� ����" ��� ���#�K �" ���� �M�� -"#���&�&��� S!���� ��M�� ��T�M�)�����P�� )����� ��� ��� ������� !�&S!���� ��TP�� ����.#���� �������(�3���� 3 � ���� ��"��MY������P�� ��������� ������� ��"��MY�! "�P�� �����P�� ��P��

�7���� ���") �� �����M�� -"#����")���S���3 � ��� �M�!���!� �T�M�&��� P�� )����� ��� ��"��MY����������3 � ��� �P�� ��P��� �

Page 183: Borland Delphi - Desvendando o Caminho Das Pedras - Fernando Anselmo

�������� ����������������������� �� � ���������������� �����������

� !-"