Question - Simple parameter passing

127.0.0.1

New member
Joined
Jan 7, 2011
Messages
2
Programming Experience
Beginner
I would like to label my parameters that I am passing to different subprograms like I can in Ada to make my vb.net source more readable.

Ada code:
VB.NET:
...
begin
   Create(
      File => Outfile,
      Mode => Out_File,
      Name => "output.txt"
      ...
      );
...

Current vb.net code:
VB.NET:
...
Pdf.Add_Button(
   New Structure_Button(
      Button_Up.Name,
      Button_Up.X_Size,
      Button_Up.Y_Size + Z,
      Button_Up.Font_Size,
      Button_Up.Red,
      Button_Up.Green,
      Button_Up.Blue,
      Documents(Documents(J).Included(I)).Name.Value +
         " Pg." + Documents(Documents(J).Included(I)).Page.ToString,
      Button_Up.Scan_For_Schematic
      ),
   X,
   Y,
   Documents(J).Page,
   User_Path.SelectedPath,
   Documents(Documents(J).Included(I)).Page,
   Documents(Documents(J).Included(I)).Path,
   Documents(Documents(J).Included(I)).Name.Value
   )
...
 
Back
Top