Recent

Author Topic: [SOLVED] Are they called Properties or Descriptors?  (Read 3083 times)

WickedDum

  • Full Member
  • ***
  • Posts: 211
[SOLVED] Are they called Properties or Descriptors?
« on: August 17, 2016, 03:54:37 am »
I understand $COMPILER directives.  I also understand FPC RESERVED WORDS.  But where in the heqq can I find a list of the ITEM.OTHER_WORDS??? %)  Are they called Properties or Descriptors or ???  It would be very helpful to have a list of them.

If I knew what to call them, I might be able to find them...or maybe not. :(

HELP!  Thanks!
« Last Edit: August 18, 2016, 10:54:04 pm by WickedDum »
Practice Safe Computing!!

Intel i5-4460K @ 3.2GHz | Win8.1 64-bit | FPC: v3.0 | Lazarus:  v1.6.0

derek.john.evans

  • Guest
Re: Are they called Properties or Descriptors?
« Reply #1 on: August 17, 2016, 06:43:16 am »
Depends on what ITEM is, doesn't it?

If you mean, ITEM is a class/object and you are wanting to find the methods/properties, then search for the class/object name.

What is ITEM?


Handoko

  • Hero Member
  • *****
  • Posts: 3239
  • My goal: build my own game engine using Lazarus
Re: Are they called Properties or Descriptors?
« Reply #2 on: August 17, 2016, 07:11:34 am »
When typing the code, move your cursor right after the (dot) item. and use [ctrl]+[space] shortcut, a list will show up.

It is called Identifier Completion, you can find other useful shortcuts here:
http://wiki.freepascal.org/Lazarus_IDE_Tools
« Last Edit: August 17, 2016, 07:18:38 am by Handoko »


WickedDum

  • Full Member
  • ***
  • Posts: 211
Re: Are they called Properties or Descriptors?
« Reply #4 on: August 17, 2016, 08:45:25 pm »
Thanks, guys!

For clarification: 
Example:  var.text.  What other properties(?) are available to me besides 'text'?

Geepster:  If I knew what ITEM was, I would probably not have to post the question.  Search 'what' for the class/object name?

engkin:  The first five items, I got.  The next three links, I got - A HEADACHE!!  The RTL list is nice!

Handoko:  Excellent reply!  Well...almost.  It listed a lot of Functions and Procedures.  I guess I'm looking for 'properties'.  As for the IDE Tools, I was looking at that the other day  Not sure I am far enough along yet to use the shortcuts.

In batch files and also in different languages there are specific 'words/commands' one can use to get the OS, date n' time, drives, et al.  That's one list I would like to have.

Thanks, again!
Practice Safe Computing!!

Intel i5-4460K @ 3.2GHz | Win8.1 64-bit | FPC: v3.0 | Lazarus:  v1.6.0

Handoko

  • Hero Member
  • *****
  • Posts: 3239
  • My goal: build my own game engine using Lazarus
Re: Are they called Properties or Descriptors?
« Reply #5 on: August 18, 2016, 01:25:45 pm »
Handoko:  Excellent reply!  Well...almost.  It listed a lot of Functions and Procedures.  I guess I'm looking for 'properties'.

If you start the shortcut without putting your cursor after the dot of the class/object, you will a huge list of things. So try it again with this step-by-step testing:

1. start a new empty application
2. move your cursor below the implementation section
3. type: begin and press [enter]
4. type: Form1
5. type a dot: .
6. activate the shortcut
7. you will a list of things that related with the class/object only.

In batch files and also in different languages there are specific 'words/commands' one can use to get the OS, date n' time, drives, et al.  That's one list I would like to have.

Perhaps these may help:

Functions that are connected to the operating system:
http://www.freepascal.org/docs-html/rtl/system/osfunctions.html

Functions for retrieving and setting general system information such as date and time:
http://www.freepascal.org/docs-html/rtl/dos/sysinfo.html

Functions for date and time handling:
http://www.freepascal.org/docs-html/rtl/sysutils/datetimeroutines.html

Functions for file manipulation:
http://www.freepascal.org/docs-html/rtl/sysutils/filenameroutines.html

Routines to handle files on disk:
http://www.freepascal.org/docs-html/rtl/dos/filehandling.html

Functions for reading/writing to file:
http://www.freepascal.org/docs-html/rtl/sysutils/ioroutines.html

Have fun!

WickedDum

  • Full Member
  • ***
  • Posts: 211
[SOLVED] Re: Are they called Properties or Descriptors?
« Reply #6 on: August 18, 2016, 10:53:18 pm »
Thanks!!

I guess I just saw Procedures and Functions.  Now I see Properties, too!  Thank you for the steps, Handoko.  :)

As for the links to the RTL, as I mentioned to engkin, it is chocked full of stuff (functions, etc.).

Thank you all very much!!


Practice Safe Computing!!

Intel i5-4460K @ 3.2GHz | Win8.1 64-bit | FPC: v3.0 | Lazarus:  v1.6.0