Announcement

Collapse
No announcement yet.

Using .BIN by $INLINE

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

    Using .BIN by $INLINE

    I am working on an old program written in TurboBasic and
    older versions of PowerBasic.
    I now have PowerBasic 3.5 and have the problem that there are
    passages:
    $INLINE "filename.BIN"

    I have those .BIN files, but I have the problem that
    PowerBasic3.5 does not support $INLINE followed by a filename.
    I don't have a source of those .BINs.
    Is there a way to bring these files in my program?

    I don't have an older version of the compiler.

    Thanx

    ------------------

    #2
    $INLINE "file.com" is supported by PB/DOS 3.5, but that metastatement must be used within a SUB INLINE block. Please refer to Page 269 in the Reference Guide.

    Also, there is a utility called INLN2ASM.EXE in the \PB35 directory - that may help you convert your inline code.



    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>
    Lance
    mailto:[email protected]

    Comment


      #3
      I already tried this, but the files I have are .bin files and no .com.
      Because of that I had no luck doing it.

      ------------------

      Comment


        #4
        In this instance, the file extension is probably arbitrary. Try changing it.

        ------------------
        Tom Hanlin
        PowerBASIC Staff

        Comment

        Working...
        X
        😀
        🥰
        🤢
        😎
        😡
        👍
        👎