Class StringSourceProvider

    • Constructor Detail

      • StringSourceProvider

        public StringSourceProvider()
    • Method Detail

      • addSource

        public void addSource​(java.lang.String fileName,
                              java.lang.String sourceCode)
        Add a new source to the set of available sources.
        Parameters:
        fileName - the name of the source. This name can be used in include statements in other BASIC sources and also this can be used to get the reader from the provider.
        sourceCode - The actual code of the source program.