Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

QBasic 1.1 and interupts

brisraybrisray Member Posts: 60
Hi,

I write the pages at http://members.lycos.co.uk/brisray/qbasic/qind.htm

If there is anyone to who is willing to explain how to use interupts in QBasic 1.1 to me can they please email me.

I'm particularly interested in mouse and file routines.

I'm also interested to know if there is a way of getting file lists into a file or variable. FILES just puts the list onto the screen.

Ray


Comments

  • KDivad LeahcimKDivad Leahcim Member Posts: 3,948
    : I'm also interested to know if there is a way of getting file lists into a file or variable. FILES just puts the list onto the screen.
    :

    Shell "dir *.* > files.lst"

    Use whatever dir parameters you want, just make sure you end with space > space filename. That reroutes screen output to a file. Next, open that file and read it however you like.
  • brisraybrisray Member Posts: 60
    : Shell "dir *.* > files.lst"

    duh, thanks for reminding me of this command, I guess I must be going senile in my old age.

    Ray
  • Chris BrownChris Brown USAMember Posts: 4,624 ✭✭

    ___ [ http://forcoder.org ] free video tutorials and ebooks about | Objective-C MATLAB Ruby Java Visual Basic Python PL/SQL R Perl Swift C++ JavaScript Delphi Assembly C C# Scratch PHP Visual Basic .NET Go ML Apex Bash COBOL Alice Julia Transact-SQL F# VBScript Scheme ABAP Clojure SAS FoxPro Scala Hack Lisp Kotlin Erlang Logo Dart Lua Crystal Fortran D LabVIEW Awk Ada Prolog Rust | ________

Sign In or Register to comment.