Structure into Delegate

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kirilogan22
    New Member
    • Aug 2007
    • 4

    Structure into Delegate

    how do i write the code to pass a structure to a delegate?

    private structure Structure StuctureName
    'variables
    end structure

    delegate function Delegator(produ cts as StructureName)

    is not working? how would iwrite it?
    thank you
  • Killer42
    Recognized Expert Expert
    • Oct 2006
    • 8429

    #2
    I have no idea what a delegate is, but have you considered using a Public rather than Private Type?

    Comment

    • kirilogan22
      New Member
      • Aug 2007
      • 4

      #3
      nevermind structures have to be public

      Comment

      • Killer42
        Recognized Expert Expert
        • Oct 2006
        • 8429

        #4
        Originally posted by kirilogan22
        nevermind structures have to be public
        Hahaha... That's hilarious!

        I'll go back and un-delete my earlier post. Straight after posting it, I deleted it because I realised that I didn't know anything about the subject and would probably just muddy the waters. Have a look, I think you'll be amused at what it says.

        Comment

        Working...