English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 06 June 2017, 09:05   #1
fstltna
Indie Game Dev

fstltna's Avatar
 
Join Date: May 2017
Location: South San Francisco, US
Age: 51
Posts: 212
Send a message via AIM to fstltna Send a message via Yahoo to fstltna
Help with CanDo routines

I'm using CanDo 3.0 and its just like i remember. But I can't remember how to return values from routines. For example:
Code:
Let X=RandomX
Where RandomX is my routine.
Any answers?
Also, my tutorial is for CanDo 1.x/2.x - is there one for the 3.0 version?

Thx!
fstltna is offline  
Old 06 June 2017, 19:45   #2
fstltna
Indie Game Dev

fstltna's Avatar
 
Join Date: May 2017
Location: South San Francisco, US
Age: 51
Posts: 212
Send a message via AIM to fstltna Send a message via Yahoo to fstltna
I still need the tutorial if anyone has it, but found the answer to my question myself.

At the end of your routine you put:
Code:
ExitScript <Return value>
Then you call the routine like this:
Code:
Return = Do "myroutine"
FYI....
fstltna is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for CANDO... astuermer support.Apps 3 09 November 2018 21:23
decompression routines Toni Wilen Coders. General 12 17 May 2017 01:30
CanDo v3.0 otro request.Apps 29 24 July 2014 18:05
Looking for manuals for Scala IC400 and CanDO. mugo request.Apps 5 09 November 2010 16:42
Checksum routines in games Joejoe Coders. Tutorials 11 26 December 2009 21:24

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 15:20.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.05778 seconds with 13 queries