Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

BASIC is the mother of all languages!

Name: Anonymous 2011-10-27 22:15


Function Operator_Add (rhs As Single) As Complex
  Dim ret As New Complex
  ret.Real = Self.Real + rhs
  ret.Imaginary = Self.Imaginary
  Return ret
End Function
 
Function Operator_Add (rhs As Complex) As Complex
  Dim ret As New Complex
  ret.Real = Self.Real + rhs.Real
  ret.Imaginary = Self.Imaginary + rhs.Imaginary
  Return ret
End Function

Name: Anonymous 2011-10-27 22:24

Self?

Name: Anonymous 2011-10-27 23:00

>>2
fuck you

Name: Anonymous 2011-10-27 23:03

>>3
I'm just asking how it manages to understand symbol Self. Or is this code supposed to go into a class?

Name: Java 2011-10-27 23:32

Java

       char[] BMPheader = new char[54];
       BMPheader[0] = (char)((byte)0x42); BMPheader[1] = (char)((byte)0x4D);
       BMPheader[2] = (char)((byte)0x42); BMPheader[3] = (char)((byte)0x04);

       BMPheader[4] = (char)((byte)0x00); BMPheader[5] = (char)((byte)0x00);
       BMPheader[6] = (char)((byte)0x00); BMPheader[7] = (char)((byte)0x00);

       BMPheader[8] = (char)((byte)0x00); BMPheader[9] = (char)((byte)0x00);
       BMPheader[10] = (char)((byte)0x36); BMPheader[11] = (char)((byte)0x04);

       BMPheader[12] = (char)((byte)0x00); BMPheader[13] = (char)((byte)0x00);
       BMPheader[14] = (char)((byte)0x28); BMPheader[15] = (char)((byte)0x00);

       BMPheader[16] = (char)((byte)0x00); BMPheader[17] = (char)((byte)0x00);
       BMPheader[18] = w2; BMPheader[19] = w1;

       BMPheader[20] = (char)((byte)0x00); BMPheader[21] = (char)((byte)0x00);
       BMPheader[22] = h2; BMPheader[23] = h1;

       BMPheader[24] = (char)((byte)0x00); BMPheader[25] = (char)((byte)0x00);
       BMPheader[26] = (char)((byte)0x01); BMPheader[27] = (char)((byte)0x00);

       BMPheader[28] = (char)((byte)0x08); BMPheader[29] = (char)((byte)0x00);
       BMPheader[30] = (char)((byte)0x00); BMPheader[31] = (char)((byte)0x00);

       BMPheader[32] = (char)((byte)0x00); BMPheader[33] = (char)((byte)0x00);
       BMPheader[34] = (char)((byte)0x0C); BMPheader[35] = (char)((byte)0x00);

       BMPheader[36] = (char)((byte)0x00); BMPheader[37] = (char)((byte)0x00);
       BMPheader[38] = (char)((byte)0xD4); BMPheader[39] = (char)((byte)0x0E);

       BMPheader[40] = (char)((byte)0x00); BMPheader[41] = (char)((byte)0x00);
       BMPheader[42] = (char)((byte)0x00); BMPheader[43] = (char)((byte)0x01);

       BMPheader[44] = (char)((byte)0x00); BMPheader[45] = (char)((byte)0x00);
       BMPheader[46] = (char)((byte)0x00); BMPheader[47] = (char)((byte)0x01);

       BMPheader[48] = (char)((byte)0x00); BMPheader[49] = (char)((byte)0x00);
       BMPheader[50] = (char)((byte)0x00); BMPheader[51] = (char)((byte)0x01);

       BMPheader[52] = (char)((byte)0x00); BMPheader[53] = (char)((byte)0x00);

Name: Anonymous 2011-10-27 23:41

>>5
oh fuck off

Name: Anonymous 2011-10-28 1:48

>>8
oh fuck me

Name: Leah Culver 2011-10-28 2:31

>>7
With pleasure. ( ≖‿≖)

Name: Anonymous 2011-10-28 3:15

>>8
Chill down, he's gay.

Name: Anonymous 2011-10-28 13:35

VB has its place.  It's intended for non-professional programmers and hobbyist programmers who need this sort of intuitive, english-based syntax. 

>Worked on the VB compiler team for a short time

Name: Anonymous 2011-10-28 15:17

I respectfully disagree, for you see, DUBS. CHECK 'EM MOTHERFUCKERS! DUBS!.

Name: Anonymous 2011-10-28 16:10

>>11
I fail to see your DUBS, motherfucker, mostly because I want to deny you the satisfaction.
I'mma mean Grichy Fucker like that.

Don't change these.
Name: Email:
Entire Thread Thread List