Search found 3 matches

by skibidiQ
Thu Dec 07, 2023 8:37 am
Forum: QBasic / QuickBasic related
Topic: QBasic function with optional arguments
Replies: 3
Views: 4055

QBasic function with optional arguments

Is it possible to write a subroutine or a function with optional arguments?

for example:
MyFunct (x AS INTEGER, [y AS INTEGER, Z AS INTEGER])
so that I can use the function with only the first argument and sometimes with all arguments, in the same program, like the following for example ...
by skibidiQ
Tue Dec 05, 2023 7:33 am
Forum: QBasic / QuickBasic related
Topic: Difference between Mac and IBM QBasic
Replies: 3
Views: 3899

Re: Difference between Mac and IBM QBasic

so far I have concluded that the "WINDOW" command can either be used differently on Mac or it is just a user-defined function.. because the statement is used differently throughout the program.. for example, in the first picture in first row you can see only "WINDOW 1" and in the 6th row there is ...
by skibidiQ
Mon Dec 04, 2023 6:42 am
Forum: QBasic / QuickBasic related
Topic: Difference between Mac and IBM QBasic
Replies: 3
Views: 3899

Difference between Mac and IBM QBasic

I found this old book from the 80's and in the appendix there are some QuickBasic programs that I want to try out.. the problem is that those were written on and for Apple Macintosh II and I now use Linux PC with DosBox.. The author of the book says that there are some differences in the graphics ...