);
end;
var
delegate: TMyDelegate;
begin
delegate := TMyDelegate.Create;
TestDelegate(delegate);
end.
Regards,
Ryan Joseph
thealchemistguild.com
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http
) then
intfDelegate.DoThis
Regards,
Ryan Joseph
thealchemistguild.com
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
wrote:
For CORBA interfaces do
IMyInterface = interface
['myintf']
procedure DoThis (value: integer);
end;
if delegate.GetInterface('myintf', intfDelegate) then
intfDelegate.DoThis
Regards,
Ryan Joseph
thealchemistguild.com
like the following if you
are using CORBA interfaces.
TMyDelegate = class(TObject, MyDelegate)
...
end;
And that should work correctly with CORBA style interfaces (which
don't have reference counting built-in).
That was useless code, you're right, thanks.
Regards,
Ryan
, Ludo Brands wrote:
http://www.freepascal.org/docs-html/rtl/sysutils/supports.html
I'm getting an identifier not found error with the procedure
Supports. Where is this defined?
Regards,
Ryan Joseph
thealchemistguild.com
___
fpc-pascal
r easy.
I don’t use the RAD tools so those are in the way but the biggest problem is
how everything is broken up into separate windows. Could that be changed?
Thanks.
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@list
eferences
>
>> and a place I could reference the Windows headers in Pascal?
>
> MSDN, nowhere else despite they only have documentation for languages they
> support (C++, C#, VB, perhaps F#).
Regards,
Ryan Joseph
_
> On Oct 22, 2015, at 6:07 PM, Graeme Geldenhuys
> <mailingli...@geldenhuys.co.uk> wrote:
>
> On 2015-10-22 05:20, Ryan Joseph wrote:
>> Keeping in mind I know literally nothing about Windows programming,
>> where is a good place to start?
>
> Start reading
lcome):
> http://www.controlpascal.com/tutorial.htm
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
odetools.
>
>
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
rg
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
or where I could reference that online (.net maybe?).
Sorry for being vague but I’m starting from absolute ground zero. ;) Thanks.
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin
so and I found an example at
http://wiki.freepascal.org/fcl-image#Drawing_text which uses TFPMemoryImage.
Thanks for the example, I’ll give this a try.
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
FPImage and it's easier to implement also, being just a single function.
Thanks.
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
PCustomImage is an abstract class
but TFPMemoryImage apparently has stored values so I should be able to access
the “Data” property but these seem to be accessors to getting single pixel
values so I can’t just pass the entire block into glTexImage2D like you did.
R
ses documented or should I just try to dig around
the FPC sources to find these things? There are dozens of classes available at
http://wiki.freepascal.org/fcl-image but I don’t know what any of them do.
Regards,
Ryan Joseph
___
fpc-pascal
so I’m not
sure how this would work. There is the guide I found but is there any more
complete examples I could look at? Too much is missing to understand exactly
how all these classes work together.
http://wiki.freepascal.org/fcl-image
Thanks.
Regards
. A small simple solution
would be best if that’s possible.
Thanks.
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
ta.
There’s code at
http://www.sulaco.co.za/opengl_project_BMP_JPG_TGA_texture_loader.htm which
follows a similar procedure but it’s Delphi and I couldn’t get it to run on FPC
on my anyways.
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-
UI/blob/develop/src/corelib/fpg_imgfmt_png.pas
But can I then access the pixel data so I can hand it to glTexImage2D and make
the texture? I think the FPC RTL classes on
http://wiki.freepascal.org/fcl-image would do this also but again it’s not
clear how to get the pixel data for glTexImage2D
Tha
y libraries?
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
bitmapData);
CFRelease(colorSpace);
end;
end;
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
There should be some a single continuous block of memory in this class
but I can’t seem to find it using the colors/pixels property. What am I missing?
==
http://lazarus-ccr.sourceforge.net/docs/fcl/fpimage/tfpmemoryimage.html
http://lazarus-ccr.sourceforge.net/docs/fcl/fpimage/tfpcustomimag
o be an extra step now.
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
take the higher learning curve route and break down the
OpenGLControl demo and use TOpenGLControl?
Thanks.
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc
ersion uses OpenGL ES2.0, and has support for an OpenVG context if
> users prefer a much easier to work with 2D API.
> ___
> fpc-pascal maillist - fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pa
reeGlut(LoadLibrary('/freeglut/bin/freeglut.dll'));
Did I miss something?
Thanks.
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
extension:
> https://www.khronos.org/registry/gles/extensions/OES/OES_blend_subtract.txt
> . If this extension is supported, you could load glBlendEquationOES
> function, which should be what you need.
Regards,
Ryan Joseph
___
fpc-pas
Functions like glBlendEquation from GLExt are crashing (access violation)
compiling on Mac with ppc386. The functions didn’t get loaded I think for some
reason.
Is this is known problem on Mac with a work around perhaps?
Thanks.
Regards,
Ryan Joseph
oad_GL_version_1_2, and then
> (assuming Load_GL_version_1_2 returned true) glBlendEquation will be
> non-nil and will work OK.
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
-to-2-0-ios
> On Jan 29, 2016, at 11:14 AM, Michalis Kamburelis <michalis.ka...@gmail.com>
> wrote:
>
> Indeed, glBlendEquation is simply not available in OpenGLES 1.1.
Regards,
Ryan Joseph
___
fpc-pascal maill
e] Error 2
make[1]: *** [compiler_cycle] Error 2
make: *** [build-stamp.arm-android] Error 2
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
ss that makes sense but I was thinking EVERYTHING on the system was now
> Java but that’s not the case I guess. The lesson here is that Android is
> built on Linux so we’re sharing more than I think.
This will probably make more sense when I learn about the asset manager more. I
think I rea
rch-arm/usr/lib/
> #endif
> #ifdef cpu386
> -Fl/home/michalis/.../android/ndk/platforms/android-19/arch-x86/usr/lib/
> #endif
> #endif
>
>
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
make sense here but I’m
not sure.
Any ideas? Thanks.
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Good idea, thanks.
> On Feb 21, 2016, at 9:08 PM, leledumbo <leledumbo_c...@yahoo.co.id> wrote:
>
> Learn how Castle Game Engine and ZenGL managed to do it. They don't use JVM,
> but the ARM target of the compiler.
Regards,
se engines like CGE give you more comfortable API for rendering,
> on top of this.
So internally Android just uses the same C libraries we were using in Pascal? I
guess that makes sense but I was thinking EVERYTHING on the system was now Java
but that’s not the c
,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
n Sat, 26 Mar 2016, Ryan Joseph wrote:
>
>> What are all the performance costs associated with subclassing TPersistent
>> for RTTI information? I want to use this in some classes but
>> unfortunately the way my code is written I need to basically make all my
>> classes de
the RTTI after the class definition.
>
> For example:
>
> {$M+}
> TtiVisited = class(TObject)
>... define your class interface here...
> end;
> {$M-}
Regards,
Ryan Joseph
___
fpc-pascal maillist
procedure DoSomething; virtual; abstract;
end;
“main” unit which implements the class:
type
TSomeClass = class (TSomeClassAbstract)
procedure DoSomething; override;
end;
Regards,
Ryan Joseph
___
fpc-pascal maillist -
at many other units use TClassB and it’s not exclusive
to TClassA so putting them in the same unit doesn’t make sense.
Maybe I’m doing something stupid but other languages have forward declarations
so I wonder why Pascal isn’t doing this also since it seems like the obvious
solution.
Rega
nt them merged.
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
C until 2004 maybe. It would have been smart to learn about Delphi
and new features but I just went ahead as normal missing lots of things that
would help me in future years, like today for example. :)
Regards,
Ryan Joseph
___
fpc-pascal maill
ve used abstract classes, dynamic
method invocation and more recently interfaces to workaround. Don’t tell me
this has been around for 20 years now I just never knew about it. ;) I should
have asked sooner that’s for sure.
Thanks!
Regards,
Ryan Joseph
_
ildren” (TClassB)
// and always returns a reference to itself because the children
// often need to know about the parent also
IClassA = interface
procedure ClassDidThis (parent: TClassA; action: integer);
end;
Regards,
Ryan Joseph
_
nit) so that’s why I’m seeing if there’s a better way. However I think I
like your idea of using them in conjunction with the uses in the implementation
instead of my "abstract class" solution. Thanks for the tip.
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
ys? It seems like a practical and efficient solution that
requires lots of extra work in design or typecasting/interfaces.
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
able in each function instead of typecasting is perhaps
more work but maybe I’m not getting it.
Thanks.
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
nits is preferable to typecasting ugliness.
Thanks.
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
B;
end;
function TClassAHelper.aClassBObject: TClassB;
begin
result := TClassB(FClassBObject)
end;
procedure TClassA.SomeProc;
begin
aClassBObject.OtherProc;
end;
end.
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.
B]" to “TClassB" or throws an error if the
identifier TClassB is not found
value.DoSomething(self);
end;
end.
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
refer using type casting or abstract classes more than mixing 2
mutually exclusive classes into one unit even though they may have dependancies
on each other. Editing and navigating the files would be confusing for one
since there’s no obvious name to use for the file now.
Rega
> On Apr 15, 2016, at 6:26 PM, Ryan Joseph <r...@thealchemistguild.com> wrote:
>
> I remember trying to doing pre-parser type things using macros but the think
> the conclusion is they don’t work by just replace text like in C.
>
> I’m trying an example like this but
asting is not so bad. :) Sure enough but it would
even better if the compiler was more friendly here. If there was a good pre
parser in FPC I’d just make some custom syntax but that’s not an option either
as far as I know.
Regards,
Ryan Joseph
_
ike this but getting errors and even crashing the
compiler (seg faults).
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
e
> integrity, and hashing a pointer does not meet none of this goals as it is
> process wide unique (no collisions) and its size is the fastest compare
> operation (most architectures).
Regards,
Ryan Joseph
___
fpc-pascal maillist
lf parameter and the "static" disables that. That's
> why.
>
>
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Why is this restriction in place and what are the alternatives if any? Some
times I want to just provide a method that sets default values for a record
without any parameters but FPC doesn’t let me for some reason.
Regards,
Ryan Joseph
> On Feb 5, 2017, at 3:27 PM, Sven Barth <pascaldra...@googlemail.com> wrote:
>
> constructor with a default parameter.
How? never heard of this. Thanks.
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.free
00014.4.1
> (it's the same for any kind of routine: function, procedure, method,
> constructor...)
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
wrote:
>
> Oh, well, it was worth a shot... Alternatively you could declare a class
> function named Create that returns an instance of the record. Even Delphi is
> using that for Rtti.TRttiContext.
Regards,
Ryan Joseph
___
fpc-pasc
x := Power((x shr 16), x);
result := x;
end;
Thanks for any ideas you have.
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
TList;
TObjectList = class (TObjectListAbstract)
procedure Add (value: T); override;
end;
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman
> try
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Is writeln thread safe? I’m getting some strange crashes and I’m curious if
they’re related to calling writeln on multiple threads.
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org
I’d like to draw a bitmap pixel by pixel then save to disk but I can’t understand the docs available online. I know there’s a BGRABitmap class with direct pixel access but I wasn’t able to find the unit in my FPC distribution.I used the image canvas before to draw bitmap fonts so I have this code
> On Jan 20, 2017, at 8:31 AM, Ryan Joseph <r...@thealchemistguild.com> wrote:
>
> Thanks guys,
>
> Here’s the new program based on your example but it still just outputs a pure
> black image.
never mind! The max color value is 65535. I thought it was 1.0 or 255. Got
writer);
end;
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
TCollection;
constructor TCollection.Create (args: array of const);
begin
// ERROR: args[0] is not the type we specialized for. can’t typecast either.
if args[0].vtype = vtinteger then
Add(T(args[0].vinteger));
end;
procedure TCollection.Add (a: T);
begin
end;
Regards,
Ryan
ynamic array as a parameter so I was
always using array of const. Thanks, learning more new things again!
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
that could be
made to work with FPC or if not something more similar than not. iOS from Free
Pascal works but Java is more complicated from what I’ve been learning.
Thanks.
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal
ent in FPC so it
wasn’t that useful. I think the forms do this but I haven’t found out yet.
Thanks.
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
looks easiest because Android seems like it’s
going to be hard to get working as well as iOS.
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
llist - fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
in the command prompt and this is coming from a UNIX user. ;)
Thanks.
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
se track of what the type actually is. In my first test this didn’t
happen and I was able to use an interface as a type then cast it to an object,
pass to a function and call a method. In the 2nd example the variable went from
a couple classes first and died at the
the purpose of this
is and why it’s even useful.
> On Nov 10, 2016, at 6:45 PM, Ryan Joseph <r...@thealchemistguild.com> wrote:
>
> Some times when I want to communicate with a class I don’t have full scope
> access to I’ll use interfaces and the Supports function to call a metho
be that’s the problem?
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
.
Maybe the better question is should I ditch CORBA in favor or COM?
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
at’s there to be freed? All these
crashes I’m getting suggest memory is being trashed by the compiler at some
point without my knowledge. I never explicitly allocate an interface like an
object so there’s nothing to manage in my mind.
Regards,
Ryan Joseph
MyInterface: IMyInterface;
begin
MyObject1 := TMyObjectClass.Create;
MyInterface := MyObject1;
MyInterface.MyProc;
MyObject2 := TMyObjectClass(MyInterface);
MyObject1.Free {OK for CORBA - will cause an exception in COM}
{MyObject1, MyObject2 and MyInterface are now
e. MSEide even has built-in support to do just
> that (generate smaller GUID values of about 6 characters long).
I’m not sure all Supports does but I didn’t test shorter strings yet. I think
it does more than just compare strings though. Maybe I’ll try that later thanks.
R
me than the actual
sorting so it’s clearly not a good solution.
More on this tomorrow until I give up for certain. :)
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
for high
performance situations. Is there a better way to do this or should I not use
interfaces like this in FPC?
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman
ns the for loop
even but the fact it requires an explanation makes my worry about how easy it
is to mess up. :)
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
> / (verty [j] - verty [i]) + vertx [i]))
> c = !c;
>
>j = i;
>i = i + 1;
> }
>
> return c;
> }
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
.y - self[i].y) / (self[j].y - self[i].y) + self[i].x) then
c := not c;
end;
result := c <> 0;
end;
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
ht
w. I
did learn that generics could clean up the problem further but I need to adapt
more code to make that work easily and removing the constant Support calls is
good enough to put my mind at ease. :)
Regards,
Ryan Joseph
___
fpc-pascal maillist
o use “as” or Supports here and it defeats the purpose
ObjInt := Arr.GetObject(0) as IMyInterface;
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
rk so I guess I need to add that
myself but I’m struggling trying to figure out the command prompt program. Copy
and paste should be easier than this. Is there another terminal that Windows
users like? I really don’t understand why you can’t just paste or select text
like you would in any other termi
to do this however).
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
I have a generic record I would like to enumerate using for..in loops. Is this
even possible? I tried briefly and it wasn’t clear this was possible so I
thought I’d ask first. Thanks.
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc
ides an enumerator.
>
>
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
ing a record instead of a class
because I want it to be stored on the stack. It’s trivial to just enumerate the
array inside the record but I wanted to try the more elegant solution of
making an enumerator for the record.
Regards,
Ryan Joseph
yan Joseph <r...@thealchemistguild.com> wrote:
>
> There’s a class nested inside a class?? I never saw that before. What are all
> the inlines for btw?
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.f
> On Nov 30, 2016, at 6:22 PM, Marco van de Voort <mar...@stack.nl> wrote:
>
> * (for..in) Enumerators in records
Where’s an example of this? I’m trying it with a generic record and I can’t it
to compile so I’m not sure if this is supported or not.
Regards,
they’re necessary for generics I just learned but nested classes feel messy. Is
there at least some namespace protection? That would be a benefit I suppose if
the class was only ever used inside that class but a unit may be a better
option in that ca
.
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
ldn’t I be able to assign to the param and return it back to
the caller? In your example how could I return 5 to “i” inside GetSomething?
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
1 - 100 of 1156 matches
Mail list logo