Search found 3 matches

by laszlo
04 June 2009, 6:12 AM
Forum: ZBasic Language
Topic: Sub return
Replies: 4
Views: 4358

Thank you for the comprehensive explanation. I found a way to work around it, by modifying an array defined outside the subroutine instead of trying to return it. Thanks for your time!
by laszlo
02 June 2009, 6:43 AM
Forum: ZBasic Language
Topic: Sub return
Replies: 4
Views: 4358

Thanks a lot for the quick reply! I'll try to work around the problem.
by laszlo
02 June 2009, 5:49 AM
Forum: ZBasic Language
Topic: Sub return
Replies: 4
Views: 4358

Sub return

Hello! I'm new to ZBasic and I stumbled into some difficulties. How do I make my subs return a value? Can I return an array? I tried with the command return (as in java), but got error. This is what I'd like: Dim a(1 to 5) as Bit Dim b(1 to 5) as Bit Dim c(1 t...