English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 06 June 2017, 08:05   #1
fstltna
Indie Game Dev
 
fstltna's Avatar
 
Join Date: May 2017
Location: South San Francisco, US
Age: 56
Posts: 227
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, 18:45   #2
fstltna
Indie Game Dev
 
fstltna's Avatar
 
Join Date: May 2017
Location: South San Francisco, US
Age: 56
Posts: 227
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  
Old 10 March 2023, 19:18   #3
redblade
Zone Friend
 
redblade's Avatar
 
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
Are these the tutorials from amr.abime.net?
redblade 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 20:23
decompression routines Toni Wilen Coders. General 12 17 May 2017 00:30
CanDo v3.0 otro request.Apps 29 24 July 2014 17:05
Looking for manuals for Scala IC400 and CanDO. mugo request.Apps 5 09 November 2010 15:42
Checksum routines in games Joejoe Coders. Tutorials 11 26 December 2009 20: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 12:15.

Top

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