Re: [fpc-pascal] Proper way to cast dynamic array in watch window?

2013-11-10 Thread Jürgen Hestermann
Am 2013-11-10 06:57, schrieb Jim Leonard: Using the FPC console IDE. When I define a typed array with limits, ie.: type tbarray=array[0..1023] of byte; var foo:tbarray; ...I can view the contents of in the watch window (like foo[2]) without problems. But if I define it as a dynamic

[fpc-pascal] Re: identifier not found case probelm

2013-11-10 Thread leledumbo
The compiler does say which identifier is not found, doesn't it? -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/identifier-not-found-case-probelm-tp5717460p5717461.html Sent from the Free Pascal - General mailing list archive at Nabble.com.

[fpc-pascal] identifier not found case probelm

2013-11-10 Thread rambo waz here
at the moment i have a case where each choice leads off to a procedure. .. looks like this repeat writeln('Main Menu'); writeln('1. New Customer Info'); writeln('2. Withdrawal'); writeln('3. Returns'); writeln('4. Money owed by customer'); writeln('5. Quit the Program');

Re: [fpc-pascal] identifier not found case probelm

2013-11-10 Thread Ewald
Once upon a time, rambo waz here said: at the moment i have a case where each choice leads off to a procedure. .. looks like this repeat writeln('Main Menu'); writeln('1. New Customer Info'); writeln('2. Withdrawal'); writeln('3. Returns'); writeln('4. Money owed by

Re: [fpc-pascal] Proper way to cast dynamic array in watch window?

2013-11-10 Thread Jim Leonard
On 11/10/2013 2:41 AM, Jürgen Hestermann wrote: But the debugger is not able to do this. So you need to write foo^[i] when you want to examine this value in watch window or other debug windows. Works perfectly, thanks very much. -- Jim Leonard (trix...@oldskool.org) Check out some trippy