This Question is Answered 

    Can You Give A Detailed Explanation Of The Terms DIM And END As Used In BASIC?

    asked 2 years ago

    Can't find what you're looking for?

    Ask a Question, Get an Answer ASAP


    Answers


    DIM means DIMENSION
    whenever you used it as

    Dim i as Integer

    you declare the 'i' as an integer type variable.
    Dim used in format:

    DIM [as ]

    when you omit "as Integer" on the example above, you declare that variable as a VARIANT... meaning it can accept any data type

    Another thing is the scope where you declare a variable using Dim:

    -when you declare it inside any Procedure or Function, that variable can only be used inside that Procedure or Function
    -when you declare it on the "General", it is known in the entire form
    -when you declare it on the "General" of a Module, it is known in the entire Project.

    If you have an MSDN, you can see there the complete details.


    END commands the program to terminate itself. Whenever the program encounters an End command, it stops and closes the program.

    hope this helps! Ü

    answered 2 years ago   

    New Comment

    1000 words left


      What is Blurtit ?

      Ask questions on any topic, get great answers from real people for FREE. Blurtit has hundreds of thousand of members so your sure to get the answer your looking for.

      Ask a Question.