Re: [fpc-pascal] Longstrings

2012-07-04 Thread Martin
On 03/07/2012 23:48, Rainer Stratmann wrote: How to put longstrings globally on? I tried with {$h+} in project compiler settings (other) with no effect. {$H+} does not go into project settings, it goes directly into the source. ___ fpc-pascal

Re: [fpc-pascal] Longstrings

2012-07-04 Thread Marco van de Voort
In our previous episode, J?rgen Hestermann said: How to put longstrings globally on? I tried with {$h+} in project compiler settings (other) with no effect. Safest method is not to use the generic type string in your code. Instead use directly the string type that you need (i.e. ansistring

Re: [fpc-pascal] Longstrings

2012-07-04 Thread Rainer Stratmann
Am Wednesday 04 July 2012 10:22:10 schrieb Marco van de Voort: In our previous episode, J?rgen Hestermann said: How to put longstrings globally on? I tried with {$h+} in project compiler settings (other) with no effect. Safest method is not to use the generic type string in your code.

Re: [fpc-pascal] Longstrings

2012-07-04 Thread Bart
On 7/4/12, Rainer Stratmann rainerstratm...@t-online.de wrote: Next question is how to put asmmode intel global on? Type fpc -h (in a console) to see all commandine parameters. Then take a look at the -R switch. Bart ___ fpc-pascal maillist -

Re: [fpc-pascal] Longstrings

2012-07-04 Thread Rainer Stratmann
Am Wednesday 04 July 2012 12:12:10 schrieb Bart: On 7/4/12, Rainer Stratmann rainerstratm...@t-online.de wrote: Next question is how to put asmmode intel global on? Type fpc -h (in a console) to see all commandine parameters. Then take a look at the -R switch. That works thank you very

Re: [fpc-pascal] Longstrings

2012-07-04 Thread Sven Barth
Am 04.07.2012 12:46, schrieb Rainer Stratmann: Am Wednesday 04 July 2012 12:12:10 schrieb Bart: On 7/4/12, Rainer Stratmannrainerstratm...@t-online.de wrote: Next question is how to put asmmode intel global on? Type fpc -h (in a console) to see all commandine parameters. Then take a look at

Re: [fpc-pascal] Longstrings

2012-07-04 Thread Jürgen Hestermann
Am 2012-07-04 10:22, schrieb Marco van de Voort: Safest method is not to use the generic type string in your code. Instead use directly the string type that you need (i.e. ansistring or unicodestring). I wouldn't do that. That makes later migration unnecessary involved. I find it quite

[fpc-pascal] Longstrings

2012-07-03 Thread Rainer Stratmann
How to put longstrings globally on? I tried with {$h+} in project compiler settings (other) with no effect. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Longstrings

2012-07-03 Thread Jürgen Hestermann
Am 2012-07-04 00:48, schrieb Rainer Stratmann: How to put longstrings globally on? I tried with {$h+} in project compiler settings (other) with no effect. Safest method is not to use the generic type string in your code. Instead use directly the string type that you need (i.e. ansistring or

[fpc-pascal] LongStrings Question

2006-03-03 Thread Evandro Sestrem
Hi, I'm using {$LONGSTRINGS ON} to use a string variable like ansistring. In this example, if I uncomment the s1 variable I got Error: Constant strings can't be longer than 255 chars, but if I uncomment the s2 variable (formed by concatenation of strings) the project compiles perfectly.

Re: [fpc-pascal] LongStrings Question

2006-03-03 Thread Иван Шихалев
In this case, constant string is a character sequense between two ''. If you receive a string value in run-time, all must be OK. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal