On 29/10/17 00:31, Vojtěch Čihák wrote:
Looking to docs: https://www.freepascal.org/docs-html/ref/refsu69.html
I tried writeln(AnsiString(args[0].VAnsiString));
or just writeln(String(args[0].VAnsiString));
which works.
V.
__
>
On 29/10/17 00:31, Vojtěch Čihák wrote:
Looking to docs: https://www.freepascal.org/docs-html/ref/refsu69.html
I tried writeln(AnsiString(args[0].VAnsiString));
or just writeln(String(args[0].VAnsiString));
which works.
V.
__
>
On 28/10/17 23:54, Darius Blaszyk wrote:
Thanks! This is in line with what I was suspecting. However, why in the
world does the compiler not warn in this case. This should be at least
happening I would suppose?
Darius
Vojtěch Čihák schreef op 28 okt '17:
Overloading means that you have
Looking to docs: https://www.freepascal.org/docs-html/ref/refsu69.html
I tried writeln(AnsiString(args[0].VAnsiString));
or just writeln(String(args[0].VAnsiString));
which works.
V.
__
Od: Darius Blaszyk
Consider the application below. When I run it I do get the following
output:
name
rgname�F&{---C000-0046}
In other words I lose the first character (a) from the arguments
supplied and the string returns with a lot of garbage. What am I doing
wrong here?
Rgds,
Thanks! This is in line with what I was suspecting. However, why in the
world does the compiler not warn in this case. This should be at least
happening I would suppose?
Darius
Vojtěch Čihák schreef op 28 okt '17:
> Overloading means that you have functions with the same name but different
>
Overloading means that you have functions with the same name but different
parameter (or param. list). You can have different return type for each
parameter but you can never have the same parameters.
V.
__
Od: Darius Blaszyk
Hi,
I have a problem with overloaded functions. I defined these functions:
function val_(name: string): string;
function val_(name: string): boolean;
function val_(name: string): integer;
function val_(name: string): double;
var
res: boolean;
begin
res := val_(option_variable);
end;
I get
> or even neural network libraries written in Pascal?
Try contacting schuler in Lazarus forum.
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
Ryan Joseph wrote:
On Oct 23, 2017, at 9:05 PM, Michael Van Canneyt wrote:
It is not the default because neither Delphi nor TP allow this.
then that begs the question, why not? :) If local functions are a useful
feature then local callbacks should be too.
Because
On Sat, 28 Oct 2017, Dennis wrote:
or even neural network libraries written in Pascal?
I know there are many python interfaces/libraries but I hope to use
Pascal entirely so that I don't have to run a python server along side
my Free Pascal program.
Or, is it possible to call python from
or even neural network libraries written in Pascal?
I know there are many python interfaces/libraries but I hope to use
Pascal entirely so that I don't have to run a python server along side
my Free Pascal program.
Or, is it possible to call python from Free pascal?
If not, in the worst
12 matches
Mail list logo