EnglishFrenchSpanish

OnWorks favicon

ptop-3.0.0 - Online in the Cloud

Run ptop-3.0.0 in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command ptop-3.0.0 that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


ptop - The FPC Pascal configurable source beautifier.

Origin probably Pascal-TO-Pascal.

SYNOPSIS


ptop[-v][-iindent][-bbufsize][-coptsfile]<infile><outfile>

Description


ptop is a more or less configurable source beautifier for pascal sources, and specially
the ones supported by FPC (which are more or less Turbo Pascal or Delphi 2.0 compatible).

ptop belongs to the FPC utils package, which currently also contains ppdep , h2pas ,
ppudump and ppumove

Usage


ptop basically reformats "infile" and outputs the result to "outfile". ituses a
configuration file explained further below, and can generate a default configurationfile
for you to edit. (not needed if you use the defaults)

Options


-h Writes a short description of these switches.

-c read options from configuration file. A configuration file is not needed, ptop will
revert to internal defaults then. See also -g

-i ident
Sets the number of indent spaces used for BEGIN END; and other blocks.

-b bufsize
Sets the buffersize to bufsize. Default 255, 0 is considered non-valid and ignored.

-v be verbose. Currently only outputs the number of lines read/written and some error
messages.

-g ptop.cfg
Writes a default configuration file to be edited to the file ptop.cfg

Try to play with ptop and its configfile until you find the effect you desire. The
configurability and possibilities of ptop are quite large compared to shareware source
beautifier found on e.g. SIMTEL.

Acknowledgements


The writer of the program, Michael van Canneyt, who also helped out explaining the format
of ptop.cfg.

Questions/corrections can be mailed to [email protected]

Also thanks to the rest of the FPC development team.

The program is a modernized (OOP, Streams, Delphi extensions) version based on a program
by Peter Grogono, who in turn based his program on a Pascal pretty-printer written by
Ledgard, Hueras, and Singer. See SIGPLAN Notices, Vol. 12, No. 7, July 1977, pages
101-105, and PP.DOC/HLP. This version of PP developed under Pascal/Z V4.0 or later.
Very minor modifications for Turbo Pascal made by Willett Kempton March 1984 and Oct 84.
Runs under 8-bit Turbo or 16-bit Turbo. Toad Hall tweak, rewrite for TP 5, 28 Nov 89

Use ptop-3.0.0 online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    GenX
    GenX
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 2
    pspp4windows
    pspp4windows
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 3
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • 4
    eSpeak: speech synthesis
    eSpeak: speech synthesis
    Text to Speech engine for English and
    many other languages. Compact size with
    clear but artificial pronunciation.
    Available as a command-line program with
    many ...
    Download eSpeak: speech synthesis
  • 5
    Sky Chart / Cartes du Ciel
    Sky Chart / Cartes du Ciel
    SkyChart is a software to draw chart of
    the night sky for the amateur astronomer
    from a bunch of stars and nebulae
    catalogs. See main web page for full
    download...
    Download Sky Chart / Cartes du Ciel
  • 6
    GSmartControl
    GSmartControl
    GSmartControl is a graphical user
    interface for smartctl. It allows you to
    inspect the hard disk and solid-state
    drive SMART data to determine its
    health, as w...
    Download GSmartControl
  • More »

Linux commands

  • 1
    abc2abc
    abc2abc
    abc2abc - a simple abc
    checker/re-formatter/transposer ...
    Run abc2abc
  • 2
    abc2ly
    abc2ly
    abc2ly - manual page for abc2ly
    (LilyPond) 2.18.2 ...
    Run abc2ly
  • 3
    coqmktop
    coqmktop
    coqmktop - The Coq Proof Assistant
    user-tactics linker ...
    Run coqmktop
  • 4
    coqtop
    coqtop
    coqtop - The Coq Proof Assistant
    toplevel system ...
    Run coqtop
  • 5
    g.copygrass
    g.copygrass
    g.copy - Copies available data files in
    the current mapset search path to the
    user�s current mapset. KEYWORDS:
    general, map management ...
    Run g.copygrass
  • 6
    g.dirsepsgrass
    g.dirsepsgrass
    g.dirseps - Internal GRASS utility for
    converting directory separator
    characters. Converts any directory
    separator characters in the input string
    to or from na...
    Run g.dirsepsgrass
  • More »

Ad