CompuServe Thread

PCQ and Sozobon c

3 messages in this thread
#105586From: Steve JonesMay 20, 1990 8:35 PM
I've just obtained two PD compilers, PCQ (Pascal) by Dennis Quaid and Sozobon C by Johann Ruegg (modified by Joe Montgomery). I have only the most fundamental knowledge of either language. The "beginning" type examples of pascal source that I have almost all include real variable types. Unfortunately, PCQ doesn't support them yet. The examples included with the archive are probably outstanding for someone versed in Pascal, but I'm afraid I'm a little overwhelmed. Also, I didn't see any READ statements in these examples; how does one input from the keyboard? I need some EASY source to help me to get the hang of it. I need code that works well with PCQ. I'm OK with BASIC, so at least I have some sense of programming. I'm also weak as far as addresses, libraries and machine specific things. Can someone direct me to docfiles and/or novice source code? Oh yeah, I'm also looking for anything on XLisp and AmigaIcon (I'm sure some of you know where I've been shopping by now). Thnx Lots, Steve
#105612From: SyndesisMay 20, 1990 10:16 PM
Shop your local bookstore for any tutorial books on C, I seem to recall one that was written especially for people making the transition from Pascal to C. Something like "C for Pascal Programmers", it was called. To answer one of your questions, a C program always has several files open at once, one of them is called "stdout", another is "stdin", and you can use functions such as gets() to read characters from the keyboard, although such lines need to be terminated by a newline, which shouldn't seem unusual to a Pascal programmer. the libraries here are full of example code in C. Take it slow, there's a lot to learn just in C itself, much less learning to program the Amiga.
#105687From: John DraperMay 21, 1990 1:19 PM
Steve, The best book on Icon is called "The Icon Programing Language", by Griswold and Griswold. -larry