[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

3124.0. "Pascal for Amiga" by STKAI2::SMEDBERG () Mon Nov 20 1989 05:16

    I have this problem :
    
    For about 4 weeks ago i got a copy of PASCAL v1.9 (June 1985) created
    by Tenchstar Ltd, T/A Metacomco
    
    How do i compile my ASC II Files?
    I just write:
    
    0:>Pascal "My file name"
    
    And it starts to compile, but when it's ready no more happens?
    It only tells me "Precentage of workspace used by compiler is 30%
    of 25K"
    
    There is no compiled file on the disk and i tried to write like
    this: 0:>Pascal "My file name" "New file name" but it just says
    that i'm using Bad Arguments!!!!
    
    There is one more program on this disk to, it's called Alink, do
    i do anything with this program after the compilation..........
    
    M.V.H. JohSm/FSE @SOO
    
    
T.RTitleUserPersonal
Name
DateLines
3124.1RTFM ?AYOV28::ATHOMSONC'mon, git aff! /The Kelty ClippieMon Nov 20 1989 06:584
    I don't want to cast doubts on the legality of your S/W, but why
    can't you just read the manual ?
    
    					Alan T>
3124.2ILLEGAL OR NOT!!!!STKAI2::SMEDBERGMon Nov 20 1989 07:097
    WELL IT'S A ILLEGAL COPY!!!!! BUT IF I FIND IT WORK PROPERLY AND
    MEET MY NEEDS I PROBOBLY BUY IT!!!!!
    
    BUT IT'S HARD TO FIND SOME ONE SELLING IT IN SWEDEN......
    
    THANKS AGAIN FOR THE HELP!!!!!!
    
3124.3"My file".o ?STKHLM::BE_NYBERGThu Nov 23 1989 10:3914
    Hej Johan!
    
    
    Surely the compiler spits out a file of some sort. "My file".o maybe?
    If so link it with ALink :
    
    > ALINK [[FROM|ROOT]<filename>[,<filename>*|+<filename>*]]
      [TO <name>][WITH <name>][LIBRARY|LIB <name>] [MAP <map>][XREF
      <name>][WIDTH <n>]
    
    
    Mvh
    
    /LGJ
3124.4Any good?STKHLM::BE_NYBERGThu Nov 23 1989 10:433
    
    Is the PASCAL for the Amiga any good?? Is there only ONE PASCAL for the
    AMIGA??
3124.5Good/only!STKAI2::SMEDBERGThu Nov 23 1989 13:255
    I don't know if it's any good!!, can't test it out!!!!!
    
    That's the only one i'v seen or own!!!
    
    /JohSm
3124.6NOTIBM::MCGHIEThank Heaven for small Murphys !Fri Nov 24 1989 02:509
3124.7MODULA-2AIAG::WISNERyou may ask yourself 'How do I work this?'.Tue Dec 19 1989 21:365
There are a number of modula-2 products out there.  I understand that modula-2
is a superset of Pascal.

I'd am weary of METACOMBO.   I bought there LISP for $200 and it was unusable,
not returnable.
3124.8NOTIBM::MCGHIEThank Heaven for small Murphys !Wed Dec 20 1989 22:1511
    There are at least two good Modula 2 compilers/development systems.
    
    I own the Benchmark Modula 2 compiler. I've seen references to another
    good compiler that has come out this year, which I think is call
    MSprint Modula 2.
    
    However, Modula-2 is not a superset of PASCAL it has similar syntax etc
    but it is quite different.
    
    Regards
    	Mike
3124.9Wither Metacomco Pascal?BBQ::GERAGHTYSimon, SPR CS ISSat Jun 30 1990 12:0249
    Further to the Metacomco Pascal question...
    
    V1.9 is on sale here for AUS$20 (~US$15), so I thought "give it a
    go!". Result: It works, but I haven't tested it thoroughly.
    
    In the "Pascal Revision A" errata sheets which accompany the manual is
    a page saying the EXTERNAL functionality does not work, but "this will
    be fixed in the next release". I tried it, and this is true - no
    workies! So now I want to know: Did Metacomco ever release anything
    after V1.9 that fixed the EXTERNAL problem, because without it Pascal
    is pretty useless for other than mickey-mouse programs?
    
    Relevant notes in this conference are: 36,611,701,1002,1531,1566,3124.
    
    Public domain Pascal seems to be limited to PCQ on Fred Fish 339...
    Guess I'll go and check that out because it's supposed to support
    everything, including EXTERNAL, except sets.
    
    Does anyone know of any other commercial Pascal for the Amiga? I know
    Modula-II is supposed to be the go these days, but I've tried it and
    although I like the modular concept I just couldn't get past the awful
    I/O support. Drove me to C in the end!
    
    Couple of tips on the Metacomco Pascal compiler V1.9:
    
    - NewZap (Ah, binary file editors... aren't they wonderful?) shows the
    command line contains an undocumented option DOUBLE/S which, if
    implemented, may provide double precision floats. I haven't tried it.
    
    - The compiler assumes the error file "errors" is located in
    ":L/PASCAL/ERRORS", which is rather restrictive. I run the compiler
    from SYS:Pascal/Pascal and I have the errors file located in the same
    directory (SYS:Pascal/errors), so I patched sector 83 of 215 in Pascal
    from
    	<\x10>:L/PASCAL/ERRORS<\x00><\x00><\x00>
    to
    	<\x0D>PASCAL:ERRORS<\x00><\x00><\x00><\x00><\x00><\x00>
    and I include the following in my startup
    	Assign Pascal: SYS:Pascal
    	Alias PAScal Pascal:Pascal
    and it works a treat!
    
    Back to the EXTERNAL problem, has anyone got any workarounds for
    compiling Pascal modules separately then linking them, or for
    referencing routines in amiga.lib.
    
    Thanks for any help.
    
    Simon
3124.10BBQ::GERAGHTYSimon, SPR CS ISSat Jun 30 1990 12:046
    Re: .-1
    
    Does Metacomco still exist? I think it's an English company. What's the
    latest address and phone?
    
    thanx.
3124.11Metacomco/Tenchstar Pascal or public domain?BBQ::GERAGHTYSimon, SPR CS ISSun Jul 01 1990 04:5635
    More info:
    
    Can anyone confirm these addresses and phone numbers?
    
    Metacomco PLC
    26 Portland Sq
    Bristol BS2 8RZ
    England
    [44]-(272)-428781
    
    Tenchstar Inc/Metacomco
    5353 #E Scotts Valley Dr
    Calif 95066
    (408)-4387201
    
    And what's the difference between Commodore's "Amiga Pascal" and the
    above's "ISO Pascal"? I also saw a reference to "ISO Pascal 2.0" from
    Metacomco somewhere. Anyone seen it?
    
    I had a look at the PCQ Pascal compiler on FF339. Briefly:
    
    v1.1c
    Source (in Pascal, self compilable) included
    Heaps of short examples
    Comprehensive interface to Amiga routines
    Support for EXTERNAL and modular compilation
    Generates Asm68k assembler code
    Includes Asm68k and Blink v6.7
    
    Also seems to have heaps of extensions to ISO Pascal (a la Turbo
    Pascal, etc) which make it pretty non-standard in someways. Patrick
    Quaid also says error handling leaves a lot to be desired. In summary,
    worth a look if you're not concerned about ISO compliance, need
    something free (well, shareware I think), and have the time to chase
    errors.