Search found 279 matches
- Nov 02, 2010 16:44
- Forum: Beginners
- Topic: SUB must be defined before main program?
- Replies: 7
- Views: 1710
You can write the functions or the functions prototype before the code, but yes, either of those must be both the function is called ie: declare function foo(bar as integer) as integer 'main code including call to foo function foo(bar as integer) as integer 'code end function or function foo(bar as ...
- Nov 02, 2010 16:40
- Forum: Beginners
- Topic: FUNCTIONS need a type to return?
- Replies: 5
- Views: 1770
There are two method types subs and functions, functions return a value, subs don't. Both accept parameters.
I don't know what you mean by default data type.
Code: Select all
declare sub MethodA(value as integer)
declare function MethodB(value as integer) as integer
- May 28, 2010 9:22
- Forum: General
- Topic: Detecting ALT Key and CAPS
- Replies: 7
- Views: 2067
- May 08, 2010 16:17
- Forum: Sources, Examples, Tips and Tricks
- Topic: Draw String Input Thing
- Replies: 15
- Views: 6332
- May 08, 2010 11:39
- Forum: Sources, Examples, Tips and Tricks
- Topic: Draw String Input Thing
- Replies: 15
- Views: 6332
- May 08, 2010 11:37
- Forum: Sources, Examples, Tips and Tricks
- Topic: Chisock demo
- Replies: 0
- Views: 1637
Chisock demo
Since chisock is missing off ch0as' servers for the moment, I've uploaded a copy to here , and here's a demo program showing how to use it, if the examples included with chisock aren't enough, it isn't written that well, as it wasn't meant for others to read, but since it might be useful here it is,...
- May 04, 2010 22:23
- Forum: Sources, Examples, Tips and Tricks
- Topic: Draw String Input Thing
- Replies: 15
- Views: 6332
- Apr 23, 2010 9:22
- Forum: Sources, Examples, Tips and Tricks
- Topic: Draw String Input Thing
- Replies: 15
- Views: 6332
- Apr 22, 2010 13:08
- Forum: Sources, Examples, Tips and Tricks
- Topic: Draw String Input Thing
- Replies: 15
- Views: 6332
- Apr 08, 2010 8:34
- Forum: Sources, Examples, Tips and Tricks
- Topic: Draw String Input Thing
- Replies: 15
- Views: 6332
- Apr 07, 2010 15:26
- Forum: Sources, Examples, Tips and Tricks
- Topic: Draw String Input Thing
- Replies: 15
- Views: 6332
- Apr 07, 2010 8:14
- Forum: Sources, Examples, Tips and Tricks
- Topic: Draw String Input Thing
- Replies: 15
- Views: 6332
- Apr 06, 2010 19:23
- Forum: Sources, Examples, Tips and Tricks
- Topic: Draw String Input Thing
- Replies: 15
- Views: 6332
Draw String Input Thing
Hey all No idea if this that useful, but here it is anyway: This 'object' uses draw string and inkey to give you a transparent input function that doesn't pause the program. If anyone tries this program you'll notice a limitation, the text box area can't go off the screen. The red line background is...
- Mar 13, 2010 12:13
- Forum: Sources, Examples, Tips and Tricks
- Topic: dynamic custom mouse cursor, using simple sprite
- Replies: 10
- Views: 3939
- Feb 14, 2010 9:44
- Forum: General
- Topic: Is this file packing method a good idea?
- Replies: 13
- Views: 4199