Forum Discussion

kimmatsumoto's avatar
kimmatsumoto
Contributor
3 years ago

VBScript forward directive

I used the "forward" directive when writing Delphi scripts but I haven't been able to find the equivalent syntax in VBScript. Thank you in advance for all replies.
  • AlexKaras's avatar
    3 years ago

    Hi,

     

    VBScript does not have such directive because it does not provide a requirement that the function must be declared before the use.
    So feel free to create functions/subroutines in VBScript at whatever location within code unit that is most convenient for you.