Visual Programming


Drag Drop Ex. 2 - Saving Data to a File

This exercise is to help you learn how to code. It is about saving data to file.
You should have completed the File Handling tutorial first.


Instructions

Each grey box on the left shows some data that has been saved to a file.

Match the file data in each grey box with the code in the blue boxes by dragging them across.

Then press the "Submit" button to check your answer.


Dim myName As String

Dim pcNum As String, ID As String

Write #1,myName, ID, pcNum

Dim myName As String

Dim pcNum As String, ID As Long

Write #1,myName, ID, pcNum

Dim myName As String

Dim pcNum As Integer, ID As Long

Write #1, ID, myName, pcNum

 

 

   

  Unit Information

Assessment

Syllabus

Scheme of Work

Notes &Tutorials

Assignments

Quizzes

Books & Things

Links

ADR 2002