Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / [LOCKED] [DBC] Subroutine to function

Author
Message
The Wizard of Aus
17
Years of Service
User Offline
Joined: 14th Sep 2007
Location: The Land Down Under, AUSTRALIA
Posted: 23rd Sep 2007 05:42
This is from TDK_Man's tutorials on how to get a sub-string from a string



I currently use this as a subroutine. How can I change it to use as a function and how would I call it?

Thanks

The Wizard

The simplest way to learn speed reading is to get an unexpected letter from the taxation office
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 6th Oct 2007 22:32
Please look at the board you are on before hitting the Post Message button.

This is the Dark Basic Classic board, so there's no need to put [DBC] at the start of the topic line each time.

Quote from forum main page:

"DarkBASIC Discussion
This is for all things relating to DarkBASIC Classic."


Another of your posts is a code snippet and should be in... you guessed it - Code Snippets (where [DBC] should be added).

I'll move it to the correct location this time, but please post in the correct place from now on as moving threads is a real pain for us...

TDK_Man

Login to post a reply

Server time is: 2025-05-31 21:13:32
Your offset time is: 2025-05-31 21:13:32