was having a look at cross-platform stuff and found:-
a guy who doesn't seem to know about freepascal.org
http://blogs.adobe.com/cantrell/archives/2010/04/one_application_five_screens.html
a handy list of mobile devices
http://www.adobe.com/flashplatform/certified_devices/
I like that FPC code w
On 19 October 2010 15:06, Rob Kennedy
> wrote:
> On Tue, Oct 19, 2010 at 12:23 AM, Jürgen Hestermann <
> juergen.hesterm...@gmx.de> wrote:
>
>> Reimar Grabowski schrieb:
>>
>> for (int i = 0;...)
>>> Can't see anything wrong. I use declaration of variables inside blocks
>>> quite often in Java a
On 18 October 2010 15:33, Sven Barth wrote:
> Am 18.10.2010 16:20, schrieb Michael Van Canneyt:
>
> Object Pascal is a simple, beautiful and easy to read language. The FPC
>> team tries to keep it that way.
>>
>
> And that is why I like the FPC team so much. :D
>
>
agreed.
When I went from C++
i probably shouldn't open my mouth, as i don't quite understand the
question... however FRED from the game Freespace let you design missions
using a treeview.
It involved following a tree like
|- when 'Enemy Cargo ship' is 'attacked'
| \- then 'enemy support ships' do 'jump in'
|- when 'Enemy Carg
On 2 June 2010 18:56, José Mejuto wrote:
> Hello FPC-Pascal,
>
> Wednesday, June 2, 2010, 2:56:29 PM, you wrote:
>
> V> ooh. php has 'print_r' for printing arrays/objects - an equivalent
> V> ArrayToStr would be handy to have in Pascal. while pascal is my
> favourite
> V> language, I'm finding it
On 2 June 2010 11:34, spir wrote:
> Hello,
>
>
> Is there a (builtin, simple) way to output the content of an array or of a
> record. Something like arrayToStr / recordToStr, that would return a normal
> form similar to the literal notation used for intialisation? If no, is there
> a way to write
>
> There is an example project (CGI and Apache mod) in Lazarus under
> /components/fpweb/demo/fptemplate/fileupload/ you can use.
>
> AB
>
>
Cheers, it turned out to be the HTML form needed 'enctype' which i've never
seen before.
Upload File:
- V
cheers - worked a treat :)
On 21 May 2010 04:50, ABorka wrote:
> I had a problem like this before.
> If memory serves right, I had to set all four of these for StrToDate to
> work under Linux after moving some code from Windows:
>
>LongTimeFormat := 'hh:mm:ss';
>ShortDateFormat := '/
How do you get cgi uploads to work??
Im using TModuledCGIApplication
procedure TCGIDatamodule1.DataModuleCGIRequest(Sender: TObject);
begin
// upload handling
writeln('filenamevar:
'+application.requestvariables['file']+''); // works when get but
post is just blank
writeln('filenamefile:
'
I've used strtodate to convert 01/02/2010 on windows ok, but it fails with
'Invalid date format' on linux.
anyone got any ideas why this happens?
- V
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinf
i think you have to compile the .lpk in a certain order or something.
i have similar problem - but you can still use the components. something
along the lines of...
uses
idhttp;
private
idhttp: tidhttpclient;
form1.create()
begin
idhttp:=tidhttp.create(self);
end;
its not as easy as to ge
Thats me up & running now - thanks for your help guys, I'll certainly poke
around those CGI vars.
On 19 May 2010 14:19, Carsten Bager wrote:
> > How do i get command line vars? i tried GetENV() but it didn't understand
> GetEnv() (which unit is
> > it in?)
>
>
> Here is a small cgi program. Comm
0 13:55, Graeme Geldenhuys wrote:
> Vannus het geskryf:
> > Can someone point me to how I can make a CGI app that outputs the fields
> in
> > the query?
>
> Think of CGI apps as simple Console applications (that's pretty much what
> they are). Everything after the
This may not be the right place to ask, but I'm really stumped and would
much prefer FPC over PHP.
Can someone point me to how I can make a CGI app that outputs the fields in
the query?
ie.
my.cgi?q=hello
and my.cgi then outputs whatever q is?
I'm using Lazarus but the deprecated CGI doesn't h
14 matches
Mail list logo