Re: [fpc-pascal] Version 2.1.4

2007-06-02 Thread Rainer Stratmann
Am Samstag, 2. Juni 2007 20:54 schrieb Michael Van Canneyt: > On Sat, 2 Jun 2007, Rainer Stratmann wrote: > > Am Samstag, 2. Juni 2007 20:16 schrieb Florian Klaempfl: > > > > How can I assign "normal" pascalstrings? > > > > > > shortstring > > > > what does > > > > var s:string[12]; > > > > in delp

Re: [fpc-pascal] Version 2.1.4

2007-06-02 Thread Michael Van Canneyt
On Sat, 2 Jun 2007, Rainer Stratmann wrote: > Am Samstag, 2. Juni 2007 20:16 schrieb Florian Klaempfl: > > > How can I assign "normal" pascalstrings? > > > > shortstring > > > what does > > var s:string[12]; > > in delphimode mean? > ansistring or shortstring? > if ansistring, how can I get ac

Re: [fpc-pascal] Version 2.1.4

2007-06-02 Thread Michael Van Canneyt
On Sat, 2 Jun 2007, Rainer Stratmann wrote: > Am Samstag, 2. Juni 2007 19:59 schrieb Peter Vreman: > > At 19:58 2-6-2007, you wrote: > > >Hello, > > > > > >1. > > > > > >var s:string; > > >... > > >s[1]:='#'; --> causes an access violation > > > > > >2. > > > > > >Why is it no more possible

Re: [fpc-pascal] Version 2.1.4

2007-06-02 Thread Rainer Stratmann
Am Samstag, 2. Juni 2007 20:45 schrieb Florian Klaempfl: > Rainer Stratmann schrieb: > > Am Samstag, 2. Juni 2007 20:16 schrieb Florian Klaempfl: > >>> How can I assign "normal" pascalstrings? > >> > >> shortstring > > > > what does > > > > var s:string[12]; > > > > in delphimode mean? > > ansistri

Re: [fpc-pascal] Version 2.1.4

2007-06-02 Thread Florian Klaempfl
Rainer Stratmann schrieb: > Am Samstag, 2. Juni 2007 20:16 schrieb Florian Klaempfl: >>> How can I assign "normal" pascalstrings? >> shortstring >> > what does > > var s:string[12]; > > in delphimode mean? > ansistring or shortstring? > if ansistring, how can I get access to a "normal" pascal (sh

Re: [fpc-pascal] Version 2.1.4

2007-06-02 Thread Rainer Stratmann
Am Samstag, 2. Juni 2007 20:16 schrieb Florian Klaempfl: > > How can I assign "normal" pascalstrings? > > shortstring > what does var s:string[12]; in delphimode mean? ansistring or shortstring? if ansistring, how can I get access to a "normal" pascal (short)string with maximum length of 12? va

Re: [fpc-pascal] Version 2.1.4

2007-06-02 Thread Florian Klaempfl
Rainer Stratmann schrieb: > Am Samstag, 2. Juni 2007 19:59 schrieb Peter Vreman: >> At 19:58 2-6-2007, you wrote: >>> Hello, >>> >>> 1. >>> >>> var s:string; >>> ... >>> s[1]:='#'; --> causes an access violation >>> >>> 2. >>> >>> Why is it no more possible to assign the length index s[0] in a

Re: [fpc-pascal] Version 2.1.4

2007-06-02 Thread Rainer Stratmann
Am Samstag, 2. Juni 2007 19:59 schrieb Peter Vreman: > At 19:58 2-6-2007, you wrote: > >Hello, > > > >1. > > > >var s:string; > >... > >s[1]:='#'; --> causes an access violation > > > >2. > > > >Why is it no more possible to assign the length index s[0] in a string? > >I find that is too much s

Re: [fpc-pascal] Version 2.1.4

2007-06-02 Thread Peter Vreman
At 19:58 2-6-2007, you wrote: Hello, 1. var s:string; ... s[1]:='#'; --> causes an access violation 2. Why is it no more possible to assign the length index s[0] in a string? I find that is too much security to supress that. It is cutting responsibility from the programmers. You are usi

Re: [fpc-pascal] Version 2.1.4

2007-06-02 Thread Florian Klaempfl
Rainer Stratmann schrieb: > Hello, > > 1. > > var s:string; > ... > s[1]:='#'; --> causes an access violation > > 2. > > Why is it no more possible to assign the length index s[0] in a string? > I find that is too much security to supress that. > It is cutting responsibility from the progra