* * *

Author Topic: Args : Arguments  (Read 163 times)

hakelm

  • Jr. Member
  • **
  • Posts: 72
Args : Arguments
« on: September 11, 2017, 02:59:54 pm »
In system.fdp we find for instance the declaration:
Procedure Write (Args : Arguments);
that uses the very flexible type Arguments.
Where and how is Arguments defined and how can I use the type Arguments for my own purposes?
Thanks in advance for any tip.
H

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5644
Re: Args : Arguments
« Reply #1 on: September 11, 2017, 03:35:04 pm »
You can't. It is only a pseudo syntax for something that is hardcoded into the compiler.

The compiler however does allow for a more limited variable argument syntax, search the manuals for "array of const"

hakelm

  • Jr. Member
  • **
  • Posts: 72
Re: Args : Arguments
« Reply #2 on: September 11, 2017, 03:40:55 pm »
Thanks
That (nearly) did the trick.
H

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus