kirkf
New Member
Posts: 3
|
Post by kirkf on Nov 28, 2012 15:24:01 GMT -5
Hi Everyone,
I have just recently picked up RunBasic and find it very interesting for a idea I have for a web application.
The problem I am experiencing is what I should be using a Sub or a Function and what the difference are?
Thanks,
Kirk.
|
|
|
Post by StefanPendl on Nov 28, 2012 18:16:55 GMT -5
In general they are very similar, the only difference is that a subroutine doesn't return a value, whereas a function does.
|
|
kirkf
New Member
Posts: 3
|
Post by kirkf on Nov 29, 2012 6:38:01 GMT -5
Thank you for your explaination Stefan. Can functions only return numeric values or can it return strings too?
|
|
|
Post by StefanPendl on Nov 29, 2012 19:04:33 GMT -5
|
|
kirkf
New Member
Posts: 3
|
Post by kirkf on Nov 30, 2012 3:55:06 GMT -5
This helped alot, I wasn't returning a string using the dollar sign.
Kirk.
|
|