so
I'm trying to make a simple programing language
Page 1 of 19 Replies - 882 Views - Last Post: 22 September 2011 - 03:01 PM
#1
I'm trying to make a simple programing language
Posted 27 August 2011 - 07:45 PM
so
Replies To: I'm trying to make a simple programing language
#2
Re: I'm trying to make a simple programing language
Posted 27 August 2011 - 07:47 PM
#3
Re: I'm trying to make a simple programing language
Posted 28 August 2011 - 08:13 AM
#4
Re: I'm trying to make a simple programing language
Posted 28 August 2011 - 08:48 AM
Laycay27, on 28 August 2011 - 08:13 AM, said:
Here is the .FromString/text-to-integer:(I'm still working on it so theres glitches)
Dim txt1 As Integer
Private Sub TextBox1_Keyup(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.KeyUp
If TextBox1.Text <> "" Then
If txt1.ToString <> TextBox1.Text Then
Do While txt1 < 100 And txt1.ToString <> TextBox1.Text
txt1 = txt1 + 1
Label1.Text = txt1.ToString
Loop
If txt1.ToString <> TextBox1.Text Then
Do While txt1 > 0 And txt1.ToString <> TextBox1.Text
txt1 = txt1 - 1
Label1.Text = txt1.ToString
Loop
If txt1.ToString <> TextBox1.Text Then
MsgBox("Error")
End If
Label1.Text = txt1.ToString
End If
End If
End If
Label1.Text = txt1.ToString
End Sub
I couldn't get the only number keys thing to work so if you press a letter MsgBox("Error") appears. It works otherwise.
#5
Re: I'm trying to make a simple programing language
Posted 29 August 2011 - 08:09 PM
Laycay27, on 28 August 2011 - 08:13 AM, said:
I've gotten a little more good at it but siriosly does anyone know how classes can comunicate?
This post has been edited by Laycay27: 29 August 2011 - 08:09 PM
#6
Re: I'm trying to make a simple programing language
Posted 30 August 2011 - 12:50 AM
1) Methods - One class calls the method on another class (passing in any input data), and the method in returns data to the calling class.
2) Events - One class raises an event (placing any data it wants to communicate in the event arguments), another subscribes to the event and handles it; accessing any event argument data it needs.
This post has been edited by CodingSup3rnatur@l-360: 30 August 2011 - 12:53 AM
#7
Re: I'm trying to make a simple programing language
Posted 31 August 2011 - 06:35 PM
#8
Re: I'm trying to make a simple programing language
Posted 11 September 2011 - 06:14 AM
#9
Re: I'm trying to make a simple programing language
Posted 12 September 2011 - 05:39 PM
(Good luck on learning assembly, its damn crazy)
Also, it's going to take years for one person to make a programming language. It would probably take a year or two to make a programming language with a whole team. It's not a simple thing, you know. It's like making your own operating system.
#10
Re: I'm trying to make a simple programing language
Posted 22 September 2011 - 03:01 PM
|
|

New Topic/Question
Reply



MultiQuote









|