Announcement

Collapse
No announcement yet.

support for text blocks

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Michael Mattias
    replied
    See it in action:
    http://www.talsystems.com/tsihome_ht.../VsamSpace.exe
    http://www.talsystems.com/tsihome_ht...ads/835DID.EXE

    Complete page of software available for download from my web site:
    http://www.talsystems.com/tsihome_html/techcorner.html

    Leave a comment:


  • Michael Mattias
    replied
    Code:
    // myprog.rc 
    // resource script for myprog
    DOC    TEXT    docfilename
    
    LICENSE TEXT  licensefilename
    ...
    User-Defined Resource Demo January 26 2003

    MCM

    Leave a comment:


  • Erich Schulman
    started a topic support for text blocks

    support for text blocks

    I wanted a PBCC application to be able to regenerate its documentation file, but soon found it was more trouble than it was worth. So I would like to see a text block feature someday.

    One way is to simply support the Python-esque triple quotes:
    Code:
    STDOUT """
    lots of text here
    """
    Or for something more sophisticated:
    Code:
    TEXT BEGIN="Readme"
    #INCLUDE "Readme-English.txt"
    #INCLUDE "Readme-French.txt"
    TEXT END="Readme"
    TEXT BEGIN="License"
    'Except for comments and #statements for the compiler, any text
    'included here will also be treated as text.
    #INCLUDE "GPL3.txt"
    'GPL3.txt was formatted to 64 columns.
    This line will be picked up after GPL3.txt is.
    And then this line.
    TEXT END="License"
    'whatever goes here
    STDOUT TEXT.Readme
Working...
X