Analysis and Experiment of dosbox + QBASIC array Problems

Source: Internet
Author: User
Tags clear screen

Dim H (3)

H (0) = 9
CLS

Print H (0)

 

 

This andC LanguageIt is completely different and accurate to be called the basic language family.

CLS clear screen

Create a one-dimensional three-element array

Array assignment

Display Array Element Information

End commandProgramEnd

Haha little genius has grown up

Dosbox can better simulate sound card Animation

 

CLS

If 8 <5 then
CLS

Print "Go go"
End if

 

The first implementation of the qBASIC judgment statement... It is an end if statement instead of an ENDF exercise.

 

 

CLS
Dim P
P = 0

Def FNS (p) = 266
P = FNS (8)

Print P

 

This is actually fiveArticleCsdn's posting system and network speed problems are bundled for the first time. QBASIC's custom program is a modular exploration.

Def function name (form parameter) = return value

If the main function is not used, it will not be executed in the CPU.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.