Here’s the new syntax requirements for const params which require types and
consts be separated by semicolons.
Does TStuff2 need a ; between the two const params? Sven said consts must
follow ; or < but they’re both consts so I thought I’d ask to make sure.
type
generic TStuff0 = recor
Am Sa., 5. Jan. 2019, 17:28 hat Ryan Joseph
geschrieben:
>
>
> > On Jan 5, 2019, at 1:18 AM, Sven Barth via fpc-pascal <
> fpc-pascal@lists.freepascal.org> wrote:
> >
> > I didn't design the original implementation, but the improvements for
> the last five years or so have been mine. 😅
> >
> > @R
On 05/01/19 18:51, Ryan Joseph wrote:
Given the new syntax requirements we talked about there needs to be a ; after T
now. What error should be used if there isn’t a ; semicolon separator between
types and consts? I just used a parser_e_illegal_expression for now.
scan_f_syn_expected=02003_F_
Given the new syntax requirements we talked about there needs to be a ; after T
now. What error should be used if there isn’t a ; semicolon separator between
types and consts? I just used a parser_e_illegal_expression for now.
generic TStuff = record
Regards,
Ryan Joseph
__
> On Jan 5, 2019, at 1:18 AM, Sven Barth via fpc-pascal
> wrote:
>
> I didn't design the original implementation, but the improvements for the
> last five years or so have been mine. 😅
>
> @Ryan: I can give it a try to rework the list from defs to syms and you can
> then put your const impl
Hi,
I need some function to get a unique ID for a disk.
I need this to identify if my program has accessed this disk previously.
On Windows I can retreive the VolumeSerialNr, but how do I do
something like that in Linux?
Mind you: the "ID" retrieved does NOT have to be the same for each platform.
On 1/5/19 3:18 AM, Sven Barth via fpc-pascal wrote:
Am Fr., 4. Jan. 2019, 21:11 hat geschrieben:
On 1/4/19 1:47 PM, Ryan Joseph wrote:
> Who designed the generics btw?
unless i'm highly mistaken, you've been talking to them... they're quoted
above, even ;)
I didn't design the
Am Fr., 4. Jan. 2019, 21:11 hat geschrieben:
> On 1/4/19 1:47 PM, Ryan Joseph wrote:
> >
> >> On Jan 3, 2019, at 11:11 PM, Sven Barth via fpc-pascal <
> fpc-pascal@lists.freepascal.org> wrote:
> >>
> >> Fair enough. In that case support for constants in generics will have
> to wait as well. 🤷
>