Well, we have learnt that function always returns a value. So, always followed that. But, i am quite confuse how the following code works:
DECLARE FUNCTION Hello()
PRINT Hello
END
FUNCTION Hello()
PRINT "Hi, This is Suraj"
END FUNCTION
This results:
Hi, This is Suraj
0
Appreciate, your help.
Search found 1 match
- Mon Nov 23, 2020 12:32 pm
- Forum: QBasic / QuickBasic related
- Topic: Qbasic function procedure
- Replies: 1
- Views: 418