Login Register


Functions. filter_list
Author
Message
Functions. #1
i dont get how to add functions for making ie: a logger/crypter

if anyone could help a noob out i'd greatly appreciate it =]

Reply

RE: Functions. #2
functions? you mean making a stub and builder or making a keylogger?
Pierce the life fibers with your drill.

Reply

RE: Functions. #3
Functions and Subroutines (Subs) are both Procedures.

Difference:
  1. Functions Return a value, whereas Subs do not.
  2. Subs can be Handled, whereas Functions cannot.

Example of a Function:

Code:
Private Function AddFunction(ByVal FirstNum As Integer, ByVal SecondNum As Integer) As Integer Dim VarRtn As Integer = 0 VarRtn = FirstNum + SecondNum Return VarRtn End Function

Usage of this Function:
Code:
TextBox1.Text = AddFunction(2, 4)



Example of a Sub:

Code:
Private Sub AddSub(ByVal FirstNum As Integer, ByVal SecondNum As Integer, ByVal TextResult As TextBox) Dim VarRtn As Integer = 0 VarRtn = FirstNum + SecondNum TextResult.Text = VarRtn End Sub

Usage of this Sub:
Code:
AddSub(2, 4, TextBox1)
[Image: rytwG00.png]
Redcat Revolution!

Reply

RE: Functions. #4
wow thanks Biggrin

just found a whole new universe Tongue
Staff will never ever ask you for your personal information.
We know everything about you anyway.

Reply

RE: Functions. #5
@1234 like, in a crypter u would need a function for rc4 encryption yeah?

i just dont know where abouts in my code to add the function, or how to add it

Reply

RE: Functions. #6
(01-22-2011, 08:50 PM)D1G1T4LM4N_616 Wrote: @1234 like, in a crypter u would need a function for rc4 encryption yeah?

i just dont know where abouts in my code to add the function, or how to add it

It's not a puzzle game ok?
If you want to learn programming you will have to learn programming, practice and of course, read others' post when they answer your question in a thread.
[Image: rytwG00.png]
Redcat Revolution!

Reply







Users browsing this thread: 1 Guest(s)