Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Subroutine

Script

Write [#]filenumber [expressionlist]

Description

Writes a list of expressions to a given sequential file.

Example

Write 10 records into the file and close the file after output the contents.

Sub Write_test()

 Open "test.dat" For Output Access Write As #1

 For X = 1 To 10

 R% = X * 10

 Write #1, X, R%

 Next X

 Close

 Open "test.dat" For Input Access Read As #1

 For X = 1 To 10

 Input #1, A%,B%

 temp = temp & "Record " & A% & ":" & B% & Basic.Eoln$

 Next X

 MsgBox temp

 Close

End Sub

Function

Script

LogIn

Description

Pops up the login window.

Example

Sub Func1()

LogIn

End Sub

Function

Script

LogOut

Description

Logs out currently logged-in user.

Example

Sub Func1()

LogOut

End Sub

Function

Script

LogInEx(“UserID”, “Password”)

Description

Logs in with the “User ID” and the “Password” passed as parameters.

Example

Sub Func1()

LogInEx(“user1”, “1234”)

End Sub