[fpc-pascal] Simple question

2005-01-21 Thread Peter H.M. Brooks
This is probably a simple question and I ought to know the answer - but I don't! Is there an object in Pascal (fpc, of course) that I can use like this: 1. Push things (bytes, asciistrings, integers ..) onto like a stack 2. Find the length of in bytes 3. Write out, or use generally, as an array?

Re: [fpc-pascal] Version 1.9.6[??] on the Mac.

2005-01-17 Thread Peter H.M. Brooks
Marco van de Voort wrote: I've been working to compile smf.pas. I've loaded fpc 1.9.6 on Windows XP and, indeed, it compiles perfectly - later I get errors finding Libc, but that's understandable as it isn't Unix, besides I really want it wo work on the Mac. I've no idea about how to compile

[fpc-pascal] Version 1.9.6[??] on the Mac.

2005-01-15 Thread Peter H.M. Brooks
Pedro Lopez-Cabanillas wrote: You need to use FPC 1.9.4 or later; 1.9.6 should work, as Jonas pointed, because I'm using some features not available in older releases. Here's a really curious thing! I've been working to compile smf.pas. I've loaded fpc 1.9.6 on Windows XP and, indeed, it comp

Re: [fpc-pascal] MIDI & Kylix

2005-01-13 Thread Peter H.M. Brooks
Pedro Lopez-Cabanillas wrote: Hi, On Thursday 13 January 2005 20:38, Peter H.M. Brooks wrote: I've been enjoying looking through these. Your smf.pas unit looks perfect for my requirements - it's nicely put together. I'm using fpc, not kylix, and I it chokes over the variable len

[fpc-pascal] MIDI & Kylix

2005-01-13 Thread Peter H.M. Brooks
Pedro Lopez-Cabanillas wrote: I've wrote a translation of ALSA's library headers to Pascal. It has support for Linux only, and it can be used with Kylix and FPC compilers. If you want to work with MIDI files only, but not to play or record sequences, you can download this file: http://perso.wan

Re: [fpc-pascal] MIDI package

2005-01-12 Thread Peter H.M. Brooks
Pedro Lopez-Cabanillas wrote: If you want to work with MIDI files only, but not to play or record sequences, you can download this file: http://perso.wanadoo.es/plcl/ametro/ametro-0.4.tar.bz2 Inside the tarball you will find a directory named musicobjects/ and inside it there is a file "smf.pas"

[fpc-pascal] MIDI package

2005-01-12 Thread Peter H.M. Brooks
I just wondered if there was a package that allowed one to create and manipulate MIDI files easily. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal