pcbasic | platform emulator for the GW-BASIC family

 by   robhagemans Python Version: Current License: Non-SPDX

kandi X-RAY | pcbasic Summary

kandi X-RAY | pcbasic Summary

null

PC-BASIC - A free, cross-platform emulator for the GW-BASIC family of interpreters
Support
    Quality
      Security
        License
          Reuse

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of pcbasic
            Get all kandi verified functions for this library.

            pcbasic Key Features

            No Key Features are available at this moment for pcbasic.

            pcbasic Examples and Code Snippets

            No Code Snippets are available at this moment for pcbasic.

            Community Discussions

            QUESTION

            Why does BASIC append 0x1a to the end of a file?
            Asked 2018-Nov-06 at 07:05

            I'm attempting to transfer files to an old PCjr via null modem serial cable. I cobbled up a quick BASIC script to read data from a serial port and write it to a file, but I've discovered every file I save has an extra byte, 0x1a, at the end.

            It seems to be caused by the CLOSE statement, as even OPENing and CLOSEing a file without writing anything results in a one-byte file.

            I don't want a SUB character at the end of my files, especially binary ones! Is there an alternate way of writing files that prevents this behavior?

            (Using the excellent "PC-BASIC" in a Lubuntu VM for demonstration, but this seems to be a "thing" in all variants of BASIC)

            ...

            ANSWER

            Answered 2018-Nov-06 at 07:05

            Function to write a string to a data output file without trailing eof char:

            Source https://stackoverflow.com/questions/52881326

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install pcbasic

            No Installation instructions are available at this moment for pcbasic.Refer to component home page for details.

            Support

            For feature suggestions, bugs create an issue on GitHub
            If you have any questions vist the community on GitHub, Stack Overflow.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • sshUrl

            git@github.com:robhagemans/pcbasic.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link