|
-
Mar 26th, 2005, 01:00 AM
#6
Thread Starter
Admodistrator
Re: Calculator help:
Option Explicit
Dim x As Integer, y As String, z As Integer, zz As Integer
Private Sub Cmd_Click(Index As Integer)
x = Calc.Caption
y = Cmd(Index).Caption
End Sub
Private Sub Command1_Click(Index As Integer)
Calc.Caption = Command1(Index).Caption
If Len(x) > 0 Then
z = x & y & Val(Calc.Caption)
Calc.Caption = z
End If
End Sub
please insert as you would
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|