Recursion: 4 ways to get it working - Printable Version +- QB64 Phoenix Edition (https://staging.qb64phoenix.com) +-- Forum: QB64 Rising (https://staging.qb64phoenix.com/forumdisplay.php?fid=1) +--- Forum: Code and Stuff (https://staging.qb64phoenix.com/forumdisplay.php?fid=3) +---- Forum: Help Me! (https://staging.qb64phoenix.com/forumdisplay.php?fid=10) +---- Thread: Recursion: 4 ways to get it working (/showthread.php?tid=1473) Pages:
1
2
|
RE: Recursion: 4 ways to get it working - Ikerkaz - 02-17-2023 In order to talk about recursion, first you have to talk about recursion RE: Recursion: 4 ways to get it working - bplus - 02-17-2023 @TempodiBasic "Chess Pattern" Looks good! RE: Recursion: 4 ways to get it working - bplus - 02-17-2023 (02-17-2023, 12:10 PM)Ikerkaz Wrote: In order to talk about recursion, first you have to talk about recursion Then you have to know when to quit! RE: Recursion: 4 ways to get it working - bplus - 02-17-2023 Here is a Checkerboard fresh from my brain and QB64 IDE: Code: (Select All) _Title "Checkerboard by recursion" ' b+ 2023-02-17 RE: Recursion: 4 ways to get it working - dcromley - 02-17-2023 Nice patterns. Nice checkerboard. Amazing what can be done in a few lines of code. I like this -- having the program show what's going on with recursion: Code: (Select All) _Title "Recursion Demo" ' dcromley RE: Recursion: 4 ways to get it working - TempodiBasic - 02-18-2023 @Bplus Yes the old color scheme is very fashinating and so the the yellow border! Here a screeenshot of our different chessboard @dcromley nice output about timing of phases of recursion RE: Recursion: 4 ways to get it working - TempodiBasic - 02-18-2023 here another simple example of recursion in tail for draw a circle Code: (Select All) _Title "Circle by recursion demo" |