DinoM Report post Posted 12/08/2004 09:17 AM Dear All, Whats the different between goto & gosub.? From the VG Help. It look like their function are the same. Could someone give me a example on use these modules ? Thanks, DinoM Share this post Link to post
SupportTeam Report post Posted 12/08/2004 09:47 AM a 'goto' results in a jump to a new script|module a 'gosub' is a 'subscript' call - and then you can call 'return' within the called subscript to return back to the calling script - or to the module specified as the 'return to' module when 'gosub' was invoked. The various goto/gosub/return paths are briefly demonstrated in the sample scripts in VoiceGuide's \scripts\more sample scripts\paths directory. Share this post Link to post